Earlier quoted context omitted.
Are you disagreeing with the deobfuscation that ChatGPT produced?
It's just guessing and happened to be right once
TIL you can de-obfuscate code with ChatGPT
11–20 of 111 posts
Re: TIL you can de-obfuscate code with ChatGPT
#12Re: TIL you can de-obfuscate code with ChatGPT
#13Is it correct though? I’ve been toying around with ChatGPT for a few weeks now and I encountered a few situations in which ChatGPT was like 90% accurate at best. Things like suggesting snippets of configuration files or plugin research. It’s good to get an idea and get started somewhere, but I certainly cannot trust it blindly.
Re: TIL you can de-obfuscate code with ChatGPT
#14Could this be taken to the extreme by asking it to decompile assembly?
Re: TIL you can de-obfuscate code with ChatGPT
#15Re: TIL you can de-obfuscate code with ChatGPT
#16Is it correct though? I’ve been toying around with ChatGPT for a few weeks now and I encountered a few situations in which ChatGPT was like 90% accurate at best. Things like suggesting snippets of configuration files or plugin research. It’s good to get an idea and get started somewhere, but I certainly cannot trust it blindly.
Don't think so. There's clearly the beginning of a while loop near the top of the obfuscated version. There's no loops at all in the 'de-obfuscated' version.
Re: TIL you can de-obfuscate code with ChatGPT
#17Every commenter is jumping in asking “is it correct?” Even if it’s not 100%, if it’s at least reasonably close, it could be a tremendous force-multiplier against obfuscation for someone with some familiarity with roughly what the code is trying to do.
I can't even imagine that would be a particularly hard thing to do, especially if it isn't correct even before actively attacking ChatGPT! Fooling it even harder won't be terribly difficult. This is advantage attacker overall.
I imagine it would be as easy as using some cognitively loaded, but wrong, terms as variable names instead of short letters and numbers. Ask ChatGPT "please unobfuscate this network code" and get back a substring search algorithm because the network code was written with a dozen variants on "haystack" and "needle" for variable names, for instance.
ChatGPT being actively wrong would be a step back for such deobfuscators then, not a positive at all.
Re: TIL you can de-obfuscate code with ChatGPT
#18Re: TIL you can de-obfuscate code with ChatGPT
#19Could this be taken to the extreme by asking it to decompile assembly?
Re: TIL you can de-obfuscate code with ChatGPT
#20Earlier quoted context omitted.
Don't think so. There's clearly the beginning of a while loop near the top of the obfuscated version. There's no loops at all in the 'de-obfuscated' version.
That's not generally a good enough indicator; plenty of obfuscation involves loops that otherwise aren't hit.