TL;DR
When investigating cyberattacks, security teams often offload heavy log-based causality analysis to the cloud, but what happens if the cloud provider is compromised or malicious? vCause introduces a highly efficient, verifiable auditing framework that allows administrators to cryptographically validate cloud-computed causality results. By utilizing novel authenticated data structures, vCause ensures complete data integrity while introducing less than 1% computational overhead on local endpoints and just 3.36% on the cloud.
What Problem Does This Paper Address?
To detect and reconstruct complex cyberattacks like Advanced Persistent Threats (APTs), security administrators use system event logs to build versioned provenance graphs. These graphs track how data flows between processes, files, and network sockets over time. Because enterprise networks generate massive volumes of log data (often tens of gigabytes daily), companies typically offload graph storage and causality analysis to the cloud.
However, the cloud cannot always be trusted. A sophisticated attacker who has infiltrated the cloud infrastructure might delete or alter logs to erase their tracks. Alternatively, a lazy or misconfigured cloud provider might silently drop data to save computing resources.
Existing defenses fall short:
- Tamper-evident logging requires administrators to download the entire raw log history from the cloud and recompute the entire graph locally to verify a single query—a massive efficiency bottleneck.
- Trusted Execution Environments (TEEs) like Intel SGX suffer from severe performance degradation due to frequent, costly context switches when processing large-scale graph queries inside secure enclaves.
vCause bridges this gap by enabling direct, lightweight validation of cloud-side causality analysis without requiring full log retrieval or heavy hardware enclaves.
Methods
vCause splits the auditing process into four distinct phases across three parties: endpoint loggers, the cloud, and a remote administrator.
To make causality analysis verifiable, the authors designed two core authenticated data structures:
1. Hierarchical Graph Accumulator (GA)
Causality queries are inherently "time-fuzzy" (e.g., "find the version of this file closest to time $t$"). Standard Merkle trees only support single-keyword exact matches. vCause solves this with a hierarchical tree structure:
- Locally: Each system entity gets its own indexed Merkle tree where nodes are sorted and indexed by their creation timestamps.
- Globally: A top-level Merkle tree aggregates the roots of these local trees, indexed by entity IDs.
By combining proofs from both levels, the administrator can verify that the cloud located the exact "point-of-interest" node requested. To handle the continuous stream of new logs efficiently, the authors developed the DIM-Tree (Dynamic Indexed Merkle Tree), which uses a multi-subtree design to achieve near-constant ($O(1)$ amortized) node insertion times.
2. Verifiable Versioned Provenance Graph
To verify the paths connecting different events, vCause computes two cryptographic digests for every node: an incoming path digest and an outgoing path digest.
- Incoming digests are immutable because a node's history never changes once it is created.
- Outgoing digests change constantly as new system events occur. Naively updating these would cause an exponential explosion of cryptographic updates across the graph. vCause introduces Segmented Outgoing Path Digests, which strategically chop temporal edges and limit tree depth, taming the update overhead down to linear complexity ($O(L)$).
Datasets
The authors evaluated vCause using two prominent, real-world endpoint auditing datasets:
- DARPA OpTC: A massive dataset containing over 17 billion events collected from 1,000 real hosts over six days.
- StreamSpot: A dataset containing system events from 600 simulated web browsing sessions across six distinct scenarios.
Key Insights and Ideas
- Fuzzy Time Queries via Hierarchical Trees: The realization that security analysts rarely query for an exact millisecond timestamp led to the hierarchical Merkle design. Splitting the index into an exact global layer (Entity ID) and a fuzzy local layer (Timestamp range) elegantly solves the time-fuzzy lookup problem.
- Taming Exponential Explosion with Graph Segmentation: In a dense provenance graph, adding a single node can theoretically alter the outgoing path digests of $2^L$ ancestors. By treating temporal edges as pointers and segmenting deep trees, vCause isolates updates to small, independent dependency trees, making real-time graph tracking practical.
- Bypassing the TEE Tax: Instead of forcing the cloud to do all the heavy lifting inside a slow secure enclave, vCause shifts the paradigm to untrusted computation with lightweight cryptographic proof generation, outperforming enclave-based validation by orders of magnitude.
Key Results
- Minimal Endpoint Overhead: Integrating vCause with realistic Linux loggers (
auditdandFalco) under heavy workloads (like running Apache/Nginx web servers) resulted in < 1% computational overhead on the endpoints. - Highly Efficient Cloud Performance: vCause processed 25 million logs in just 2 minutes. Generating a cryptographic proof for a massive 100,000-node causality analysis took a mere 49 milliseconds.
- vCause vs. SGX Enclaves: In a head-to-head comparison processing 2 GB of data, an SGX enclave-based system took an average of 2408 ms due to context-switch overheads, while vCause completed the validation in just 3.08 ms.
- Low Storage Footprint: For the real-world DARPA OpTC dataset, the additional authentication metadata required by vCause introduced a modest storage overhead of only 6.98%.
Limitations and Future Work
While vCause provides robust integrity guarantees, it focuses strictly on preventing data tampering and omissions; it does not address data confidentiality. If log privacy is a concern, vCause would need to be paired with orthogonal privacy-preserving graph search techniques.
Additionally, while the framework natively supports advanced causality analysis variants that prune or prioritize specific paths, exploring tighter, automated integration with downstream alert triage systems remains an open avenue for future deployment.
Summary updated