Detection Engineering
Cheat sheet · https://pcornel.dk/topic.php?topic=4878
Answer
Detection engineering designs, tests and tunes the rules and analytics that find attacker behaviour in logs and telemetry — signatures, behavioural and anomaly detections, Sigma and YARA — with low false positives.
Remember
- Behavioural detections outlast IOC-based ones.
- Every rule needs test data and a response.
- Tuning is ongoing, not a one-time job.
First checks
- Detection backlog and coverage map — ATT&CK
- Detection tests (Atomic Red Team in lab) — validation
- Rule repo with CI — detections as code
Verify in this order
threat → hypothesis → rule → test → deploy → tune
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=4878