Somewhat of a follow-up on my LLM posts - this time about how I use LLMs to reverse engineer programs without human intervention.
To be precise, we need AI that is good at it. At the moment of writing this GLM 5.3 Flash does it best for me and for the best price - quality almost comparable with GPT-5.6 Sol. And since an agent doing RE burns through tokens like there is no tomorrow, the price matters a lot here. Such automated process takes about 1B tokens a day, so the price per token is basically what decides if this is hobby or a budget for a small company.
The key tools I want to talk about are not the LLMs themselves though. It's Ghidra, specifically its python interface pyghidra, and python unicorn.
pyghidra lets the model do everything a human analyst would do in the GUI: open a binary, list functions, decompile them, rename things, follow cross-references - all programmatically. unicorn on the other side is a CPU emulator, so when the code is obfuscated, packed or just weird, we can lift the interesting parts out and execute them in a sandbox to see what they actually do.
Add classical objdump on top and we have a full pipeline: static analysis from Ghidra, dynamic execution from unicorn, disassembly from objdump as a sanity check. The LLM sits above all of it - reading the outputs, deciding what to inspect next and writing the next script.
These plus a bit of patience and we can force many apps, even these secured with some kind of anti-tampering solutions.
As an example - I myself am RE-ing a game from early 2000s and it has SafeDisc. And the whole setup managed to crack it.
Twenty-something years ago this would take a small army of hackers months. Today it's an agent loop running overnight. Funny times to be alive.