Anomaly Detection
Cheat sheet · https://pcornel.dk/topic.php?topic=4613
Answer
Anomaly detection in IDS/IPS compares traffic with a model of normal behaviour and alerts on deviations, such as unusual protocols or volumes. It can catch new attacks but needs tuning to limit noise.
Remember
- Anomaly detection needs a learned baseline.
- It can find unknown attacks.
- It needs tuning to limit noise.
First checks
- Baseline of normal traffic — behaviour model
- NDR/UEBA anomaly alerts — deviations
zeek conn.log analysis— flows
Verify in this order
activity → compare with baseline → anomaly alert
Where it usually breaks
First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; 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=4613