CyberGlossary

Vulnerabilities

Exploit

Also known as: Exploit code

Definition

A piece of code, data, or technique that takes advantage of a vulnerability to cause unintended behaviour such as code execution, privilege escalation, or information disclosure.

An exploit is the practical realization of a vulnerability — the recipe that turns a theoretical bug into a working attack. It may be a short script, a malicious document, a crafted network packet, or a complex multi-stage chain. Exploits are classified by purpose (remote code execution, local privilege escalation, denial of service, info-leak), by target (kernel, browser, IoT, web app) and by maturity (PoC, functional, weaponized, in-the-wild). Defenders study public exploits to validate patches, simulate attacks via penetration testing, build detection signatures, and prioritize remediation. Exploit databases such as Exploit-DB and Metasploit modules accelerate both offensive and defensive work.

Examples

  • A Metasploit module that exploits EternalBlue (CVE-2017-0144).
  • A malicious PDF that exploits a JavaScript engine bug to run shellcode.

Related terms