Skip to main content
QUICK REVIEW

[论文解读] SPARSE: Semantic Tracking and Path Analysis for Attack Investigation in Real-time

Jie Ying, Tiantian Zhu|arXiv (Cornell University)|May 4, 2024
Anomaly Detection Techniques and ApplicationsComputer Science被引用 3
一句话总结

SParse 提出了一种实时、低开销的系统,通过从流式日志构建可疑语义图(SSG)并应用路径级上下文分析,实现高效的 APT 攻击调查。该方法聚焦于语义可疑路径,减少误报和延迟,在 1.6 秒内构建出仅含 113 条边的图,相比回溯方法缩小了 2014 倍。

ABSTRACT

As the complexity and destructiveness of Advanced Persistent Threat (APT) increase, there is a growing tendency to identify a series of actions undertaken to achieve the attacker's target, called attack investigation. Currently, analysts construct the provenance graph to perform causality analysis on Point-Of-Interest (POI) event for capturing critical events (related to the attack). However, due to the vast size of the provenance graph and the rarity of critical events, existing attack investigation methods suffer from problems of high false positives, high overhead, and high latency. To this end, we propose SPARSE, an efficient and real-time system for constructing critical component graphs (i.e., consisting of critical events) from streaming logs. Our key observation is 1) Critical events exist in a suspicious semantic graph (SSG) composed of interaction flows between suspicious entities, and 2) Information flows that accomplish attacker's goal exist in the form of paths. Therefore, SPARSE uses a two-stage framework to implement attack investigation (i.e., constructing the SSG and performing path-level contextual analysis). First, SPARSE operates in a state-based mode where events are consumed as streams, allowing easy access to the SSG related to the POI event through semantic transfer rule and storage strategy. Then, SPARSE identifies all suspicious flow paths (SFPs) related to the POI event from the SSG, quantifies the influence of each path to filter irrelevant events. Our evaluation on a real large-scale attack dataset shows that SPARSE can generate a critical component graph (~ 113 edges) in 1.6 seconds, which is 2014 X smaller than the backtracking graph (~ 227,589 edges). SPARSE is 25 X more effective than other state-of-the-art techniques in filtering irrelevant edges.

研究动机与目标

  • 解决现有 APT 检测与因果分析系统中高误报率、高开销和高延迟的问题。
  • 缓解因包含数十亿条边的海量溯源图导致的依赖爆炸问题。
  • 在低内存和磁盘开销下实现实时攻击调查,满足 10 分钟最优响应窗口要求。
  • 通过聚焦可疑语义交互与路径级影响评分,识别关键攻击路径。
  • 提供一种可扩展、高效且准确的方法,从流式审计日志中构建关键组件图。

提出的方法

  • 基于语义转移规则,在基于状态的流式处理模式下构建可疑语义图(SSG),以捕捉可疑实体之间的交互。
  • 采用仅保留相关事件流的存储策略,最大限度减少内存与磁盘使用。
  • 从 SSG 中提取所有可从关注点(POI)事件到达的可疑流路径(SFPs)。
  • 通过路径级上下文分析量化每条路径的影响,对事件进行评分与过滤。
  • 采用两阶段框架:(1) 基于语义规则构建 SSG;(2) 基于路径的过滤以隔离关键组件。
  • 结合语义推理与影响评分的混合方法,优先识别攻击相关路径而非正常行为。

实验结果

研究问题

  • RQ1如何从海量流式审计日志中实时高效识别关键攻击事件?
  • RQ2哪些机制可在不依赖历史统计或人工规则调优的前提下,有效降低 APT 调查中的误报率?
  • RQ3路径级上下文分析能否有效过滤无关事件,同时保留攻击相关的依赖关系?
  • RQ4在大规模企业环境中,如何最小化溯源图分析的内存与磁盘开销?
  • RQ5基于语义的、流式感知的系统在攻击调查中,相较于回溯法与基于图的异常检测,能实现多大程度的性能超越?

主要发现

  • SParse 在 1.6 秒内构建出约 113 条边的关键组件图,相比回溯法图(227,589 条边)缩小了 2014 倍。
  • 通过过滤 25 倍于最先进技术的无关边,显著降低误报率。
  • 内存开销仅为 30MB,磁盘使用量为 21.03MB,展现出极低的资源消耗。
  • 攻击调查延迟为 1.58 秒,远低于 10 分钟最优响应窗口。
  • 通过语义与路径级分析,实现低误报率(FP = 99)与低漏报率。
  • 在真实 APT 数据集上,SParse 在准确率与效率方面均优于标签传播、基于异常评分及基于机器学习的方法。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。