Abstract
Modern enterprise security is challenged by the "semantic gap" between low-level system logs and high-level malicious behaviors. We present GID, a graph-based intrusion detection system that models massive process traces as a compact graph. By utilizing optimized random walks and path pattern generation, GID effectively identifies complex, multi-stage attacks like Advanced Persistent Threats (APTs). Evaluation on real-world datasets shows that GID achieves over 85% detection accuracy while maintaining high throughput, significantly outperforming existing sequence-based methods.
Introduction
Modern enterprise security systems face a significant challenge: the "semantic gap." System monitoring tools generate a firehose of low-level data—often exceeding 10,000 events per host every second—recording mundane actions like a process opening a file or connecting to a socket. However, actual cyber-attacks, such as Advanced Persistent Threats (APTs), are high-level behaviors composed of specific sequences of these low-level events spread over time.
Existing Intrusion Detection Systems (IDS) often fail because they focus on isolated "weird" events, missing the malicious chains of otherwise normal-looking actions. Furthermore, the sheer volume of data makes it nearly impossible to find these patterns without high false-positive rates.
Methodology
GID (Graph-based Intrusion Detection) treats system monitoring as a graph problem to bridge this gap. The system follows a multi-stage pipeline to transform raw logs into actionable security alerts.
Core Components
- Compact Graph Modeling: Instead of storing raw logs, GID builds a directed graph where nodes are entities (Processes, Files, Sockets) and edges represent interactions. This naturally compresses the data by removing redundant attributes.
- Path Pattern Generation: Users define "valid" path templates (e.g.,
File -> Process -> Internet Socket) to focus the search on known attack vectors like data exfiltration. - Random Walk with Restart (RWR): GID assigns entities "sender" and "receiver" scores using a random walk algorithm. An interaction is considered suspicious if it involves a rare flow of information, such as a common text editor suddenly reading a sensitive password file.
- Box-Cox Normalization: To ensure a fair "top-k" ranking, GID uses the Box-Cox power transformation to normalize anomaly scores across paths of different lengths.
- Threshold Algorithm (TA) Optimization: To handle massive data, GID uses an optimization scheme that finds the most suspicious paths without exhaustive searching, significantly speeding up discovery.
Experimental Evaluation
The system was evaluated using a massive, real-world enterprise dataset consisting of 157 GB of data from 33 UNIX machines over 72 hours. The ground truth included 300 injected attack sequences across 10 different scenarios, such as credential theft and data leakage.
Key Results
- High Accuracy: GID achieved an overall detection rate of 85%, significantly outperforming baselines like NGRAM and iBOAT, which struggled to reach 20% on the same data.
- Efficiency: The system is production-ready, capable of processing 2 million records per minute. The optimized version of the algorithm was roughly 26% faster than standard exhaustive search.
- Low False Alarms: A t-test-based validation step helps filter out suspicious-looking but ultimately benign system noise.
Conclusion
GID demonstrates that focusing on interactions rather than just entity identities is key to detecting modern cyber-threats. By moving from flat logs to a graph structure, GID reduces the search space while preserving the causal relationships necessary to detect multi-stage attacks. Future work will focus on refining the scoring system for high-privilege background daemons and testing against even more stealthy, long-term attacks.
Summary updated