A Novel Data Mining-Based Method for Alert Reduction and Analysis

Fu Xiao, Shi Jin, Xie LiJournal of Networks 2009

TL;DR

This paper introduces a novel method for reducing the overwhelming number of alerts generated by Intrusion Detection Systems (IDS) by employing outlier detection. The approach effectively filters out false positives by identifying patterns in benign alerts, leading to a more manageable and actionable alert stream for security analysts.

What Problem Does This Paper Address?

Modern security systems, including IDS, generate a massive volume of alerts daily. A significant portion (up to 99%) of these alerts are often false positives, meaning they are triggered by benign events rather than actual attacks. This "alert flood" makes it incredibly difficult for system managers to sift through the noise, identify genuine threats, and react in a timely manner. Existing methods for alert reduction often require extensive labeled training data, domain expertise, or operate offline, delaying responses. This paper aims to address these limitations by proposing an unsupervised, real-time, and adaptive method for alert reduction and analysis.

Methods

The core of the proposed method is an outlier detection technique adapted for IDS alerts. Specifically, they leverage a Frequent Pattern-based Outlier Detection (FP-Outlier) algorithm. The key idea is that alerts triggered by normal network behavior (false positives) tend to share common patterns in their attributes.

Here's a breakdown of their approach:

  • FP-Outlier Adaptation: Instead of using frequent itemsets to identify "normal" data (as in traditional FP-Outlier), they use frequent attribute value combinations from historical alerts as features of false positives. Alerts that exhibit these frequent patterns are more likely to be false positives.
  • Weighted Attributes: Recognizing that different alert attributes have varying importance in determining if an alert is a false positive, they introduce attribute weighting. For instance, an alert type might be a stronger indicator of a false positive than a specific destination port.
  • Common Feature Factor (CFF): A score, the Common Feature Factor (CFF), is calculated for each alert. This score quantifies the likelihood of an alert being a false positive based on the weighted frequent patterns it contains.
  • Three-Phrase Framework:
    1. Learning Phrase: This phase builds the initial feature set of false positives and establishes a threshold for identifying true alerts. It involves mining frequent patterns from a sample of alerts and filtering out patterns associated with "frequent attacks" (which could be legitimate but repetitive attack patterns).
  • Online Filtering Phrase: New alerts are processed in real-time. Their CFF score is calculated and compared against the established threshold. Alerts below the threshold are considered true alerts; those above are discarded. The feature set is dynamically updated to adapt to evolving alert patterns.
  • Root Cause Analysis Phrase: The mined frequent patterns (features of false positives) are presented to managers to help them understand why certain alerts are being triggered incorrectly.

Datasets

  • DARPA 2000 Dataset: Used for initial validation and parameter tuning. Specifically, phrase 2 to phrase 4 from DMZ in LLDOS 1.0 were utilized.
  • Real-world Dataset: Collected over two weeks from the authors' laboratory network, consisting of alerts from a network-based IDS (Snort). This dataset was used to evaluate the model's performance on more realistic and potentially noisier data.

Key Insights and Ideas

  • False Positives as "Normal" Patterns: The counter-intuitive insight is that false positives, being triggered by benign events, often exhibit more consistent and frequent patterns than actual attacks. This makes them ideal candidates for outlier detection where "outliers" are actually the true alerts.
  • Attribute Weighting for Granularity: Not all alert attributes are created equal. Assigning weights allows the model to prioritize more indicative attributes, leading to more accurate false positive identification.
  • Dynamic Feature Set for Adaptability: The alert landscape changes. A static feature set would quickly become obsolete. The dynamic updating mechanism allows the model to learn new false positive patterns and adapt to evolving network behaviors.
  • Root Cause Analysis as a Byproduct: The method naturally provides insights into the characteristics of false positives, which can directly help security analysts understand the underlying causes of these erroneous alerts, a feature often missing in other reduction techniques.

Key Results

  • DARPA 2000 Dataset: The model achieved an 86% reduction rate while retaining 100% of true alerts. The soundness was reported as 71%.
  • Real-world Dataset: Demonstrated an even higher reduction rate (92%) with 100% completeness. The soundness was 50% on this dataset, which the authors attribute to more intrusions and redundancy in real-world traffic compared to the synthetic DARPA data.
  • Comparison with Other Methods: The proposed method outperformed existing approaches in terms of real-time processing capability and comparable or better reduction rates, while requiring less human assistance and no labeled data.

Limitations and Future Work

  • Soundness Improvement: The authors acknowledge that the soundness (correctly identifying true alerts among those not filtered) is not perfect and is an area for future research. They believe improving the accuracy of the feature set and the FP score calculation can enhance soundness.
  • Automated Weight Setting: Currently, attribute weights are set semi-automatically. Developing a fully automated method for weight assignment is a future goal, though they note that existing automated methods can be computationally expensive.
  • Discovering Root Causes Automatically: While the feature set aids in manual root cause analysis, the authors aim to develop an automatic way to identify these causes.
  • Handling Frequent Attacks: The current method filters out patterns associated with "frequent attacks" to avoid misclassifying them as false positives. However, new or unknown attacks that share features with false positives might still be missed.
  • Scalability and Multiple IDS: Further experiments with alerts generated by multiple IDS are planned to assess the model's broader applicability.

Summary updated

Abstract

Current system managers often have to process huge amounts of alerts per day, which may be produced by all kinds of security products, network management tools or system logs. This has made it extremely difficult for managers to analyze and react to threats and attacks. So an effective technique which can automatically filter and analyze alerts has become urgent need. This paper presents a novel method for handling IDS alerts more efficiently. It introduces a new data mining technique, outlier detection, into this field, and designs a special outlier detection algorithm for identifying true alerts and reducing false positives (i.e. alerts that are triggered incorrectly by benign events). This algorithm uses frequent attribute values mined from historical alerts as the features of false positives, and then filters false alerts by the score calculated based on these features. We also proposed a three-phrase framework, which not only can filter newcome alerts in real time, but also can learn from these alerts and automatically adjust the filtering mechanism to new situations. Moreover our method can help managers analyze the root causes of false positives. And our method needs no domain knowledge and little human assistance, so it is more practical than current ways. We have built a prototype implementation of our method. Through the experiments on DARPA 2000, we have proved that our model can effectively reduce false positives. And on real-world dataset, our model has even higher reduction rate. By comparing with other alert reduction methods, we believe that our model has better performance.
BibTeX
@article{xiao2009novel,
  author = {Fu Xiao and Shi Jin and Xie Li},
  title = {{A Novel Data Mining-Based Method for Alert Reduction and Analysis}},
  journal = {Journal of Networks},
  year = {2009},
  doi = {10.4304/jnw.5.1.88-97},
}
Figure