reverser-ghidra
Deep binary analysis via Ghidra — headless analyzeHeadless or live MCP bridge with 245 tools. Decompilation, xrefs, function listing, batch operations, P-code emulation, convention enforcement.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-22
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- reverser-ghidra
- metadata
- { "subdomain": "reverse-engineering", "when_to_use": "ghidra deep binary analysis headless analyzeHeadless mcp bridge decompile xref function listing p-code", "upstream_ref": "NSA Ghidra reverse-engineering suite + Decepticon ghidra-mcp bridge (245 tools)" }
- description
- Deep binary analysis via Ghidra — headless analyzeHeadless or live MCP bridge with 245 tools. Decompilation, xrefs, function listing, batch operations, P-code emulation, convention enforcement.
03 SKILL.md 正文
Ghidra Deep Analysis
Ghidra is the primary reverse engineering backend. Two modes:
- MCP bridge (preferred) — 245 tools via HTTP at
$GHIDRA_MCP_URL - Headless (fallback) —
analyzeHeadless+ postScript for JSON output
Prerequisites
ghidra_status()
Check if Ghidra headless and/or MCP bridge are available.
1. Full Analysis
ghidra_analyze(binary="/workspace/target.exe")
Returns: functions (up to 500), imports, exports, language, image base. Auto-selects MCP if running, headless otherwise.
2. Decompile a Function
ghidra_decompile(binary="/workspace/target.exe", function="main")
ghidra_decompile(binary="/workspace/target.exe", function="0x401000")
Accepts symbol name or hex address. Returns C pseudocode.
3. Cross-References (MCP)
ghidra_xrefs(binary="/workspace/target.exe", address="0x401000")
Returns up to 200 xrefs with source function context.
4. Fallback: Script Generation
If headless/MCP are unavailable, generate a recon script and run via bash:
bin_ghidra_script(binary="/workspace/target.exe")
MCP Bridge — Full 245-Tool Coverage
When the Ghidra MCP bridge is running, the reverser also has access to the complete bethington/ghidra-mcp tool surface via bash + curl:
- Function analysis — decompilation, call graphs, completeness scoring
- Data flow — PCode-graph value propagation (forward / backward)
- Structure discovery — struct/union/enum creation, field analysis
- String extraction — regex search, quality filtering
- Import/export analysis — symbol tables, ordinal resolution
- Memory inspection — raw reads, byte pattern search
- Cross-binary documentation — SHA-256 function hash matching
- P-code emulation — run functions in isolation, brute-force API hashes
- Batch operations — bulk rename, comment, type (93% fewer API calls)
- Script management — create, run, update Ghidra scripts via MCP
- Convention enforcement — auto-fix naming, type safety, documentation
Workflow
ghidra_status()→ check availabilityghidra_analyze()→ full triage- Pick interesting functions →
ghidra_decompile()each - For xref hunting →
ghidra_xrefs()on dangerous imports - Record all findings in the knowledge graph
04 同仓库更多 Skills
wps-pixie-dust
WPS Pixie-Dust offline nonce attack (reaver -K / pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.
wpa3-sae
WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.
wpa2-psk
WPA/WPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer/SMB encryption mode in 2026.
wpa-enterprise-eap
WPA/WPA2/WPA3-Enterprise (802.1X/EAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.
krack-fragattacks
KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation/aggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.
evil-twin-karma
Evil-twin rogue AP with KARMA/Mana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK/open networks. Distinct from wpa-enterprise-eap which targets 802.1X.