Skip to content
Back to skills

Ghidra Reverse

ASecurity

Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.

  • 15 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
toolspythongojavabashapi

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add youlianvr/oper-share --skill ghidra-reverse --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ghidra Reverse?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ghidra Reverse
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/youlianvr-ghidra-reverse/badge)](https://www.skillsdirectory.com/skills/youlianvr-ghidra-reverse)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ghidra-reverse
description: Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.
---

# Ghidra Reverse Engineering

## Authorization preamble

1. Confirm Ghidra is the right tool (no IDA license / open-source preference / batch headless).
2. Look up ghidra / ghidra-mcp paths; if missing, install per the manual steps.
3. Order: import sample → auto-analysis → export key function decompilations.

## Scope

- Primary RE entry when no IDA license
- Batch headless analysis / decompilation in CI
- Ghidra scripts (Java / Python Jython / PyGhidra) automation
- ghidriff pairing with binary-diff / patch-diff workflows

## Division of labor with IDA

| Need | Prefer |
|------|--------|
| Existing IDA MCP deep-dive | `ida-reverse/` |
| Open source / batch / teaching | **this skill** |
| CLI-only quick recon | `radare2/` |

## Workflow

### 1. Project and auto-analysis

```text
□ New Project → Import file → Analyze (default analyzers)
□ Record language/compiler identification and base address
□ Mark entry points, export tables, string xrefs
```

### 2. Key functions

```text
□ Work backwards from strings / imported APIs
□ Decompile window → recover algorithms
□ Rename functions/variables; write plate comments
□ When dynamic work is needed, hand off to Frida/GDB (reverse-engineering dynamic chapter)
```

### 3. Headless (batch)

```bash
# analyzeHeadless path varies by install — verify before use
analyzeHeadless /path/to/project Proj -import sample.bin -postScript ExportDecomp.py
```

### 4. MCP (if configured)

```text
□ Confirm the ghidra MCP port (commonly 8765) — never guess
□ Use MCP tools to pull decompilation / xrefs
```

## Toolchain

| Tool | Purpose | Bootstrap |
|------|---------|-----------|
| Ghidra | main decompiler | manual release / package manager |
| ghidra-mcp | AI bridge | bootstrap capability name `ghidra-mcp` |
| ghidriff | patch diffing | see `patch-diff-exploit` |

## References

- `references/ghidra-cheatsheet.md`
- `reverse-engineering/parts/ida-reverse/` `reverse-engineering/parts/radare2/` `reverse-engineering/parts/binary-diff/`

## Completion self-check

- [ ] Real Ghidra/tool paths used?
- [ ] Function addresses and renames annotated?
- [ ] Reproducible steps present?
- [ ] Checklist / journal written?

Files in this skill

  • SKILL.md2.4 KB
  • references/ghidra-cheatsheet.md353 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.