Use it when the Security question has been narrowed to SIEM → Detection Rules. Capture exact source or entity, owner, provider/product version, event and ingest timestamps, expected fields or security outcome, pipeline state and the independent evidence needed to prove visibility or detection behavior.
Detection Rules
Detection Rules encode testable security hypotheses over telemetry using matches, thresholds, sequences, aggregations or behavioral logic, with explicit data dependencies, scope, exceptions, severity and validation criteria.
1. Detection rules encode suspicious patterns.
2. Detections as code with reviews and tests.
3. Map to ATT&CK.
4. Include triage guidance.
5. Retire noisy rules.
data → rule logic → alert + context
Context & applicabilityCommon mistakes · platform/version boundaries
A rule match shows available data satisfied configured conditions, but it does not show malicious intent, incident severity, complete attack coverage or source truth.
Suspicious evidence: field renamed, source delayed beyond window, threshold tuned to lab volume, exclusion suppresses attack, rule scheduler paused, duplicate events trigger, severity static, no negative tests or owner absent.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
security hypothesis → telemetry/data requirements → rule logic and scope → execution → match/evidence → alert → triage/investigation → tuning and regression test
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Detection rule firing ≠ confirmed malicious activity.
- Rule enabled ≠ rule executed on fresh, complete and correctly mapped data.
- Data in SIEM ≠ correctly parsed, normalized, enriched or available to the detection that matters.
- Analytic result ≠ confirmed incident; raw evidence and independent investigation remain required.
- Rule library mapped to ATT&CK — coverage
- Rule test results (atomic tests) — validation
- Rule version control — detections as code
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
A rule match shows available data satisfied configured conditions, but it does not show malicious intent, incident severity, complete attack coverage or source truth.
In depth
Detection rules define the conditions under which the SIEM creates an alert. Good rules target attacker behaviour, are precise enough to be actionable and are documented so analysts know what to do when they fire.
A rule should include:
| Element | Content |
|---|---|
| Logic | Query or correlation conditions |
| Purpose | Technique detected (ATT&CK ID) |
| Severity | Based on impact and confidence |
| False-positive notes | Known benign causes |
| Response guidance | First triage steps |
| Test data | Events that should trigger it |
Write rules as code (Sigma or the SIEM's native format) in Git, test them against sample events in CI, and review their alert volume and true-positive rate regularly.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in SIEM → Detection Rules. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/sp/800/92/final · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
SIEM → Detection Rules proof map
Fast source, pipeline, semantic and outcome boundaries for SIEM → Detection Rules.
| Boundary | Establish | Does not establish |
|---|---|---|
| Ingest | Source event reached the intended collection/raw path | Connector health does not prove complete telemetry |
| Structure | Parser and normalization produced validated fields while raw data remains available | Parse success does not prove semantic correctness |
| Context | Enrichment and correlation use known keys, freshness and time windows | Match or proximity does not prove attribution or causation |
| Detection | Rule executed over expected scope/data and produced evidence | Rule firing does not prove malicious activity |
| Workflow | Alert reached analyst and investigation preserved evidence/outcome | Alert closure does not prove incident resolution or future coverage |