What is AI-assisted reverse engineering?
What it means to reverse engineer software with Claude, Codex or Gemini, the three common setups, what works today, what doesn't, and where to start.
AI-assisted reverse engineering means using a language model such as Claude, GPT/Codex or Gemini to help work out how compiled software, firmware, file formats or network protocols work when you don't have the source. This page explains the common setups, what they do well and badly today, and how to pick a first project.
What does AI-assisted reverse engineering mean?
AI-assisted reverse engineering is the usual reverse engineering loop with a model doing part of it. The loop is to look at code or data, form a guess, test it and write down what you learned. AI changes who does which part of that loop. A model can read decompiler output, name functions, spot known algorithms, write a parser or a test client, and try again when the test fails. You still decide what to look at, supply ground truth, and judge whether the result is right.
The directory shows the range. Some projects are a single conversation, such as a printer driver rebuilt from a Windows driver with Gemini. Others run for months, such as the agent swarm that rebuilt a first-person shooter with up to 15 Claude Code and Codex agents.
What are the three common setups?
The three setups are chat with pasted output, an agent driving a disassembler over MCP, and agent loops with verification.
1. Chat with pasted output
You run the disassembler or decompiler yourself and paste functions, hex dumps or packet captures into a chat window. The model explains, renames and suggests. This needs no setup and keeps you in control of every step, but you are the bottleneck: the model only sees what you paste.
This is the setup the NDSS 2026 user study measured. Decompiling the Synergy surveyed 153 practitioners and ran 48 participants through CTF-style binaries with and without LLM help. The EURECOM summary reports that novices with LLM help reached close to expert comprehension, while experts showed no significant overall gain. The cat printer project, done by someone with no Bluetooth background, is a good example of this style.
2. An agent driving a disassembler over MCP
A coding agent such as Claude Code or Codex CLI connects to a disassembler through an MCP (Model Context Protocol) server. The agent can then list functions, decompile, follow cross-references, rename symbols and write notes on its own, and also run scripts, emulators or test clients in your terminal.
The common bridges are:
- GhidraMCP for the free Ghidra framework.
- IDA Pro MCP for IDA Pro (its README now points users to the official Hex-Rays IDA MCP server).
- Binary Ninja MCP for Binary Ninja.
- REA, which puts Hopper, Ghidra or IDA behind one MCP server and adds JavaScript, Android and capture analysis.
See REA vs GhidraMCP vs IDA Pro MCP for a side-by-side comparison, and Set up GhidraMCP with Claude Code to get the free option running.
Examples: Claude found the lives counter in an 8 kB Atari ROM through GhidraMCP in River Raid. Bishop Fox had Claude Code with Binary Ninja over MCP decrypt a firewall firmware image.
Not every agent project needs a disassembler. For Android-connected hardware, the agent often reads JADX output directly, as in the Bluetti inverter and Amaran lights projects.
3. Agent loops and swarms with verification
The biggest results come from running agents for hours or weeks, with a script that checks every answer. In Snowboard Kids 2, a bash loop handed Claude the easiest unmatched N64 function and a build script decided whether it matched; three weeks beat the previous three months of manual work. The FPS decompilation compiled each reconstructed function with the original compiler and compared it byte for byte against the original executable. ReAgent pairs a reverser model with a checker model and Ghidra evidence gates.
Each of these has an oracle, something outside the model that says pass or fail. Without one, long runs drift.
What is AI good at in reverse engineering today?
- Reading lots of code quickly. Summarising functions, spotting known algorithms and naming things. The NDSS study found summarising a function on first visit was the most useful pattern.
- Turning findings into working code. Protocol clients (Emaldo battery, Fire TV remote), file-format readers (World of Warships models), and full ports (SkyRoads in C and a web port of Weltendämmerung).
- Grinding through matching work when a script can check each answer (Klonoa GBA, DX-Ball with REA).
- Rebuilding behaviour from a black box. In Epoch AI and METR's MirrorCode, Claude Opus 4.6 reimplemented the gotree toolkit using only the executable and its tests, where older Opus models fell short (Epoch AI).
Benchmarks give a rough sense of level. On CrackMeBench, with five minutes per stripped CrackMe, GPT-5.5 solved 11 of 12 generated tasks, Claude Opus 4.7 solved 7 and Kimi K2 solved 5 (pass@3). SRE-Bench, built from private programs no model could have seen, now lists GPT-6-Astra as the leader, fully solving 82.3% of the instances it was graded on, though refusals left it graded on 181 of 262. GPT-5.6-Sol fully solves 31.5% and Claude-Fable-5.1 26.9% (Columbia DAPLab). Models are useful but far from finished.
What is AI bad at in reverse engineering today?
- Knowing when it is wrong. Claude named River Raid as Centipede. In the NDSS study, about 20% of sessions involved chasing hallucinated vulnerabilities, per the EURECOM summary.
- Knowing when it is stuck. Bishop Fox's summary of their test was "senior-level skill, junior-level autonomy": Claude had the knowledge but stalled twice without noticing.
- Honest verification. Agents in the FPS swarm edited the verification script to pass, and the Klonoa agent tried forking the compiler.
- Malware verdicts. G DATA found wrong IoCs and flip-flopping verdicts even after verification passes.
- Hard targets. On SRE-Bench most publicly evaluated models fully solve under a third of instances, and protection lowers scores for almost every model. MirrorCode shows the largest programs are still hard too.
The full list, with the fixes projects used, is in Where AI goes wrong in reverse engineering.
What is a sensible first project?
Pick something small, legal and checkable:
- A CrackMe. Built for practice, with a clear pass condition. The Claude and Ghidra MCP CrackMe tutorial walks through one.
- A tiny old ROM in an emulator. River Raid is 8 kB, and the emulator tells you whether your patch works.
- A device you own that talks Bluetooth or USB. Projects like the Codex Micro keypad and the abandoned BLE energy meter end with something you can test in your hand.
Start with setup 1 or 2. Keep sessions short, write findings to a notes file the agent re-reads, and check every claim against the disassembler or the real device. Budget money as well as time: the Amaran lights run cost $91.34 over about 3.5 hours, while the Kyocera softkey API cost about five cents.
What counts as legitimate reverse engineering?
Reverse engineering is legal in many places for interoperability, repair, research and preservation, but laws and licence terms differ by country and product. Stay on safe ground:
- Your own software and devices, or abandoned hardware you own (the BLE energy meter after its vendor went bankrupt).
- Preservation of games and software whose source is lost (Labyrinth).
- CTFs and CrackMes made for practice.
- Defensive malware analysis in an isolated lab, as in G DATA's two-VM setup.
- Security research with responsible disclosure, as in the peripheral firmware audit.
Don't use these tools to bypass DRM, licence checks or anti-cheat, to cheat in online games, or to attack systems you don't own.
Where does the AI go wrong?
Most directory projects with detailed write-ups describe a human catching the model's mistakes. The Electron app recovery quietly skipped code so builds would pass. psxrecomp speculated until Ghidra was added as ground truth. The fixes were the same each time: give the model ground truth, make a script the judge, keep sessions short, and verify by hand before trusting a result.
Which projects used this?
- River Raid unlimited lives: a small, complete GhidraMCP session with its mistakes shown.
- Bishop Fox firmware decryption: an expert-level task where the human role was redirection.
- FPS agent swarm: the high end, with a byte-matching oracle and CI.
- Snowboard Kids 2: a simple unattended loop with defensive tooling.
- Amaran Bluetooth mesh: a device protocol end to end, with time and cost reported.
- Decompiling the Synergy: the user study on how humans and LLMs work together.
Further reading
- More guides: AI-assisted game decompilation, Reverse engineer a Bluetooth device with AI, Getting started with REA
- Decompiling the Synergy (NDSS 2026 paper)
- CrackMeBench on arXiv
- SRE-Bench, Columbia DAPLab
- MirrorCode, Epoch AI
- GhidraMCP, IDA Pro MCP, REA
Changes
- Updated the SRE-Bench results to the current leaderboard and the MirrorCode link. Other sources still match.
- Removed links to a rejected project entry and its repository.
- Removed projects that were no longer published.
Sources
- s3.eurecom.fr /post/2025/12/18/decompiling-the-synergy-how-humans-and-ai-team-up-in-reverse-engineering
- adamdoupe.com /publications/decompiling-synergy-ndss2026.pdf
- arxiv.org /abs/2605.10597
- daplab.cs.columbia.edu /projects/sre-bench
- epoch.ai /publications/mirrorcode-preliminary-results
- bishopfox.com /blog/cracking-firmware-with-claude-senior-level-skill-junior-level-autonomy
- quesma.com /blog/ghidra-mcp-unlimited-lives
- momo5502.com /posts/2026-10-09-game-decompilation
- blog.chrislewis.au /the-unexpected-effectiveness-of-one-shot-decompilation-with-claude
- github.com /LaurieWired/GhidraMCP
- github.com /mrexodia/ida-pro-mcp
- github.com /morluto/rea





