Abstract
Anomaly detection in event logs is a promising approach for intrusion detection in enterprise networks. By building a statistical model of usual activity, it aims to detect multiple kinds of malicious behavior, including stealthy tactics, techniques and procedures (TTPs) designed to evade signature-based detection systems. However, finding suitable anomaly detection methods for event logs remains an important challenge due to the complex, multi-faceted nature of the data: event logs are combinatorial, temporal, and heterogeneous. We propose DECADES (Dynamic, Heterogeneous, and Combinatorial model for Anomaly Detection in Event Streams), a specifically tailored statistical model that simultaneously addresses these characteristics. We demonstrate its effectiveness through experiments on a real dataset containing labeled red team activity, highlighting the importance of handling multiple data characteristics compared to state-of-the-art baselines.
Introduction
In modern enterprise cybersecurity, traditional signature-based detection systems are increasingly bypassed by sophisticated attackers. These adversaries often employ "living-off-the-land" tactics, utilizing legitimate administrative tools and processes to carry out malicious activities. Because these actions do not involve known malware signatures, they are difficult to detect. Anomaly detection—modeling "normal" behavior to identify deviations—offers a solution, but enterprise event logs present unique mathematical challenges that standard algorithms struggle to resolve.
The Complexity of Event Logs
Modeling network event logs effectively requires addressing three primary characteristics:
- Combinatorial Complexity: An event is not a single scalar but an interaction between multiple entities, such as a user, a source host, a destination host, and an authentication type. These are higher-order interactions rather than simple pairs.
- Heterogeneity: Different log sources (e.g., authentication logs vs. process creation logs) have different structures and semantics. Most models either ignore certain types or force them into a unified, lossy format.
- Non-stationarity (Concept Drift): Network environments are dynamic. New users, hardware, and software are constantly introduced, meaning a static model of "normal" behavior quickly becomes obsolete.
The DECADES Framework
To address these challenges, researchers from the French National Cybersecurity Agency (ANSSI) and Télécom Paris developed DECADES. The framework is built on several technical pillars designed to bridge the semantic gap in log data.
At its core, DECADES uses representation learning to map every entity (users, hosts, processes) into a shared latent embedding space. It models the probability of an entire event by decomposing it into a sequence of conditional probabilities. For instance, it might calculate the likelihood of a specific destination host given a known user and source host.
To handle heterogeneity, DECADES employs a Multi-Task Learning (MTL) approach, treating each log type as a separate but related task. An uncertainty-based weighting scheme automatically balances these tasks during training. Efficiency is maintained through Noise Contrastive Estimation (NCE), which transforms the expensive task of probability estimation over thousands of entities into a binary classification problem—distinguishing real events from generated "noise."
Experimental Evaluation
The model was evaluated using the Los Alamos National Laboratory (LANL) dataset, a massive 58-day real-world capture including labeled "red team" activities. The study focused on three critical event types: local authentications, remote authentications, and process creations.
Results and Discussion
DECADES significantly outperformed state-of-the-art baselines like Cadence and W-BEM. In terms of precision, DECADES achieved an AUC@1% of 0.497, nearly doubling the 0.291 achieved by Cadence. In a practical scenario with a daily investigation budget of 20,000 events, DECADES successfully flagged 64% of red team events, whereas the closest competitor only caught 34%.
Beyond raw performance, DECADES offers interpretability through its learned weights ($w_{ij}$), which reveal which entities are most predictive of others within specific contexts. For example, the model learned that the authentication type is a strong predictor of the destination host, reflecting the functional roles of different servers.
A key insight from the research is that heterogeneity is a feature, not a bug. Jointly modeling different event types improves the detection of anomalies in any single type, as the shared entity embeddings benefit from the broader multi-task context.
Conclusion
DECADES represents a significant step forward in modeling the complex reality of enterprise network logs. By treating different log types as related tasks and accounting for the higher-order interactions between entities, it provides a robust defense against stealthy lateral movement and other red-team tactics. Future work will focus on alert aggregation to reduce analyst fatigue and providing counterfactual explanations to make the model's outputs more actionable for security teams.
Summary updated