NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Real-Time Alert Correlation with Type Graphs

Gianni Tedesco, Uwe Aickelin

TL;DR

This paper introduces a novel algorithm for correlating security alerts in real-time by using "type graphs" to model how different attack stages link together. By unifying the process of connecting existing alerts and hypothesizing missing ones into a single, high-efficiency indexing operation, the authors achieve processing speeds of over 100,000 alerts per second—fast enough to handle massive alert volumes without losing "low and slow" attacks.

What Problem Does This Paper Address?

Intrusion Detection Systems (IDS) are notorious for "alert fatigue." They generate a massive volume of low-level events, many of which are false positives. Furthermore, sophisticated attacks are often multi-stage; a single alert might just be one piece of a larger puzzle.

To solve this, researchers use alert correlation. There are two traditional ways to do this:

  1. Scenario-graphs: These map alerts to specific vulnerabilities on a specific network. They are fast but fragile—if the network configuration changes or the vulnerability scan is slightly off, the system breaks.
  2. Type-graphs: These use abstract models (e.g., "a port scan often precedes a buffer overflow"). They are more robust but historically slow, often requiring "batch processing" or "sliding windows" that might miss slow-moving attacks.

The authors tackle the challenge of making type-graph correlation work in real-time while also "filling in the blanks" when the IDS misses a middle step in an attack sequence (hypothesizing).

Methods

The core of the paper is a restructured type-graph algorithm that treats correlation as a stream-processing task rather than a batch job.

  • The Attack Model: Attacks are represented as vertices in a Directed Acyclic Graph (DAG). An edge exists if Attack A "prepares for" Attack B (e.g., a successful login prepares for a privilege escalation).
  • Novel Indexing: Instead of performing expensive multi-dimensional searches for every new alert, the authors use a custom in-memory indexing structure. They pre-calculate which combinations of alert attributes (like IP addresses and ports) matter for correlation and store them in balanced binary trees. This reduces the search for "prerequisites" to a series of fast lookups.
  • Unified Hypothesizing: If an alert arrives that looks like a "Step 3" but "Step 2" was never seen, the algorithm recursively searches backward through the graph to hypothesize the missing link. Unlike previous methods that did this as a separate, heavy post-processing step, this algorithm integrates it directly into the real-time pipeline.
  • Implicit Correlation: To save memory, the system avoids re-processing identical alerts that lead to the same consequences, effectively "collapsing" redundant data.

Datasets

The researchers evaluated their system using the Lincoln Labs 1.0 (LLDOS) dataset. To simulate a high-pressure, real-world environment, they took 855 "true" attack alerts and interspersed them into a massive stream of 1,000,000 randomly generated noise alerts. They tested this across two different network scales (Class B and Class C) to see how the increased "collision" of IP addresses affected performance.

Key Insights and Ideas

  • Efficiency over Windows: Most real-time systems use a "sliding window" (e.g., only look at the last 10 minutes of alerts) to stay fast. The authors show that with the right indexing, you don't need a window. This is crucial for detecting "low and slow" attacks that might take days or weeks to unfold.
  • The Power of Abstraction: By focusing on attack types rather than specific network vulnerabilities, the system remains functional even if the underlying network topology is unknown or changes.
  • Recursion as a Solution: By treating the "missing alert" problem as a recursive version of the "correlation" problem, they simplified the software architecture significantly, allowing for a more compact and maintainable implementation.

Key Results

  • Blazing Speed: The algorithm achieved a correlation rate of approximately 100,000 to 176,000 alerts per second. For context, this is orders of magnitude faster than the rate at which even the busiest IDS typically produces alerts.
  • Compact Output: Despite the million-alert noise stream, the system produced manageable output graphs, successfully filtering out "extraneous" alerts that didn't fit into any known attack patterns.
  • Robustness to Missing Data: In tests where entire categories of alerts were manually removed, the system was often able to reconstruct the attack path through hypothesizing, though accuracy naturally dropped as the "gaps" in the data became larger.

Limitations and Future Work

  • Short Sequence Fragility: The authors noted that for very short attack sequences, missing even one alert can lead to high false-negative rates, as there isn't enough context to "guess" the missing link accurately.
  • Graph Readability: While the algorithm is fast, the resulting graphs can still become quite large. The authors suggest that future work should focus on better "aggregation functions" to merge similar hyper-alerts into a single logical unit for human analysts.
  • External Evidence: The current model relies purely on IDS alerts. The authors suggest that incorporating other data sources (like system logs or vulnerability scans) as "constraints" could further reduce false positives in the hypothesizing stage.

Summary updated

BibTeX
@inproceedings{tedesco2008real,
  author = {Gianni Tedesco and Uwe Aickelin},
  title = {{Real-Time Alert Correlation with Type Graphs}},
  booktitle = {ICISS},
  year = {2008},
  url = {https://openreview.net/forum?id=QFoqLJRW5V},
}

Loading related content...

Figure