Exploit

An exploit is a piece of code or a technique that takes advantage of a vulnerability in software or hardware to make it do something its owner did not intend, such as granting access or running an attacker's code.

A vulnerability is a flaw; an exploit is the means of using it. A bug that lets a program write past the end of a memory buffer is a vulnerability. Carefully crafted input that triggers the bug and hijacks the program to run the attacker's instructions is an exploit. Exploits are often used to break through security controls, gain access without permission or install malware, which then does the lasting damage.

Security people sort exploits in a few ways. A remote exploit works over a network without prior access, while a local one needs some foothold on the machine and usually raises the attacker's privileges. A zero-day exploit targets a flaw the vendor does not yet know about, so no patch exists. Attackers often link several exploits into a chain, first getting limited access and then climbing step by step to full control. One example is FORCEDENTRY, a zero-click exploit discovered in 2021 that was used to install NSO Group's Pegasus spyware.

AI enters the picture from both sides. Researchers have tested whether language-model agents can write working exploits. In an April 2024 paper, a GPT-4 agent exploited 87% of a set of 15 recently disclosed vulnerabilities when given the public CVE description, but only 7% without it; the other models and scanners tested managed none. Defenders are using the same tools to find bugs first. In November 2024 Google's Project Zero and DeepMind reported that their Big Sleep agent had found an exploitable memory-safety flaw in the SQLite database engine, which was fixed the same day it was reported and before it reached an official release.

For readers of security news, the word marks a step up in seriousness. A vulnerability report says a weakness exists. A public or working exploit means someone can actually use it, which is usually when patching becomes urgent. Claims that an AI model can "find" vulnerabilities and claims that it can reliably exploit them are different claims, and the published evidence for the second is narrower.

Common questions

What is the difference between a vulnerability and an exploit?

A vulnerability is a weakness in software, hardware or configuration. An exploit is the code or technique that takes advantage of that weakness to achieve something the system's owner did not intend. Many vulnerabilities are never exploited in practice, while a working exploit turns a theoretical flaw into a practical threat.

What is a zero-day exploit?

A zero-day exploit targets a vulnerability that the software's maker does not yet know about, so no fix is available. The name refers to the vendor having had zero days to respond. Once the flaw is disclosed and patched, the exploit usually stops working on updated systems.

Can AI write exploits?

Research shows it can in some cases. In a 2024 study, a GPT-4 agent exploited 87% of 15 known vulnerabilities when given the public description of each flaw, but only 7% without it. AI tools are also being used by defenders, for example Google's Big Sleep agent, which found an exploitable bug in SQLite before it was released.

Finding more

Search for "exploit vs vulnerability", "zero-day exploit" or "LLM agents exploit vulnerabilities" to understand the term and the research on AI. Reliable sources include national cybersecurity agencies, vendor security advisories, CVE records, and research papers on arXiv or from established security teams. Treat headlines claiming an AI "hacked" something with care and check the paper for what the system was given and how many attempts it needed.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.