Berildocs GitHub

References

GhidRust and the Ghidra plugin ecosystem

Two projects share a similar name. They are different tools.

ProjectWhat it isStatus
DMaroo/GhidRustA Ghidra extension for Rust binaries. Rust detection, a libstd FunctionID database, and an experimental C-to-Rust decompiler view.Development paused, partially usable
oofz/GhidrustA separate Rust-native RE platform with a CLI, MCP server and GUI. Not a Ghidra plugin.Active

Do not confuse them in a report. GhidRust extends Ghidra. Ghidrust replaces the workflow around it.

DMaroo/GhidRust#

Repo: https://github.com/DMaroo/GhidRust
License: MIT
Language: Java
Stars: 391 at collection time

GhidRust was a course project. It adds:

  • GhidRust -> Check if Rust binary, a heuristic Rust detector.
  • RustStdAnalyzer, which applies FunctionID signatures from a bundled libstd.fidb for x86-64 and Rust 1.58.1.
  • GhidRust -> Open decompiler, a panel that parses Ghidra's C output and tries to emit Rust. It is flaky.

The README is explicit: Ghidra upstream Rust support has improved past the plugin. Use GhidRust for the FunctionID database on old stripped Rust samples, and for the Rust view when it helps. Do not expect the Rust output to compile.

Build and install#

Needs JDK 21 or newer, Gradle, and a matching Ghidra install. The build script calls gradle -PGHIDRA_INSTALL_DIR=....

git clone https://github.com/DMaroo/GhidRust
cd GhidRust
./build.sh -g /path/to/ghidra          # build only
./build.sh -ig /path/to/ghidra         # build and install

Then in Ghidra:

  1. File -> Install Extensions...
  2. Select GhidRust.
  3. Restart.
  4. File -> Configure -> Miscellaneous, enable RustDecPlugin.

When to use it#

  • A stripped Rust binary on an older Ghidra where upstream detection is weak.
  • You need a known libstd function match to label a call site.
  • You want a second view of a small function and can verify the Rust by hand.

When to skip it#

  • Ghidra already identifies the binary as Rust and names std functions.
  • The binary uses a Rust version far from 1.58.1.
  • The Rust output would need a rewrite anyway.

Pitfalls#

  • The FunctionID database is version-specific. A mismatch gives wrong or missing names.
  • The C-to-Rust transpiler is pattern-based. It loses types, lifetimes, and macro structure.
  • The plugin is unmaintained. Check it against your Ghidra version before a long session.
  • Extensions are code. Read the source before installing into a trusted project.

oofz/Ghidrust#

Repo: https://github.com/oofz/Ghidrust
License: Apache-2.0
Language: Rust
Stars: 34 at collection time

A separate Rust-native platform. It loads PE/ELF, runs analyzers, decompiles, exposes an MCP server, and has a GUI. The README claims a Ghidra-shaped workflow without the JVM, plus IL2CPP and a network plane. Treat the performance claims as targets, not guarantees.

git clone https://github.com/oofz/Ghidrust
cd Ghidrust
cargo build --workspace --release
./target/release/ghidrust help

Use it when an agent needs a headless decompiler with a JSON or MCP surface and Ghidra is too heavy. Verify output on a known binary before trusting a finding.

Plugin safety#

Ghidra plugins run with your user rights and can read the project and the filesystem.

  1. Prefer a release over a random build.
  2. Check the last commit and the Ghidra version in extension.properties.
  3. Read build.gradle and any install script.
  4. Install into a test Ghidra, not the only one.
  5. Keep plugins out of a malware analysis VM unless you need them.

Install patterns#

Most plugins use one of these. A missing release means building from source.

# release zip
File -> Install Extensions -> green plus -> select zip -> restart

# Gradle
GHIDRA_INSTALL_DIR=/path/to/ghidra gradle

# script only
copy .py into <Ghidra>/Ghidra/Features/Base/ghidra_scripts
Script Manager -> refresh

High-signal plugins#

PluginStarsUse
bethington/ghidra-mcp6322200+ MCP tools for agent-driven RE
symgraph/GhidrAssistMCP819Native MCP server extension
symgraph/GhidrAssist783LLM assistant inside Ghidra
weirdmachine64/GhidraGPT847LLM prompt/explain integration
ghidraninja/ghidra_scripts1186Broad script collection
HackOvert/GhidraSnippets895Program and decompiler API snippets
mandiant/Ghidrathon793Python 3 scripting in Ghidra
justfoxing/ghidra_bridge364Python bridge for external tooling
google/binexport1215BinExport for BinDiff
clearbluejar/ghidriff824Headless patch diffing
binsync/binsync764Collaborative reversing over git
bootleg/ret-sync2416Debugger and disassembler sync
KeenSecurityLab/BinAbsInspector1685Binary vulnerability scanner
fkie-cad/cwe_checker1363CWE pattern checks on binaries
trailofbits/BTIGhidra179Binary type inference
astrelsky/Ghidra-Cpp-Class-Analyzer651C++ RTTI and class recovery
Nalen98/AngryGhidra624angr inside Ghidra
Nalen98/GhidraEmu309Native pcode emulator
d3v1l401/FindCrypt-Ghidra554Crypto constant scan
TorgoTorgo/ghidra-findcrypt303Crypto constant scan
nccgroup/Cartographer390Code coverage exploration
0ffffffffh/dragondance300Coverage visualizer
ubfx/BinDiffHelper299BinDiff integration
evilpan/jni_helper674JNI signature recovery
felberj/gotools345Go binary assistance
nccgroup/ghostrings141Go string recovery
Washi1337/ghidra-nativeaot297.NET Native AOT analysis
battelle/cantordust422Binary diffing and visualization
airbus-cert/Yagi510IDA and Ghidra bridge
Comsecuris/gdbghidra326GDB visual bridge
diommsantos/Gx64Sync132Ghidra and x64dbg sync
schlafwandler/ghidra_SavePatch230Save patches back to the file
cesena/ghidra2dwarf230Export decompiled code as DWARF
clearbluejar/ghidrecomp161Headless decompiler CLI
akiselev/ghidra-cli268Headless automation CLI
hyuunnn/Hyara251YARA rule authoring

Loaders for retro and embedded targets are in the plugin index: Switch, PSX, PS4, Vita, GameCube, N64, XBE, GBA, NES, SNES, Game Boy, Sega, Saturn, Amiga, WebAssembly, nanoMIPS, Hexagon, vmlinux, and device trees.

A safe session#

  1. Snapshot the project.
  2. Install into a test Ghidra.
  3. Load a small known binary.
  4. Check that the plugin menu appears and analysis still finishes.
  5. Read the plugin's README for known Ghidra versions.
  6. Keep the plugin list in the report if a finding depends on it.

A plugin result is a lead until the disassembly confirms it.