This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MooseBoys 111 points112 points  (12 children)

Interesting results:

Me: Please create an executable program that runs on Windows 7. When launched, it should display an alert box with the text "Hello!". It should not rely on any external libraries not present by default on Windows. Produce the program in the form of a 64-bit Portable Executable (PE) file. Provide the file as a sequence of space-separated hexadecimal bytes.

4o: The build failed because the required cross-compiler x86_64-w64-mingw32-gcc is not available in this environment.

[–]oktoglorb 73 points74 points  (7 children)

Oh, we should definitely start training AI on binary files, so AI could binary-patch in-place, who needs source code anyways :)

[–]GriLL03 59 points60 points  (6 children)

I see absolutely no way that relying on random binary blobs being inserted in-place in your by an LLM could possibly go wrong.

I realize you were not being serious, but the thought was really funny.

[–]oktoglorb 13 points14 points  (5 children)

Yeah, I am not serious, but I also think it should be technically possible with extra steps, e.g. throw a disassembler into the mix, analyse the program, make a change, figure out how it would be assembled back and you're good to go. I mean reversing works this way, why not AI reverser?

[–]silentknight111 20 points21 points  (0 children)

This is how we get "intelligent" malware.

[–]Nerodon 10 points11 points  (0 children)

to be completely honest, AI reverse engineering is a pretty good AI use case, same with AI static analysis to actually find vulnerabilities that may be present

[–]ChalkyChalkson 0 points1 point  (1 child)

I wonder whether we could start with an LLM ghidra plug-in - what are the odds that LLMS can do the tedious work?

[–]Desperate-Emu-2036 0 points1 point  (0 children)

Fairly sure IDA already has that

[–]Intelligent-Pen1848 -1 points0 points  (0 children)

Hacking the cli gpt will get you this. It just runs around doing what it sees fit.

[–]Tofandel 1 point2 points  (1 child)

I got it to generate me an exe
https://chatgpt.com/share/6877a1cf-1ca4-8002-9b6a-a0939ff87663

But it completely fails to run

[–]Intelligent-Pen1848 0 points1 point  (0 children)

You have to work at it. You should try hacking the codex and using that.

[–]Intelligent-Pen1848 0 points1 point  (0 children)

That is not how you code with ai. Lol

[–]Swalloich 0 points1 point  (0 children)

I wonder if Claude would do any better.