GapTracer: Unraveling RPC Obfuscations in Provenance Graphs for Attack Source Tracing

Jing Lu, Lui Sha, D. Li, Lin Yan, Jeff Z. Pan, Xiaoming Fu2025

Abstract

Intrusion detection systems (IDSes) commonly construct provenance graphs from system audit logs to identify attack events. However, most graph-based IDSes fail to adequately handle Remote Procedure Calls (RPCs), which significantly increase graph complexity. More critically, RPCs can obscure causal relationships between entities in the logs. Attackers often exploit this property to perform malicious operations while "concealing" their behaviors within provenance graphs, thereby complicating the tracing of attack sources. To address this challenge, we propose GapTracer, a novel approach that performs bi-directional analysis on provenance graphs to mitigate RPCinduced obfuscations and reveal attack sources. GapTracer first applies coarse-grained temporal inference in the reverse direction to aggregate RPC-related nodes. This inference leverages the inherently low latency of RPCs, enabling the reconstruction of multi-level process creation chains and nested RPC invocations. Next, GapTracer performs fine-grained behavioral analysis in the forward direction to pinpoint malicious operations. To achieve this, the behavioral analysis integrates graph noise filtering, transformer-based RPC pruning, and random forest-based maliciousness detection. We evaluate GapTracer on 7,305 real-world attacks where RPCs are used to obscure sources. Results show that GapTracer achieves 98.97% precision and 96.17% recall in identifying attack sources, demonstrating its effectiveness against RPC-based obfuscation.
BibTeX
@misc{lu2025gaptracer,
  author = {Jing Lu and Lui Sha and D. Li and Lin Yan and Jeff Z. Pan and Xiaoming Fu},
  title = {{GapTracer: Unraveling RPC Obfuscations in Provenance Graphs for Attack Source Tracing}},
  year = {2025},
  doi = {10.36227/techrxiv.176108083.30462514/v1},
}

Loading related content...

Figure