NewsCrawler.org

LLM-assisted reverse engineering: how one hacker uses AI agents

LLM assisted reverse engineering cover
Image: slowchronicle.com

The author, who has worked on hardware and software hacking for two decades, describes how he now uses AI agents to speed up reverse engineering. He points the agent at a binary, identifies its type and platform, and chooses a suitable [1]decompiler. He notes that current AIs do fairly well with plain [2]disassembly, and he has the agent record all findings in Markdown files.

When simple analysis is not enough, he has the agent set a [3]breakpoint, add logging through injected probes, or get outside access such as computer use or an API-controlled emulator. He also asks the agent to try a different approach and reads its full conversation and reasoning to spot blind paths. He uses custom skills, including a hypothesis-debugging loop in which the agent records hypotheses in a CSV table and runs experiments to confirm or disprove each one.

He uses Python with UV for quick probes and Rust for the final implementation, because the strict compiler gives the agent fast feedback. He lists several projects he says he completed with AI help, including the Alphasmart NEO, Sony Alpha camera protocols, custom firmware for synthesizers and an Xteink X4 ebook reader, and a custom [4]firmware. He describes the work as a hobby driven by curiosity.

Read the original slowchronicle.comDiscussion

Discussion

Most commenters report success with AI-assisted reverse engineering, including one who analyzed a camera's cloud plugin in about two hours with Gemini and others who worked on plugins and abandoned software. Some say the process matters more than the result, and that using AI leaves them with neither skills nor satisfaction. Others point out that agents get stuck in guessing loops, that context gets lost, and that licensing rules and AI provider restrictions can apply.

Sources

Published: First seen: Читать по-русски

Open as a page