[论文解读] MAGIC: Detecting Advanced Persistent Threats via Masked Graph Representation Learning
MAGIC 提出一种自监督、掩码图表示学习的方法,用于从溯源图中检测 APT,能够以低开销实现多粒度检测,并对概念漂移具有鲁棒性。
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.
研究动机与目标
- 通过提出一种自监督检测方法,解决缺乏包含攻击的数据和先验的 APT 知识的问题。
- 对溯源图中的丰富上下文信息建模,以在提高检测准确性的同时减少误报。
- 实现多粒度的 APT 检测(批量日志级和系统实体级),并具备可扩展的计算能力。
- 提供可选的模型自适应机制,以处理概念漂移并融入分析员反馈。
- 在真实世界和模拟数据集上展示低开销下的实用性与有效性。
提出的方法
- 从审计日志构建溯源图,进行降噪并基于标签的初始嵌入。
- 使用图形掩码自编码器(编码器-解码器)通过掩码特征重构和基于样本的结构重构来学习正常行为嵌入。
- 应用两个阶段的训练目标 L = L_fr + L_sr,以自监督方式训练图表示模块。
- 对节点(系统实体)进行表示并聚合,获得节点嵌入和用于批量日志级检测的系统状态嵌入。
- 使用 k-d 树在嵌入上执行离群检测,以在批量或实体级任务中区分良性与异常模式。
- 可选地通过融入分析员反馈和记忆折扣来实现概念漂移处理的模型自适应机制。
实验结果
研究问题
- RQ1在没有攻击数据的情况下,自监督的掩码图表示学习是否能够有效建模良性溯源图以进行 APT 检测?
- RQ2哪种粒度水平(批量日志级还是系统实体级)在检测准确性和计算效率之间提供最佳权衡?
- RQ3在真实和模拟的 APT 数据集上,MAGIC 在检测精度/召回率和开销方面与最先进方法相比表现如何?
- RQ4模型自适应机制是否提高了对概念漂移的鲁棒性并随时间降低误报?
主要发现
- MAGIC 在评估数据集上的实体级 APT 检测达到 97.26% 的精确率和 99.91% 的召回率。
- MAGIC 开销极小,明显快于最先进的方法(例如比 ShadeWatcher 快 51 倍)。
- MAGIC 在真实世界(DARPA E3)和模拟数据集(StreamSpot、Unicorn Wget)上保持性能。
- 该方法支持多粒度检测(批量日志和实体级)以及灵活的监督级别。
- 可选的模型自适应机制有助于缓解概念漂移并融入分析员反馈以提高鲁棒性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。