Anomaly Detection
Cheat sheet · https://pcornel.dk/topic.php?topic=4887
Answer
Anomaly detection in detection engineering flags activity that deviates statistically from a learned baseline, such as unusual logon times or data volumes, catching unknown attacks at the cost of more false positives.
Remember
- Anomaly detection needs a good baseline.
- It can find attacks with no known signature.
- It produces more false positives than signatures.
First checks
- UEBA/anomaly alerts — deviations
- Statistical thresholds (z-score, percentiles) — method
- Investigation outcomes — precision
Verify in this order
activity → compare to baseline → anomaly score → alert
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=4887