A coding agent can open a binary, decompile a function and explain it in seconds. It can also invent an address, misread a cross-reference or describe code that isn't there. This book teaches you to get the speed without the fiction.
It is a short, hands-on guide to REA (Reverse Engineer Anything), the open-source MCP server and CLI that lets Claude Code, Codex, Cursor and other agents drive Ghidra, JADX, ASAR extraction and network-capture decoding. The method at its centre is the evidence loop: ask, trace, read the evidence, follow up, reconstruct, verify. Every step has a named failure mode and a check that catches it.
- Know where reverse engineering is legal, and practise on targets you own.
- Install REA 6.4.0 with Ghidra 12.1.4 and pin both versions.
- Trace a feature from a string to the function that decides it, and read REA's evidence records instead of trusting the agent's summary.
- Find a path-traversal bug and missing IPC sender checks in an Electron app.
- Reconstruct a function from a stripped x86-64 binary and prove the reconstruction with differential tests.
- Analyse HAR and mitmproxy captures, an Android APK with an exported debug activity, and a .NET licence check.
- Spot hallucinated analysis, and know when to reach for GhidraMCP or ida-pro-mcp instead.
- Capstone: take a stripped licence checker from strings to a working key generator, and list exactly what was established and what remains unknown.
Every target in the book is a small program written for it and released into the public domain, so you can run each step yourself. No tool output is invented or retyped: each output block comes from a real REA 6.4.0 run in a sandboxed lab, and every claim cites its source, whether that is the REA documentation, the rea-agents-6.4.0 source tree or the captured run.
Researched and drafted with AI assistance by Ground Truth Books. The text was checked against the REA 6.4.0 documentation and source, and the commands were run under REA 6.4.0 with Ghidra 12.1.4. "REA" and "Ghidra" are used descriptively; this book is not affiliated with or endorsed by the REA project, the NSA or the Ghidra project.