LLM assisted reverse engineering slowchronicle.com · 291 points · 74 comments · ...

@best30

LLM assisted reverse engineering slowchronicle.com · 291 points · 74 comments · HN thread

TL;DR A hobbyist hardware and software hacker describes his workflow for reverse engineering with LLM agents (DeepSeek plus Ghidra MCP, radare2/Kuna), including documenting findings in markdown, a hypothesis-testing skill, and building probes in Python and Rust. He lists results such as custom firmware for synths and an e-reader, mapped camera protocols, and cracked old apps. The post was popular on HN with 74 comments, mostly from people sharing their own AI-assisted RE projects and debating skills, guardrails, and legality.

  • Workflow: identify the binary type and platform, have the agent document findings in markdown notes, then get a structural overview (main functions, branching, imports) before modifying or analysing further.
  • When stuck, the author uses debugging, logging probes, external access (computer use, emulators), and redirecting the agent to a different approach such as following strings instead of xrefs.
  • A custom 'hypothesis debugging' skill makes the agent record hypotheses in a CSV, design experiments that definitively confirm or refute them, and log results to stop circular guessing.
  • Language choice: Python with uv for quick probes and decompilation helpers, Rust for final implementations because the strict compiler gives the agent fast feedback.
  • Claimed results include reverse engineering the Alphasmart NEO, mapping protocols for EmWave and Sony cameras, custom firmware for Arturia MiniFreak, OP-Z and Akai MPC Sample, and a custom Photoshop-like editor.
  • The author says the work is now faster but he still learns a lot, and he encourages others to try hacking projects themselves.

Discussion The thread is a mix of practical war stories and side debates. Many commenters share their own AI-assisted reverse engineering wins (CCTV cloud plugins, abandoned audio plugins, Android app features, Linux drivers for old Macs, Civ 1 decompilation) and give tool tips such as IDA MCP, Rizin, and headless Ghidra scripting. The skill-versus-process question comes up repeatedly, along with frustration at model refusals and at 'guessing loops' in agents. The mood is mostly enthusiastic and curious, with a noticeable ethical and legal undercurrent around piracy and cracking apps.

  • AI makes reverse engineering of old or abandoned products fun and accessible (most): Many commenters report quick wins on abandoned plugins, cameras, printers, and Android apps, often with little prior RE experience. They see it as a way to keep old hardware and software working.
  • Agents still get stuck in guessing loops and need steering (many): Several experienced reversers say models chase narrow or speculative paths and need babysitting. Some find hypothesis-driven experiments useful, while others prefer deterministic tracing through the code.
  • Guardrails and refusals block some RE work (many): Users report Claude and ChatGPT refusing security-adjacent tasks such as ADB pulls or firmware analysis. Workarounds include framing requests as personal use, switching models, or starting with DeepSeek and continuing elsewhere.
  • Learning matters more than delegating to AI (some): Some argue that process is where skill and satisfaction come from and that handing the work to an agent removes both. Others reply that reading the agent's traces and steering it still teaches a lot.
  • Skills and agent instructions are just prompts (some): Commenters question the value of shared skills and AGENTS.md files, saying custom prompts or plain documentation for humans work as well. Others find reusable instructions helpful for repeated tasks.
  • Piracy and cracking are justified or unjustified (a few): One commenter defends cracking paid Android apps as privacy-preserving and anti-paywall, which others call theft. Others argue reverse engineering is a consumer check on abusive companies, and some warn about licence terms and copyright or patent liability.

Links from the comments

#reverseEngineering #llmAgents #firmwareHacking #ghidra #aiTooling