← Blog
// BLUE TEAM · DETECCIÓN

From a CVE to a detection: from the advisory to a rule that catches the attack

Published Aug 18, 2026 · 8 min read
Blue TeamDetecciónCVE

A critical CVE drops, you prioritize it (EPSS, KEV, your exposure) and patch what you can. But patching takes time, and meanwhile you need to know if you're being attacked through it. The problem: a CVE advisory describes what breaks, almost never how to detect it. Here's the method to close that gap.

The advisory has more clues than it seems

Before writing anything, extract four things from the CVE text:

A command injection in an appliance's HTTP API with RCE translates, almost by itself, into: suspicious request to the service port → the service process spawns sh/cmd → unexpected outbound connection.

From clues to concrete signals

Now map each clue to telemetry you already have:

An anomalous parent (a web server suddenly parenting cmd.exe) is usually a better signal than the exact exploit signature: payloads mutate, behavior less so.

🌉 To start fast: paste a CVE's id and description into the CVE → detection bridge and it suggests ports, event IDs, ATT&CK tactics and a Sigma rule skeleton. These are suggestions / a starting point, not a finished detection: complete it with the real indicators.

The Sigma skeleton, then to your SIEM

Sigma lets you write the rule once and convert it to KQL, SPL, Elastic or Wazuh. A typical skeleton for the case above:

title: Possible exploitation of CVE-XXXX-YYYY (appliance RCE)
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    ParentImage|endswith: '\httpd.exe'
    Image|endswith:
      - '\cmd.exe'
      - '\powershell.exe'
  condition: selection
level: high
falsepositives:
  - Legitimate admin scripts of the service itself

Fill in the real ParentImage, tune the selection and document false positives. Before pushing it, measure it.

⚒️ Refine the skeleton in Sigma Forge (and export it to KQL/SPL/Lucene/EQL/Wazuh), and grade it with the detection linter so it doesn't drown you in false positives.

Don't forget the network signal

Many exploits show up better going out than coming in: the compromised appliance calling a new IP (Sysmon 3, or your firewall/proxy logs). Pair the host signal with the network one and you'll have a detection far more robust than any payload signature.

Checklist

Patching closes the door; detecting tells you who tried to get in while you were closing it. You need both.

Share: LinkedIn X
Sergio Belmonte Morales
Sergio Belmonte Morales
Cybersecurity Analyst · SOC · Sentinel/KQL specialist