Saltar al contenido
Skillpedia
Programación general48 mil · #4732

ghidra-reverse

Qué hace

Ghidra es un programa gratuito para analizar y entender software cuando no tienes el código fuente. Te ayuda a ver cómo funciona un programa por dentro, incluso sin las instrucciones originales.

Cuándo usarla

  • ✓Cuando necesitas analizar un programa, pero no tienes licencia para una herramienta similar (IDA).
  • ✓Para analizar muchos programas a la vez, de forma automática.
  • ✓Para aprender cómo funcionan los programas, por ejemplo en clase.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ghidra-reverse/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ghidra-reverse/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Analiza este programa y explícame cómo funciona.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Ghidra lee el programa, intenta 'traducir' el código de máquina a algo más parecido al lenguaje original y muestra las conexiones entre las distintas partes del programa.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Ghidra Reverse Engineering

When to Use

  • Static analysis of binaries without an IDA license.
  • Bulk headless decompilation or scripted analysis across many binaries.

适用场景

  • 无 IDA 许可证时的主逆向入口
  • 批量 headless 分析 / CI 中反编译
  • Ghidra 脚本(Java/Python Jython/PyGhidra)自动化
  • 与 binary-diff / patch-diff-exploit 的 ghidriff 联动

与 IDA 分工

需求 优先
已有 IDA MCP 深挖 ida-reverse/
开源 / 批量 / 教学 本 skill
仅 CLI 快速侦察 radare2/

工作流

1. 项目与自动分析

□ 新建 Project → Import 文件 → Analyze(默认分析器)
□ 记录语言/编译器识别结果与基址
□ 标记入口、导出表、字符串 xref

2. 关键函数

□ 从字符串 / 导入 API 反查
□ Decompile 窗口还原算法
□ 重命名函数/变量;写 Plate comment
□ 需要动态时交接 Frida/GDB(reverse-engineering 动态章)

3. Headless(批量)

# 示例:analyzeHeadless 路径因安装而异,MUST 从 tool-index 取
analyzeHeadless /path/to/project Proj -import sample.bin -postScript ExportDecomp.py

4. MCP(若已配置)

□ 确认 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(商业深挖)

任务完成自检

  • 是否基于真实 Ghidra/tool-index 路径?
  • 是否标注函数地址与重命名?
  • 是否有可复现步骤?
  • Checklist / journal?

Limitations

  • Decompiler output is less polished than IDA's for some architectures.
  • Large firmware images may need significant RAM and patience.

Adapted from zhaoxuya520/reverse-skill (MIT).

Preguntas frecuentes

¿Qué es la 'ingeniería inversa'?

Es el proceso de desmontar un programa para entender cómo se construyó, como lo haría un detective que investiga un objeto.

¿Es difícil usar Ghidra?

Puede requerir un poco de aprendizaje, pero es una herramienta potente y gratuita para quienes quieren investigar software.

¿Necesito saber programar para usar Ghidra?

Ayuda mucho, aunque el objetivo de Ghidra es precisamente hacer el código más legible para quien lo analiza.

Detalles

Descripción original del autor

Free/open reverse engineering with Ghidra (headless or GUI): decompilation, cross-references, scripting, and optional Ghidra MCP workflows when IDA is unavailable.

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#4732
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas