Research Library · Idea
Behavioural baselining
Behavioural baselining, also called anomaly detection and, for users and entities, UEBA, is the practice of learning a profile of normal behaviour from observed data and flagging deviations from it as possible security events. It contrasts with misuse detection, which matches precise descriptions of known attacks, such as signatures.12
Denning's 1987 intrusion-detection model is the classic statement. It rests on the hypothesis that security violations can be detected by monitoring audit records for abnormal patterns of system usage. A profile pairs a metric (an event counter, an interval timer or a resource measure) with a statistical model: fixed-limit operational models, mean and standard deviation, multivariate and Markov process models. The mean and standard deviation model flags a value beyond d standard deviations; by Chebyshev's inequality the probability of that for population moments is at most 1/d^2, so 0.0625 at d = 4. Denning noted that unusual usage can also have causes unrelated to security and named the false-alarm rate as a research objective.1
Sommer and Paxson's 2010 paper reports that deployed network intrusion detection was almost exclusively misuse detection, and lists reasons anomaly detection is hard: a high cost of errors, lack of training data, a semantic gap between a deviation and an actionable finding, variability of traffic and difficulty of evaluation. They argue that the strength of machine learning is finding activity similar to something previously seen, and that the premise that anomaly detection finds novel attacks does not hold with the generality commonly implied.2 Axelsson's base-rate arithmetic adds that at low prevalence even a small false-positive rate leaves most alarms false.3 Arp et al. document pitfalls that inflate published results.4
Techniques include statistical thresholds, mixture-model densities fitted with EM, and tree-based detectors: Isolation Forest isolates unusual points by few random splits.5 All of them rank how unusual a point is, not whether it is malicious.
Source · An Intrusion-Detection Model (opens in a new tab) · Dorothy E. Denning, IEEE Transactions on Software Engineering SE-13(2), pp. 222-232, February 1987
References
- An Intrusion-Detection Model (opens in a new tab) · IEEE Transactions on Software Engineering SE-13(2) · February 1, 1987 ↩ ↩
- Outside the Closed World: On Using Machine Learning For Network Intrusion Detection (opens in a new tab) · Sommer and Paxson, IEEE Symposium on Security and Privacy, 2010 · May 1, 2010 ↩ ↩
- The Base-Rate Fallacy and the Difficulty of Intrusion Detection (opens in a new tab) · Stefan Axelsson, ACM Transactions on Information and System Security 3(3), pp. 186-205 · August 1, 2000 ↩
- Dos and Don'ts of Machine Learning in Computer Security (opens in a new tab) · Arp et al., USENIX Security 2022 (arXiv) · November 30, 2021 ↩
- Isolation Forest (opens in a new tab) · Liu, Ting and Zhou (author-hosted copy) ↩
Research articles
- Before deep learning: a reader in the classical methods behind tabular machine learning, from nearest neighbours to gradient boosting · Machine learning
- Reasoning from samples: a reader in statistical inference from Bayes to the replication crisis · Data science & statistics
In the news
See what connects to it on the map of ideas →

SecSIG