用图神经网络和大模型从日志中重构攻击故事,更准且可读。
OCR-APT: Reconstructing APT Stories from Audit Logs using Subgraph Anomaly Detection and LLMs
- 基于子图异常检测,学习行为模式而非脆弱属性
- 在三个数据集上检测准确率超越现有系统
- 生成连贯攻击叙事,适合安全分析人员使用
高级持续性威胁(APTs)是难以被系统审计日志发现的隐蔽攻击。溯源图将日志表示为连接的实体与事件,揭示线性日志所忽略的关系。现有系统虽在图上应用异常检测,但常存在高误报率和粗粒度告警问题,依赖文件路径或IP等节点属性导致虚假关联,降低检测鲁棒性。为全面理解攻击流程与影响,安全分析师需要能生成准确、类人叙述的系统。为此,我们提出OCR-APT,一个用于APT检测与人类级攻击故事重构的系统。OCR-APT采用图神经网络(GNNs)进行子图异常检测,学习节点周围的动态行为模式,而非依赖易变的属性如文件路径或IP,从而提升检测鲁棒性。随后,通过大型语言模型(LLMs)迭代重构多阶段攻击故事,并在每阶段进行验证,减少幻觉,确保报告可解释性。在DARPA TC3、OpTC与NODLINK数据集上的评估表明,OCR-APT在检测准确率和告警可解释性方面均优于当前最先进系统,且能生成完整、类人的攻击报告。
原文摘要 · Abstract (English)
Advanced Persistent Threats (APTs) are stealthy cyberattacks that often evade detection in system-level audit logs. Provenance graphs model these logs as connected entities and events, revealing relationships that are missed by linear log representations. Existing systems apply anomaly detection to these graphs but often suffer from high false positive rates and coarse-grained alerts. Their reliance on node attributes like file paths or IPs leads to spurious correlations, reducing detection robustness and reliability. To fully understand an attack's progression and impact, security analysts need systems that can generate accurate, human-like narratives of the entire attack. To address these challenges, we introduce OCR-APT, a system for APT detection and reconstruction of human-like attack stories. OCR-APT uses Graph Neural Networks (GNNs) for subgraph anomaly detection, learning behavior patterns around nodes rather than fragile attributes such as file paths or IPs. This approach leads to a more robust anomaly detection. It then iterates over detected subgraphs using Large Language Models (LLMs) to reconstruct multi-stage attack stories. Each stage is validated before proceeding, reducing hallucinations and ensuring an interpretable final report. Our evaluations on the DARPA TC3, OpTC, and NODLINK datasets show that OCR-APT outperforms state-of-the-art systems in both detection accuracy and alert interpretability. Moreover, OCR-APT reconstructs human-like reports that comprehensively capture the attack story.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。