Reducing False Positives in Provenance-Based Intrusion Detection Systems
Abstract
Provenance-based Intrusion Detection Systems (PIDSes) have been widely used to detect Advanced Persistent Threats (APTs). The PIDSes typically construct provenance graphs based on system logs, learn patterns of benign processes from the provenance graphs, and identify processes whose patterns deviate from benign ones as anomalies. However, in real deployment, these PIDSes would produce many false positives (FPs), because they cannot distinguish between abnormal processes and benign processes with unknown patterns. In this paper, we propose SheepHunter to automatically distinguish between benign and malicious processes in PIDS alarms. We observe that benign processes are numerous and their behaviors are similar, while malicious processes are few in number, each with distinct behaviors. Based on the observation, SheepHunter represents processes as high-dimensional embedding vectors that can effectively characterize process behaviors, and then identifies false positives through analyzing the density of embeddings. Specifically, we devise a multi-dimensional process representation that captures execution context (e.g., function arguments), access control attributes (e.g., privilege level), and structural characteristics of the process within the provenance graph (e.g., node connectivity and causal dependencies). Then, we measure process behavior density in each dimension using a community splitting algorithm, and classify processes that exhibit high density across dimensions as false positives. We evaluate SheepHunter on two open-source datasets and the results demonstrate that SheepHunter can reduce FPs by an average of 43.8% for existing PIDSes.