There are already a lot of tools already to find bugs, like fuzzers, but I am sure that LLMs won't be one of them.
Half of the work in fixing a bug report is getting a reproducible example. Nay, more than half.
If there was a magic AI which could generate exploits, I'd imagine there would be an equally magic AI patching the holes right out.
That said, I’m quite skeptical there’s any AI’s on the horizon that can autogenerate exploits from CVEs.
GPT-4 can exploit vulnerabilities by reading CVEs (theregister.com) 81 points by ignoramous 60 days ago | hide | past | favorite | 29 comments
https://news.ycombinator.com/item?id=40101846
which links to a Register Article[0], which links to a paper[1]:
"In this work, we show that LLM agents can autonomously exploit one-day vulnerabilities in real-world systems. To show this, we collected a dataset of 15 one-day vulnerabilities that include ones categorized as critical severity in the CVE description. When given the CVE description, GPT-4 is capable of exploiting 87% of these vulnerabilities compared to 0% for every other model we test (GPT-3.5, open-source LLMs) and open-source vulnerability scanners (ZAP and Metasploit). Fortunately, our GPT-4 agent requires the CVE description for high performance: without the description, GPT-4 can exploit only 7% of the vulnerabilities."[1]
[0] https://www.theregister.com/2024/04/17/gpt4_can_exploit_real...
If they could use that structural training to answer queries like "Is there any code path where some_dangerous_func() is called without it's return value being checked"...
XNU isn't the hardest target to pop but it is far from the easiest.
There is a huge gap (in the binary exploitation world) between identifying a problematic code pattern and having a workable bug (a reproduction), and even larger one between a reproducible crash and a working exploit (because we're not in the 90s anymore and complier/hardware mitigations are literally always enabled). Current LLMs can cross neither gap, and are not even close to bridging the second one.
Oh, I remember the "XDCC SEND KEYLOGGER 0 0 0" exploit from IRC era ~2010... dumbass middleboxes would yeet anyone whose packets crossed them.