<!-- Canonical page: https://reversedwithai.com/p/claude-ghidra-crackme-tutorial -->
Canonical page: https://reversedwithai.com/p/claude-ghidra-crackme-tutorial

# Full tutorial: Claude and Ghidra MCP work through a CrackMe

> Set up Ghidra MCP and let Claude work through a CrackMe.

A step-by-step video on setting up Ghidra MCP with Claude and letting it reverse a CrackMe challenge instead of doing it by hand.

## Key facts

- Target: CrackMe challenge
- Category: Research and benchmarks
- Models: Claude Sonnet 4.6
- Tools: Ghidra, GhidraMCP
- Outcome: Research
- Time spent (author-reported): About 6 minutes for Claude to solve it
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [Jackson Mittag](https://www.youtube.com/@seraph1m-sec)
- Added: 2026-10-13
- Updated: 2026-10-13
- Sources reviewed: 2026-10-13 (editor)

## What was done

Jackson Mittag connected Claude Sonnet 4.6 to Ghidra through LaurieWired's GhidraMCP and asked it, in one sentence, to solve a CrackMe challenge open in Ghidra. Claude decompiled functions, listed strings and followed cross-references, and found the working password in about six minutes.

### How it was done

The setup needs Ghidra, Python 3 and the MCP SDK. Mittag installed the GhidraMCP release as a Ghidra extension, then added the bridge script to the Claude desktop app's developer config, which talks to Ghidra on localhost. Mittag imported the CrackMe binary and ran Ghidra's auto analysis. The prompt was simply to solve the challenge using the Ghidra MCP tools, with Sonnet 4.6 and extended thinking.

Claude listed its tools, decompiled functions by address and pulled the readable strings. It found the password check, traced it back through cross-references, and decompiled the concatenation function to see how the password is assembled at runtime.

### Results

Claude produced a visual graph of the program logic. It showed an anti-debugging check that exits when a debugger is present, a locale call that acts as a decoy, and a password built at runtime from 12 short fragments and compared byte by byte. The password it recovered gave "access granted". Mittag notes this was static analysis only, and that he would like a similar MCP for a debugger such as x64dbg. Mittag presents it as a helper for reverse engineers, not a replacement.

## Sources

- [Write-up](https://www.youtube.com/watch?v=ybSWI2cZzIU)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Jackson Mittag (2026). Full tutorial: Claude and Ghidra MCP work through a CrackMe. Reversed with AI. https://reversedwithai.com/p/claude-ghidra-crackme-tutorial
