Lune

USENIX Security2024Top-tier venue

MAGIC: Detecting Advanced Persistent Threats via Masked Graph Representation Learning

Zian Jia, Yun Xiong, Yuhong Nan, Yao Zhang, Jinjing Zhao, Mi Wen

Abstract

Advance Persistent Threats (APTs), adopted by most delicate attackers, are becoming increasing common and pose great threat to various enterprises and institutions. Data provenance analysis on provenance graphs has emerged as a common approach in APT detection. However, previous works have exhibited several shortcomings: (1) requiring attack-containing data and a priori knowledge of APTs, (2) failing in extracting the rich contextual information buried within provenance graphs and (3) becoming impracticable due to their prohibitive computation overhead and memory consumption. In this paper, we introduce MAGIC, a novel and flexible self-supervised APT detection approach capable of performing multi-granularity detection under different level of supervision. MAGIC leverages masked graph representation learning to model benign system entities and behaviors, performing efficient deep feature extraction and structure abstraction on provenance graphs. By ferreting out anomalous system behaviors via outlier detection methods, MAGIC is able to perform both system entity level and batched log level APT detection. MAGIC is specially designed to handle concept drift with a model adaption mechanism and successfully applies to universal conditions and detection scenarios. We evaluate MAGIC on three widely-used datasets, including both real-world and simulated attacks. Evaluation results indicate that MAGIC achieves promising detection results in all scenarios and shows enormous advantage over state-of-the-art APT detection approaches in performance overhead.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

18 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • KnowHow: Automatically Applying High-Level CTI Knowledge for Interpretable and Accurate Provenance Analysis cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • KnowHow: Automatically Applying High-Level CTI Knowledge for Interpretable and Accurate Provenance Analysis cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • KnowHow: Automatically Applying High-Level CTI Knowledge for Interpretable and Accurate Provenance Analysis cites Tactical Provenance Analysis for Endpoint Detection and Response Systems
  • OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMs cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMs cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMs cites Tactical Provenance Analysis for Endpoint Detection and Response Systems
  • Tactical Provenance Analysis for Endpoint Detection and Response Systems cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • Tactical Provenance Analysis for Endpoint Detection and Response Systems cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • Entente: Cross-silo Intrusion Detection on Network Log Graphs with Federated Learning cites NoDoze: Combatting Threat Alert Fatigue with Automated Provenance Triage
  • Entente: Cross-silo Intrusion Detection on Network Log Graphs with Federated Learning cites HOLMES: Real-Time APT Detection through Correlation of Suspicious Information Flows
  • Entente: Cross-silo Intrusion Detection on Network Log Graphs with Federated Learning cites Tactical Provenance Analysis for Endpoint Detection and Response Systems
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers18

  1. KnowHow: Automatically Applying High-Level CTI Knowledge for Interpretable and Accurate Provenance AnalysisYuhan Meng, Shaofei Li, Jiaping Gui, Peng Jiang et al.NDSS 2026 · 8 citations
  2. Towards Adaptive Neighborhood for Advancing Temporal Interaction Graph ModelingSiwei Zhang, Xi Chen, Yun Xiong, Xixi Wu et al.KDD 2024 · 6 citations
  3. Entente: Cross-silo Intrusion Detection on Network Log Graphs with Federated LearningJiacen Xu, Chenang Li, Yu Zheng, Zhou LiNDSS 2026 · 3 citations
  4. CAT: Can Trust be Predicted with Context-Awareness in Dynamic Heterogeneous Networks?Jie Wang, Zheng Yan, Jiahe Lan, Xuyan Li et al.NDSS 2026 · 2 citations
  5. OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMsAhmed Aly, Essam Mansour, Amr M. YoussefCCS 2025 · 2 citations

Builds on20

  1. HOLMES: Real-Time APT Detection through Correlation of Suspicious Information FlowsSadegh Momeni Milajerdi, Rigel Gjomemo, Birhanu Eshete, R. Sekar et al.S&P 2019 · 550 citations
  2. GraphMAE: Self-Supervised Masked Graph AutoencodersZhenyu Hou, Xiao Liu, Yukuo Cen, Yuxiao Dong et al.KDD 2022 · 533 citations
  3. NoDoze: Combatting Threat Alert Fatigue with Automated Provenance TriageWajih Ul Hassan, Shengjian Guo, Ding Li, Zhengzhang Chen et al.NDSS 2019 · 411 citations
  4. Self-supervised Heterogeneous Graph Neural Network with Co-contrastive LearningXiao Wang, Nian Liu, Hui Han, Chuan ShiKDD 2021 · 388 citations
  5. Tactical Provenance Analysis for Endpoint Detection and Response SystemsWajih Ul Hassan, Adam Bates, Daniel MarinoS&P 2020 · 317 citations

Related papers

  1. Unicorn: Runtime Provenance-Based Detector for Advanced Persistent ThreatsXueyuan Han, Thomas F. J.-M. Pasquier, Adam Bates, James Mickens et al.NDSS 2020
  2. PROGRAPHER: An Anomaly Detection System based on Provenance Graph EmbeddingFan Yang, Jiacen Xu, Chunlin Xiong, Zhou Li et al.USENIX Security 2023
  3. ProvG-Searcher: A Graph Representation Learning Approach for Efficient Provenance Graph SearchEnes Altinisik, Fatih Deniz, Hüsrev Taha SencarCCS 2023 · 32 citations
  4. DUPIN: Attack Learning Is Still Needed! Demonstrating Few-Shot after Unsupervised Pretraining Is A Nimble Forensics LearnerChanwoo Bae, Hailun Ding, Shiqing Ma, Xiangyu ZhangUSENIX Security 2026 · 1 citation
  5. Slot: Provenance-Driven APT Detection through Graph Reinforcement LearningWei Qiao, Yebo Feng, Teng Li, Zhuo Ma et al.CCS 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines