Security & Privacy

Exploit

Also known as: software exploit, security exploit, exploit code

An exploit is a piece of code, a command, or a technique that takes advantage of a vulnerability in software or hardware to make it behave in unintended ways, such as letting an attacker run their own code, gain higher privileges, or steal data.

A vulnerability is the weakness; an exploit is the tool that uses it. While publishing exploits helps defenders test their systems, public exploit code also lets less skilled criminals attack unpatched systems quickly.

Exploit, explained at three levels

At home

If a vulnerability is an unlocked window, an exploit is the method a burglar uses to climb through it. Updates close the window so the exploit no longer works.

At work

When an exploit for a flaw becomes public, unpatched systems face attacks quickly, so patching urgency rises sharply.

Real-world examples

At home

Carlos's phone prompted him to install an urgent update. The release notes said it fixed a flaw that was already being exploited, so he installed it right away.

At work

Aisha is a security analyst at a Winnipeg manufacturer. When a public exploit appeared for the company's VPN appliance, she patched it that night instead of waiting for the monthly window.

How it compares

featureExploitVulnerability
What it isThe method or code that attacksThe weakness
Exists without the otherNo, needs a vulnerabilityYes, may never be exploited
Fixed byPatching the vulnerabilityPatching or configuration
Urgency signalPublic exploit means act fastDepends on exposure

A vulnerability is the hole. An exploit is the crowbar.

For analysts

I'd make 'public exploit available' an automatic trigger for faster patching in IT policy. That single rule closes many windows attackers rely on.

History & origin

Early exploits were shared among hackers in the 1980s and 1990s, and the 1996 article 'Smashing the Stack for Fun and Profit' by Elias Levy, writing as Aleph One, explained buffer overflow exploits widely. The open-source Metasploit Framework, created by H.D. Moore in 2003, made exploits easy to use for penetration testers, and for attackers. Exploit markets grew, with brokers paying large sums for zero-day exploits. In 2017, the leaked NSA exploit EternalBlue was used in the WannaCry and NotPetya attacks, causing billions of dollars in damage. Today, the time between a flaw's disclosure and its exploitation is often measured in days. In my view, EternalBlue showed that governments hoarding exploits can end up arming criminals.