Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.
59
68%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/ghidra-reverse/SKILL.mdNOW: 读取 ../field-journal/precedent-reverse.mdNOW: 确认需要 Ghidra(无 IDA / 偏好开源 / 批量 headless)NEXT: 读 ../tool-index.md 查 ghidra / ghidra-mcp 路径NEXT: 缺工具 → bootstrap ghidra-mcp(若 manifest 支持)或按手动步骤装 GhidraACT: 导入样本 → 自动分析 → 导出关键函数反编译binary-diff / patch-diff-exploit 的 ghidriff 联动| 需求 | 优先 |
|---|---|
| 已有 IDA MCP 深挖 | ida-reverse/ |
| 开源 / 批量 / 教学 | 本 skill |
| 仅 CLI 快速侦察 | radare2/ |
□ 新建 Project → Import 文件 → Analyze(默认分析器)
□ 记录语言/编译器识别结果与基址
□ 标记入口、导出表、字符串 xref□ 从字符串 / 导入 API 反查
□ Decompile 窗口还原算法
□ 重命名函数/变量;写 Plate comment
□ 需要动态时交接 Frida/GDB(reverse-engineering 动态章)# 示例:analyzeHeadless 路径因安装而异,MUST 从 tool-index 取
analyzeHeadless /path/to/project Proj -import sample.bin -postScript ExportDecomp.py□ 确认 ghidra MCP 端口(常见 8765,以 tool-index 为准)
□ 用 MCP 工具拉反编译 / xrefs,禁止猜端口| 工具 | 用途 | 自举 |
|---|---|---|
| Ghidra | 反编译主工具 | 手动 release / 包管理器 |
| ghidra-mcp | AI 桥 | bootstrap 能力名 ghidra-mcp |
| ghidriff | 补丁差分 | 见 patch-diff-exploit |
references/ghidra-cheatsheet.md../ida-reverse/ ../radare2/ ../binary-diff/上游: MASTER R22
下游: 动态验证 → Frida/GDB;利用 → pwn-chain
同级: ida-reverse(商业深挖)
3ae5c59
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.