Structural Leakage in Host Intrusion Alert Corpora: An Evaluation Framework for ATT&CK Technique and Tactic Mapping
This paper introduces a leakage-aware evaluation framework for mapping Wazuh host intrusion alerts to MITRE ATT&CK tactics and techniques, demonstrating that standard evaluation methods overestimate performance due to structural data leakage from rule identifiers and alert templates, while showing that tactic-level prediction remains robust when these biases are controlled.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the digital world, every computer and server leaves behind a trail of digital footprints whenever someone interacts with it. These footprints are called alerts, and they are the primary way security teams know something unusual is happening. Imagine a building with hundreds of security cameras; each time a door opens or a light flickers, a camera sends a message to a central monitor. In the cyber realm, these messages are generated by software that watches for suspicious activity, such as someone trying to guess a password or moving files they shouldn't touch. To make sense of this flood of information, security experts use a shared language called MITRE ATT&CK. This is not a piece of software, but a massive catalog of known criminal behaviors, organized like a library where every entry describes a specific tactic an attacker might use and the technique they employ to achieve it. The goal is to translate raw, confusing computer messages into clear stories about what an attacker is trying to do, allowing defenders to understand the threat and stop it.
However, a new study suggests that the way researchers have been testing their ability to translate these messages might be fundamentally flawed. Emad Sherif, a researcher at De Montfort University, investigated whether computer programs could successfully match these raw security alerts to the catalog of criminal behaviors. The study was conducted in a "Cyber Range," a controlled digital environment that mimics a real corporate network but is isolated from the outside world. Inside this digital sandbox, the researcher set up a simulation where an attacker moved through the network, performing actions like scanning for weaknesses, stealing passwords, and hiding their tracks. The security software, known as Wazuh, recorded every single alert generated during this attack, creating a dataset of over two thousand messages. The challenge was to see if an artificial intelligence could look at these messages and correctly identify which behavior from the catalog they represented.
The researcher discovered that previous attempts to solve this problem had likely relied on unintentional shortcuts, though unintentionally. In many computer experiments, data is split randomly into a training group and a testing group. The computer learns from the training group and is then tested on the unseen testing group to see how well it generalizes. In this specific type of security data, however, the alerts are not unique sentences written by humans; they are generated by fixed rules. If a rule says "alert when a password fails," it will produce the exact same text every time that event happens. The study found that in the dataset, the text of the alert and the rule that created it were so perfectly linked to the specific criminal behavior that a computer could simply memorize the rule and guess the answer with high accuracy. It was like a student taking a test where the question itself contained the answer. If the same rule appeared in both the training and testing groups, the computer wasn't actually learning to recognize the behavior; it was just recognizing the rule template.
To fix this, the researcher changed the rules of the experiment. Instead of splitting the data randomly, they grouped the alerts by the specific rule that generated them. This meant that if a particular rule was used to train the computer, that same rule was completely banned from the testing phase. The computer had to learn the underlying meaning of the behavior without being able to rely on the shortcut of recognizing the rule itself. When this stricter test was applied, the performance of the computer dropped significantly, revealing that the earlier high scores were indeed inflated. The results showed that while the computer could still identify broad categories of attack, such as "stealing credentials" or "hiding evidence," it struggled to pinpoint the specific, fine-grained techniques when it could not rely on memorizing the rule templates.
The study concluded that translating raw security alerts into a clear picture of criminal behavior is possible, but only if the evaluation is done with extreme care to prevent these structural shortcuts. The computer performed better at identifying the general goal of an attack, such as whether the attacker was trying to steal data or disrupt services, than at identifying the precise method used. This suggests that for security teams, these alerts are most useful for understanding the broad intent of an intruder rather than the minute details of their tools. The research serves as a crucial warning to the field: without controlling for these hidden patterns in the data, the tools designed to protect networks might appear far more capable than they truly are. The path forward involves building systems that can understand the context of an alert beyond its repetitive text, ensuring that when a security team sees a warning, it is based on genuine evidence of a threat rather than a statistical artifact of how the data was collected.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.