[Paper Review] SPARSE: Semantic Tracking and Path Analysis for Attack Investigation in Real-time
SParse proposes a real-time, low-overhead system for efficient APT attack investigation by constructing a Suspicious Semantic Graph (SSG) from streaming logs and applying path-level contextual analysis to extract critical component graphs. It reduces false positives and latency by focusing on semantically suspicious paths, achieving a 2014× smaller graph (113 edges) in 1.6 seconds compared to backtracking methods.
As the complexity and destructiveness of Advanced Persistent Threat (APT) increase, there is a growing tendency to identify a series of actions undertaken to achieve the attacker's target, called attack investigation. Currently, analysts construct the provenance graph to perform causality analysis on Point-Of-Interest (POI) event for capturing critical events (related to the attack). However, due to the vast size of the provenance graph and the rarity of critical events, existing attack investigation methods suffer from problems of high false positives, high overhead, and high latency. To this end, we propose SPARSE, an efficient and real-time system for constructing critical component graphs (i.e., consisting of critical events) from streaming logs. Our key observation is 1) Critical events exist in a suspicious semantic graph (SSG) composed of interaction flows between suspicious entities, and 2) Information flows that accomplish attacker's goal exist in the form of paths. Therefore, SPARSE uses a two-stage framework to implement attack investigation (i.e., constructing the SSG and performing path-level contextual analysis). First, SPARSE operates in a state-based mode where events are consumed as streams, allowing easy access to the SSG related to the POI event through semantic transfer rule and storage strategy. Then, SPARSE identifies all suspicious flow paths (SFPs) related to the POI event from the SSG, quantifies the influence of each path to filter irrelevant events. Our evaluation on a real large-scale attack dataset shows that SPARSE can generate a critical component graph (~ 113 edges) in 1.6 seconds, which is 2014 X smaller than the backtracking graph (~ 227,589 edges). SPARSE is 25 X more effective than other state-of-the-art techniques in filtering irrelevant edges.
Motivation & Objective
- To address the high false positive, high overhead, and high latency issues in existing APT detection and causality analysis systems.
- To reduce the dependency explosion problem caused by massive provenance graphs with billions of edges.
- To enable real-time attack investigation with low memory and disk overhead, meeting the 10-minute optimal response window.
- To identify critical attack paths by focusing on suspicious semantic interactions and path-level influence scoring.
- To provide a scalable, efficient, and accurate method for constructing critical component graphs from streaming audit logs.
Proposed method
- Constructs a Suspicious Semantic Graph (SSG) in a state-based streaming mode using semantic transfer rules to capture interactions between suspicious entities.
- Applies a storage strategy that retains only relevant event flows to minimize memory and disk usage.
- Extracts all Suspicious Flow Paths (SFPs) from the SSG that are reachable from the Point of Interest (POI) event.
- Quantifies the influence of each path using path-level contextual analysis to score and filter irrelevant events.
- Uses a two-stage framework: (1) SSG construction via semantic rules, and (2) path-based filtering to isolate critical components.
- Employs a hybrid approach combining semantic reasoning and influence scoring to prioritize attack-relevant paths over normal behavior.
Experimental results
Research questions
- RQ1How can we efficiently identify critical attack events in real-time from massive streaming audit logs?
- RQ2What mechanisms can reduce false positives in APT investigation without relying on historical statistics or manual rule tuning?
- RQ3Can path-level contextual analysis effectively filter irrelevant events while preserving attack-relevant dependencies?
- RQ4How can we minimize memory and disk overhead in provenance graph analysis for large-scale enterprise environments?
- RQ5To what extent can a semantic-based, streaming-aware system outperform backtracking and graph-based anomaly detection in attack investigation?
Key findings
- SParse constructs a critical component graph of approximately 113 edges in 1.6 seconds, which is 2014× smaller than the backtracking graph (227,589 edges).
- The system reduces false positives by filtering 25× more irrelevant edges compared to state-of-the-art techniques.
- Memory overhead is only 30MB and disk usage is 21.03MB, demonstrating low resource consumption.
- Attack investigation latency is 1.58 seconds, well within the optimal 10-minute response window.
- The system achieves low false positive (FP = 99) and low false negative rates through semantic and path-level analysis.
- SParse outperforms label propagation, anomaly score-based, and machine learning-based methods in both accuracy and efficiency on real APT datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.