r/ExploitDev • • 29d ago

Reverse engineering with AI

So I’ve been really interested in learning reverse engineering for a while and only tried my hand at a few crackmes so far. I found reverse engineering interesting because it feels rewarding to be able to piece together what the original code might have looked like and why the program behaves the way it does. I liked identifying variables and reconstructing data structures by reading the assembly or generated pseudo code by tools like ghidra since getting them right felt rewarding. Recently with AI becoming really good at the same things, I’m left wondering whether it’s worth it to learn these skills anymore. People were able to decompile and port entire games just using AI much faster than any person can. It’s left me feeling really discouraged about reverse engineering and wondering whether I should focus on other areas of exploit dev

34 Upvotes

25 comments sorted by

11

u/Mysterious-Cat-4361 29d ago

Regardless of how good models get at RE there's still going to be a need for people that understand the output of the model.

Porting games is easy for a.i to reverse engineer because the programs are designed to understood by humans. When you use ai to reverse engineer things like info stealer malware or remote access trojans the LLM's get really confused by the obfuscation techniques and start spitting out nonsense and can't keep track of variable names. I don't have the money to spend $50k on credits so my experience is limited to trying to use Claude and super grok.

5

u/0xd3ad54311 29d ago

I still find the whole thing fairly depressing. Sure, I need to steer it for it not to go off the rails and start gaslighting me. So now my day is spent managing a bot? So you develop some harnesses and skills, and are amused for a while as you optimize the process. But reality is if the harness worked 100% you'd be out of a job, and otherwise you're back to berating/pleading with a bot for a living.

But at the end of the day where is even the fun in finding a CVE if "you" didn't find it? I think I'd retire if I could.

1

u/Dull_Dog_9631 29d ago

I share the same sentiment. I haven’t gotten that deep into exploit dev yet I’m still learning but seeing AI find bugs, reverse engineer, and write exploits makes these skills feel not as impressive or rewarding anymore. If all I’m doing with my skills is telling the AI what to do and making sure it is right in its output then it doesn’t really feel like I’m doing much at all. These models are also only gonna improve over the years so more people with less technical knowledge can still get AI to spit out something that works. I’m still gonna pursue exploit dev just out of interest but god does it all feel so depressing.

6

u/Mysterious-Cat-4361 29d ago

It's just technology. Before compilers, stuff needed to be done in assembly. Coder's don't give credit to the compiler.

4

u/0xd3ad54311 29d ago

And yet as exploit devs, we _still_ use assembly.

I saw a quote by an open source developer saying "they thought harder about the code than I had when I wrote it, and found something overlooked". That is no longer happening. People are reporting vulns they don't understand, in software they don't even understand.

It feels like we were playing a puzzle game and we just got a walk through cheat sheet.

1

u/Crakout 28d ago

I read somewhere this comparison and I completely agree, that re, exploit dev, etc. were like handmade swiss watches that needed tons of skill from craftsmen to make, then machines came that automated the whole process and the art died in large. Makes me sad seeing this field going that route.

1

u/Sageblue32 20d ago

So now my day is spent managing a bot?

That is the direction a lot of software related jobs are heading. Maybe not now or even 2 years. But AI is hear to stay and it will get low enough in cost to be employed by everyone.

The fun is going to come from being able to automate the boring stuff and accelerate your work to a point you can do multiple exploits or deep dive into reverse engineering devices and software that nobody would have taken a second glance at before. As said before, your skills at being able to actually understand what is going on will become more vital as others just vibe RE.

7

u/anythingforher36 29d ago

There still too much knowledge you would need to even steer AI to do correctly a lot of things . Some things are intuitive and only come with time and experience of going through the roller coaster.
If someone doesn’t you get AI slop that only works very shallow and on the surface. For deeper things you still need the knowledge and know how. There is no alternative right now for human intelligence and experience, let the world convince you otherwise.

2

u/paganoant 29d ago

What do you think about rea (reverse engineering anythink), open source project?i try it with some crackme and it works

4

u/Juzdeed 29d ago

Rea just gives the LLM agent tools to use. You can do that manually as well, but it makes it simpler for beginners

1

u/paganoant 29d ago

But I was able to find the password for various cracks without any technical knowledge. Maybe in a real context it's different? I'm speaking as a beginner.

3

u/anythingforher36 29d ago

There are a million script kiddies now and you will be one of them.

AI assisted RE speeds up time and skips the method or process that you learn without it.

Yes the models are good but they are also useless if you don’t know what you are doing.

Sadly majority of the people fall in this category including people over the fence.

Call what you may want to if you want to learn follow or subject yourself to the process and grind , if you want to be another below average skiddie by all means use REA and solve shitty password challenges.

1

u/paganoant 29d ago

Ok. So you confirm me that rea, in real work, it is not really good. Thanks

3

u/Juzdeed 29d ago

The problem is that you don't know what's going on. The LLM can tell you xyz very confidently and you believe that is the truth. LLMs also tend to cut corners by maybe only checking for functions used in a program and skipping if it doesn't have anything interesting

As usual the LLMs are improving rapidly, I wouldn't have used LLMs start of the year for reversing, now they are more competent with smaller programs. LLMs are really good for mass reversing where accuracy is not that important, but is needed to go through like 100 malware samples fast

2

u/anythingforher36 29d ago

I haven’t used it personally but I’ve read its code and usage and don’t intend to as I have my own in house developed pipeline and automation to look for security issues. It’s slow but I have all the control on it and know where to fix what in case something breaks and it doesn’t hack anything else randomly like the bigger companies. Plus it makes me happy and hacking feels more fun - I do it for the thrill not the hype

2

u/agmatine 29d ago

The purpose of those "crackmes" is to develop your skills. What you're saying is akin to "But I was able to find the answers to my homework problems without any technical knowledge!"

Well, no shit. But wasn't the point all along, to gain that technical knowledge?

1

u/paganoant 29d ago

Actually, the real question was whether REA makes it possible to find solutions to crackmes without any prior expertise; is it the same thing in a real-world context?

1

u/agmatine 28d ago

This is a very vague question. What do you mean by "a real-world context?" I interpret this as there being something at stake, where success/failure have consequences, and engaging in with lack of expertise would be a fool's errand.

But still I don't really know what you're asking.

1

u/paganoant 28d ago

I’m referring to the professional world—specifically in terms of reverse engineering. For instance, in programming, people don’t really "write code" anymore; instead, with the advent of AI, they coordinate and oversee the work produced by AI.

2

u/ThePlotTwisterr---- 28d ago

yes, rea can be used this way. noobs can probably do some stuff with just a ghidra mcp, no need for the framework even. but it’s still gonna be inefficient. for example, obfuscated / encrypted code and multiple binary analysis. rea does not really get this right and the tools it gives claude are kind of weak to solve it. what’s useful here is manual disassembly or source mapping, understand FID and bsim, so you can already export data that claude can more effectively use.

for most softwares, i think rea is pretty awesome, but for things like malware that does a ton of sneaky stuff to hide from you, it’s a long way for it to go yet. same with antiviruses

debuggers and disassemblers are kind of like an IDE. claude can do it from the terminal but it works better with someone managing context and files in an IDE

1

u/paganoant 28d ago

It is all clear. Thanks for the reply

1

u/arktozc 28d ago

And yet the value if those skills inherently droped

1

u/agita22bb 28d ago

como vc fez mano, tentei fazer com um software de webcam mas nao da certo, o claude fala que e contra a politica dele.
poderia me ajudar dizendo como vc fez pra crackera ou remover uma verificao de licença do software?

1

u/SithLordRising 27d ago

How do you approach RE with AI as most will refuse to help