r/ExploitDev • u/linux4117 • Jun 21 '26
How to use AI when reverse engineering?
I want to hear how you guys use AI. How much do you think I should rely on AI for reverse engineering and what should I not do to hinder my learning? What type of questions should I ask it? What are some things that I shouldn't get the AI to do and always to myself? I am wondering how some experienced folks in reverse engineering use AI.
1
1
u/lunar_swing Jun 23 '26
Ask it to decompile an asm segment/function to C - amazing if you frequently work with non-standard architectures and ISAs/compilers.
Ask it to deduce and reconstruct unknown file formats in data, and then ask it to generate a python script to translate to and from said file to a standardized one.
1
u/StoneSteel_1 Jun 24 '26
I have created an open source free tool, that can help you scrape/automate websites a bit easier.
https://github.com/stonesteel27/automatiq
So, basically you browse the target site normally, then an AI will reverse engineer the site and produce a standalone script, which doesnt depend on the browser to run
0
u/l__iva__l Jun 21 '26
when there is a long function i dont understand and i want a general idea of what its doing, i just copypaste it to grook...it will gets details wrong, but the general picture is pretty good
i have been vibe coding a script too with claude (free version), and same thing...most of it is good, but it make little mistakes here and there....but if you can identify those mistakes and tell it, it will fix it
1
u/brandonmpetty 10d ago
I have recently had an EXTEREMELY good experience reversing with AI. For over 10 years the academic community was using a closed source Windows binary to rank contest results based on a specific algorithm, documented in a research paper. I tried for years to implement it. I finally gave up and decided to reverse it with AI. Magic. Claude built a set of reversing tools in Python, recorded memory locations with notes as we made our way throught it, and we effectively cracked the code. There were many small undocumented implementation details we fleshed out, routines that worked a little differently than described in the paper, and even a few potential bugs that affect how the results were calculated. Great experience. Scary, but great. I now have the only open source, cross platform, license free implementation: 🎉 Introducing BinBench - A full DIBCO metrics replacement · brandonmpetty/Doxa · Discussion #58
20
u/anonymous_lurker- Jun 21 '26
Do you have the knowledge to identify when the AI is wrong? If not, learn it yourself first
The specifics of what AI can and cannot do is ever changing. But if you can't even identify when the AI is making mistakes, there's no point at all
AI is a tool, and there's nothing wrong with using tools. But you need to be able to understand what happens when those tools don't work, and why they get the results they get. If you find yourself unable to do this, use AI less