Skip to main content

Detection Framework

Status: Scaffold — content in progress

This page defines the detection engineering standards used across all detection pages in this handbook.

Detection Readiness Levels (DRL)

The DRL model (from the CTI Analyst Field Manual) defines the maturity of a detection:

DRLLevelDescription
0No telemetryAttack is not detectable with current logging
1Log source identifiedKnow which log source would catch it; not yet enabled
2Log source enabledLog source active but no detection logic written
3Rule draftedInitial detection logic written, not tested
4Rule tested in labRule fires on synthetic or lab data
5Rule tested against real dataValidated against production-representative data
6False positives documentedFP baseline established
7TunedFPs reduced, alert quality acceptable
8In SOC queueActive detection, analyst acknowledges
9ProductionTested, tuned, SOC SLA, response playbook

Only DRL-9 is production coverage. DRL 4–7 is the typical range for content in this handbook.

Detection Page Structure

Every detection page includes:

  1. Paired Attack: link to the attack page
  2. DRL Level: current detection maturity
  3. Required Telemetry: log sources and specific Event IDs / API log fields
  4. Sigma Rule: vendor-neutral detection logic
  5. KQL: Microsoft Sentinel or MDE query
  6. SPL: Splunk query
  7. False Positive Handling: known benign causes and tuning guidance
  8. Response Actions: initial actions on alert

Telemetry Priority Stack

For AD environments:

1. Windows Security Event Log (primary — 4624, 4625, 4768, 4769, 4776, 4662, 5136)
2. Sysmon (process, network, registry — augments Security log)
3. Microsoft Defender for Identity (MDI) — behavioral detections
4. Network (DNS, SMB, LDAP at wire level)

For cloud environments:

1. Entra ID Sign-in logs (authentication events, CA outcomes, MFA)
2. Entra ID Audit logs (config changes, role assignments)
3. Microsoft 365 Unified Audit Log (OAuth, mailbox, admin activity)
4. Microsoft Defender XDR (endpoint + identity correlation)

Rule Quality Standards

  • Every Sigma rule must have a level (critical/high/medium/low) and status (stable/test/experimental)
  • Every rule must have at least one false positive listed
  • KQL rules must include a time window and aggregation where appropriate
  • Rules marked DRL-9 must have a corresponding response playbook reference
TopicLink
AD Attack Detectiondetect-kerberoasting
Cloud Attack Detectiondetect-device-code-phishing