Logo: Ghidra Mcp Analysis

Ghidra Mcp Analysis

Organisatioun
SpecterOps
ghidra-mcp-analysis

Use for reverse engineering and binary analysis with LaurieWired/GhidraMCP. Trigger for Ghidra MCP setup, bridge_mcp_ghidra.py usage, GhidraMCP plugin workflows, decompilation, function/string/import/export/xref analysis, renaming functions/data/variables, setting comments/types/prototypes, or producing Ghidra-backed RE notes.

Iwwersiicht

EditeurSpecterOps
Repositoryskills
Skill-Nummghidra-mcp-analysis
Stären
706
Forks
80
Matgeliwwert Dateien
4
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 4 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    SpecterOps huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Ghidra Mcp Analysis an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/SpecterOps/skills/tree/main/plugins/reverse-engineering/skills/ghidra-mcp-analysis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpecterOps/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/reverse-engineering/skills/ghidra-mcp-analysis .claude/skills/ghidra-mcp-analysis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Ghidra Mcp Analysis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Ghidra Mcp Analysis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Ghidra Mcp Analysis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Ghidra MCP Analysis

Implementation target

This skill assumes the Ghidra MCP implementation is LaurieWired/GhidraMCP. It uses:

  • a Ghidra extension/plugin that exposes a local HTTP server from Ghidra, defaulting to http://127.0.0.1:8080/
  • bridge_mcp_ghidra.py, a Python MCP bridge that talks to the Ghidra-side HTTP server
  • stdio transport by default for Codex MCP, with optional SSE mode for clients that need it

Setup checklist

  1. Install Ghidra and Python 3.
  2. Download a LaurieWired/GhidraMCP release ZIP.
  3. In Ghidra: File -> Install Extensions -> + -> select the GhidraMCP-*.zip release.
  4. Restart Ghidra.
  5. Enable GhidraMCPPlugin in File -> Configure -> Developer.
  6. Optionally configure the Ghidra-side HTTP port with Edit -> Tool Options -> GhidraMCP HTTP Server.
  7. Configure Codex to run the bridge:
toml
[mcp_servers.ghidra]
command = "python3"
args = [
  "/ABSOLUTE_PATH_TO/GhidraMCP/bridge_mcp_ghidra.py",
  "--ghidra-server",
  "http://127.0.0.1:8080/"
]

Restart Codex and verify the ghidra MCP server is visible under /mcp before using live analysis.

Available LaurieWired/GhidraMCP capabilities

Use these capabilities by their MCP tool names when available:

CapabilityTool(s)
Current contextget_current_address, get_current_function, get_function_by_address
Function listing/searchlist_methods, list_functions, search_functions_by_name
Classes/namespaceslist_classes, list_namespaces
Decompilation/disassemblydecompile_function, decompile_function_by_address, disassemble_function
Imports/exports/segments/datalist_imports, list_exports, list_segments, list_data_items
Stringslist_strings with optional filter
Xrefsget_xrefs_to, get_xrefs_from, get_function_xrefs
Renamingrename_function, rename_function_by_address, rename_data, rename_variable
Commentsset_decompiler_comment, set_disassembly_comment
Types/prototypesset_function_prototype, set_local_variable_type

Recommended workflow

  1. Orient

    • Confirm Ghidra has the target program open and analyzed.
    • Use get_current_function / get_current_address when the user points at something in the UI.
    • Use list_segments, list_imports, list_exports, and filtered list_strings for initial context.
  2. Survey efficiently

    • Prefer search_functions_by_name and list_strings(filter=...) over dumping everything.
    • Use pagination (offset, limit) for list_methods, list_classes, list_imports, list_exports, list_data_items, and list_strings.
  3. Analyze functions

    • Use decompile_function_by_address when an address is known.
    • Use decompile_function when a stable symbol/function name is known.
    • Use disassemble_function when decompiler output is ambiguous, optimized out, or missing low-level details.
  4. Trace relationships

    • Use get_xrefs_to / get_xrefs_from for address-oriented tracing.
    • Use get_function_xrefs for function-name-oriented tracing.
    • Build source -> transform -> sink chains with exact addresses and function names.
  5. Annotate only with evidence

    • Use rename_function_by_address or rename_function when behavior is confirmed.
    • Use rename_variable, rename_data, set_function_prototype, and set_local_variable_type incrementally.
    • Use set_decompiler_comment or set_disassembly_comment to record reasoning at important addresses.
  6. Report

    • Include addresses, original names, new names/comments/types applied, decompiler/disassembly evidence, xref paths, and confidence.
    • Separate confirmed behavior from hypotheses.

Reference loading

Read references/workflow.md for LaurieWired/GhidraMCP transport details, tool recipes, and output templates.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Ghidra Mcp Analysis?

Use for reverse engineering and binary analysis with LaurieWired/GhidraMCP. Trigger for Ghidra MCP setup, bridge_mcp_ghidra.py usage, GhidraMCP plugin workflows, decompilation, function/string/import/export/xref analysis, renaming functions/data/variables, setting comments/types/prototypes, or producing Ghidra-backed RE notes.

Firwat Ghidra Mcp Analysis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Ghidra Mcp Analysis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Ghidra Mcp Analysis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/SpecterOps/skills/tree/main/plugins/reverse-engineering/skills/ghidra-mcp-analysis an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Ghidra Mcp Analysis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Ghidra Mcp Analysis benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Ghidra Mcp Analysis domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Ghidra Mcp Analysis gratis?

Jo. SpecterOps huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇