[Paper Review] Enabling Efficient Attack Investigation via Human-in-the-Loop Security Analysis
Zebra introduces a human-in-the-loop security analysis system that synergistically integrates attack pattern search and causal dependency tracking using a domain-specific language (Tstl) to enable progressive, user-guided investigation of complex, long-range attack sequences. By combining expressive query capabilities with optimized execution over large audit logs, Zebra mitigates dependency explosion and accelerates timely forensic analysis in enterprise environments.
System auditing is a vital technique for collecting system call events as system provenance and investigating complex multi-step attacks such as Advanced Persistent Threats. However, existing attack investigation methods struggle to uncover long attack sequences due to the massive volume of system provenance data and their inability to focus on attack-relevant parts. In this paper, we present Raptor, a defense system that enables human analysts to effectively analyze large-scale system provenance to reveal multi-step attack sequences. Raptor introduces an expressive domain-specific language, ProvQL, that offers essential primitives for various types of attack analyses (e.g., attack pattern search, attack dependency tracking) with user-defined constraints, enabling analysts to focus on attack-relevant parts and iteratively sift through the large provenance data. Moreover, Raptor provides an optimized execution engine for efficient language execution. Our extensive evaluations on a wide range of attack scenarios demonstrate the practical effectiveness of Raptor in facilitating timely attack investigation.
Motivation & Objective
- To address the limitations of existing attack investigation tools that either fail to trace long-range attack sequences or suffer from dependency explosion due to lack of focus on attack-relevant events.
- To enable security analysts to iteratively alternate between search and tracking using domain-specific knowledge, thereby progressively refining attack reconstructions.
- To design a unified, expressive, and concise domain-specific language (Tstl) that supports both search and tracking with fine-grained control over event prioritization and dependency traversal.
- To optimize the execution of Tstl queries over large-scale system audit logs to ensure efficiency and scalability in real-world enterprise deployments.
Proposed method
- Zebra integrates system-level provenance data from OS kernel audit logs to construct a dependency graph representing interactions between system entities (e.g., processes, files, sockets).
- It introduces Tstl, a domain-specific language that supports both pattern-based search and causal dependency tracking with unified, concise syntax for specifying complex queries.
- Tstl enables users to express constraints on events, relationships, and traversal paths, including prioritization of attack-relevant entities to reduce noise and dependency explosion.
- The system employs an optimized query execution engine that efficiently processes Tstl queries over large volumes of audit data, supporting incremental and interactive analysis.
- Zebra supports a progressive investigation workflow where analysts can alternate between searching for malicious patterns and tracking causal chains from identified events.
- The architecture decouples user interaction from low-level data processing, allowing analysts to inspect and manipulate intermediate results for iterative refinement.
Experimental results
Research questions
- RQ1Can a unified domain-specific language effectively combine search and tracking capabilities for system audit log analysis in a way that supports user-guided, iterative investigation?
- RQ2How can dependency explosion in causal tracking be mitigated without sacrificing completeness or accuracy in long-range attack sequence reconstruction?
- RQ3To what extent can a domain-specific language like Tstl improve the expressiveness and efficiency of forensic analysis compared to general-purpose query languages or ad hoc scripting?
- RQ4How does the integration of search and tracking via Tstl impact the speed and accuracy of attack investigation in real-world attack scenarios?
Key findings
- Zebra successfully enables the reconstruction of long-range attack sequences that are infeasible to trace with traditional search-only or tracking-only approaches.
- The use of Tstl significantly reduces the number of irrelevant dependencies in tracking results by allowing analysts to prioritize attack-relevant entities and relationships.
- Evaluations on a broad set of attack cases demonstrate that Zebra facilitates faster and more accurate attack investigation compared to baseline methods.
- The optimized execution engine of Zebra enables efficient processing of large-scale audit logs, with performance suitable for real-time or near-real-time forensic analysis in enterprise systems.
- The progressive, interactive workflow supported by Zebra allows security analysts to refine their investigation iteratively, improving both precision and usability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.