TL;DR
This paper introduces CAR, a novel framework for ranking alerts from anomaly detection systems. CAR simultaneously leverages temporal and content correlations between alerts to filter false positives and reconstruct complex attack scenarios, outperforming existing methods in identifying true positive alerts.
What Problem Does This Paper Address?
Modern information systems generate a massive volume of low-level, heterogeneous categorical alerts from various anomaly detection systems. This deluge of data presents a significant challenge for end-users, making it difficult to:
- Filter out false positives: Many alerts are triggered by benign events but are flagged as suspicious.
- Understand complex relationships: Alerts often represent steps in a larger, multi-stage attack or abnormal behavior, and their connections are not always obvious.
- Reconstruct abnormal scenarios: Identifying the sequence of events that constitute a real threat is crucial for effective response.
Existing approaches often focus on either filtering false positives or reconstructing scenarios, but rarely do both simultaneously. This paper aims to bridge this gap by developing a unified framework that can effectively rank alerts and identify meaningful patterns of abnormal behavior.
Methods
CAR employs a three-step approach to tackle the problem:
- Temporal Dependency Modeling:
- A prefix tree-based model is used to capture both short-term and long-term temporal dependencies within alert sequences. This allows for the identification of abnormal action sequences.
- A hierarchical Bayesian model (specifically, Pitman-Yor processes) is employed to estimate the probability distributions within the prefix tree, addressing the challenge of sparse data for rare abnormal scenarios.
- Alert patterns (sequences of alerts) are searched for within this temporal structure, with their dependency strength quantified.
- Content Dependency Modeling:
- An embedding-based model is developed to learn the semantic relationships between heterogeneous categorical attributes of alerts. This captures content correlations.
- Entities within alerts (e.g., processes, files, IP addresses) are embedded into a latent space, allowing for similarity measurement using standard metrics.
- A Softmax function is used to model entity co-occurrences, and negative sampling is applied to efficiently train this model.
- Collaborative Alerts Ranking:
- A unified optimization framework is proposed to integrate both temporal and content dependencies.
- This framework simultaneously computes confidence scores for individual alerts and identified alert patterns.
- The objective is to maximize the consensus between temporal structures (prioritizing patterns with high temporal dependency) and content similarities (ensuring similar alerts have similar confidence scores).
- The problem is formulated as a quadratic programming problem, which can be solved efficiently.
Datasets
- Real-world enterprise security monitoring data: The paper uses data generated by 10 intrusion detectors monitoring 173 machines over one month, resulting in 3,322 alerts. This data includes only 41 true positive alerts corresponding to three different attack types.
- Simulated attack data: The authors created a testbed with professional Russian hackers to generate 9 intrusion attacks across three different types (Emulating Enterprise Environment - EEE, Diversifying Attack Vectors - DAV, and Domain Controller Penetration - DCP), each with varying numbers of attack steps.
Key Insights and Ideas
- Synergy of Temporal and Content: The core insight is that combining temporal and content analysis of alerts is more powerful than either approach alone. Temporal analysis helps identify sequences, while content analysis helps group similar events and filter noise.
- Unsupervised Learning is Key: The framework is designed to be unsupervised and data-driven, meaning it doesn't require pre-labeled training data, which is often scarce in real-world security scenarios.
- Hierarchical Bayesian Models for Sparse Data: Using Pitman-Yor processes in the prefix tree helps to learn robust temporal models even when abnormal events are rare.
- Embedding for Heterogeneous Data: Embedding categorical attributes into a latent space provides a principled way to measure similarity between diverse alert types.
- Unified Optimization: Formulating the ranking as a single optimization problem ensures that temporal and content information are balanced to produce a holistic confidence score.
Key Results
- Improved True Positive Detection: CAR significantly outperforms baseline methods in detecting true positive alerts, achieving AUC values up to 0.998 for ROC and 0.843 for PRC. This represents a substantial improvement over methods like NGRAM (0.440 ROC AUC) and Embedding (0.353 ROC AUC).
- Effective Scenario Reconstruction: CAR successfully reconstructs attack scenarios, identifying high-ranked alert patterns that closely correspond to the actual attack steps. For example, it recovered 4 out of 5 steps for the DCP attack and 4 out of 7 for the EEE attack, with missed alerts often due to missing detectors.
- Robustness to Parameters: The performance of CAR is relatively insensitive to the choice of the pre-defined integer K (controlling alert score sparsity), and shows only marginal improvements with increasing Lmax (maximum pattern length) beyond a certain point.
Limitations and Future Work
- Detector Coverage: The effectiveness of scenario reconstruction is limited by the types of alerts generated by the available detectors. If certain steps of an attack do not produce any alerts, CAR cannot reconstruct them.
- Memory Monitoring: The paper notes that the lack of memory monitoring detectors in their testbed prevented the full reconstruction of certain attack steps.
- Future Work: The authors suggest incorporating raw event data (beyond just alerts) into the abnormal scenario reconstruction process as a promising direction for further exploration.
Summary updated