GID: Graph-based Intrusion Detection on Massive Process Traces for Enterprise Security Systems

Boxiang Dong, Zhengzhang Chen, Hui Wang, Lu-An Tang, Kai Zhang, Ying Lin, Haifeng Chen, Guofei Jiang · OpenReview

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.

The GID workflow pipeline transforms raw system monitoring files into validated abnormal event sequences through graph modeling and path discovery.

Core Components

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Accuracy comparison of GID against NGRAM and iBOAT baselines, demonstrating superior performance across various path lengths.

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

BibTeX
@misc{dong2016gid,
  author = {Boxiang Dong and Zhengzhang Chen and Hui Wang and Lu-An Tang and Kai Zhang and Ying Lin and Haifeng Chen and Guofei Jiang},
  title = {{GID: Graph-based Intrusion Detection on Massive Process Traces for Enterprise Security Systems}},
  year = {2016},
  eprint = {1608.02639},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1608.02639},
}
Figure