Pcornel
Security · Detection Engineering

Detection Tuning

Cheat sheet · https://pcornel.dk/topic.php?topic=4888

Back to the Topic

Answer

Detection tuning adjusts rules to cut false positives without losing real detections: add precise exclusions, adjust thresholds, enrich with context and retire rules that never produce useful alerts.

Remember

  • Use precise exclusions, not broad ones.
  • Enrichment helps analysts decide.
  • Retire rules that never produce useful alerts.

First checks

  • Rule performance metrics (TP/FP) — quality
  • Tuning change log — history
  • Regression tests after tuning — no lost detections

Verify in this order

alerts → analysis → tuned rule → re-test

Where it usually breaks

First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4888

Confirmation

Confirm action

Continue?