EagleEye: Attention to Unveil Malicious Event Sequences from Provenance Graphs
Philipp Gysel, Candid Wüest, Kenneth Nwafor, Otakar Jašek, Andrey Ustyuzhanin, Dinil Mon Divakaran
TL;DR
EagleEye tackles scalable, interpretable malware detection on endpoints by modeling long attacker behavior sequences in provenance graphs. It combines graph enrichment with security features and command-line embeddings, processing data into 200-event windows fed to a lightweight encoder-only Transformer. The approach yields state-of-the-art detection on REE-2023 and DARPA-5D, with AUCs around $99.5$-$99.7\%$ and low false-positive rates, while providing attention-based explanations of suspicious events. The work emphasizes practical deployment with modest resource needs and contributes code and a new malware dataset for the community.
Abstract
Securing endpoints is challenging due to the evolving nature of threats and attacks. With endpoint logging systems becoming mature, provenance-graph representations enable the creation of sophisticated behavior rules. However, adapting to the pace of emerging attacks is not scalable with rules. This led to the development of ML models capable of learning from endpoint logs. However, there are still open challenges: i) malicious patterns of malware are spread across long sequences of events, and ii) ML classification results are not interpretable. To address these issues, we develop and present EagleEye, a novel system that i) uses rich features from provenance graphs for behavior event representation, including command-line embeddings, ii) extracts long sequences of events and learns event embeddings, and iii) trains a lightweight Transformer model to classify behavior sequences as malicious or not. We evaluate and compare EagleEye against state-of-the-art baselines on two datasets, namely a new real-world dataset from a corporate environment, and the public DARPA dataset. On the DARPA dataset, at a false-positive rate of 1%, EagleEye detects $\approx$89% of all malicious behavior, outperforming two state-of-the-art solutions by an absolute margin of 38.5%. Furthermore, we show that the Transformer's attention mechanism can be leveraged to highlight the most suspicious events in a long sequence, thereby providing interpretation of malware alerts.
