[Paper Review] FRAPpuccino: Fault-detection through Runtime Analysis of Provenance
FRAPpuccino (FRAP) is a provenance-based runtime fault and intrusion detection system for Platform-as-a-Service (PaaS) environments that models normal application behavior using directed acyclic provenance graphs. By applying a dynamic sliding window algorithm to extract feature vectors from provenance data and clustering them, FRAP detects anomalies with high accuracy, offering a no-instrumentation, scalable solution for identifying deviations in large-scale cloud applications.
We present FRAPpuccino (or FRAP), a provenance-based fault detection mechanism for Platform as a Service (PaaS) users, who run many instances of an application on a large cluster of machines. FRAP models, records, and analyzes the behavior of an application and its impact on the system as a directed acyclic provenance graph. It assumes that most instances behave normally and uses their behavior to construct a model of legitimate behavior. Given a model of legitimate behavior, FRAP uses a dynamic sliding window algorithm to compare a new instance's execution to that of the model. Any instance that does not conform to the model is identified as an anomaly. We present the FRAP prototype and experimental results showing that it can accurately detect application anomalies.
Motivation & Objective
- To address the growing challenge of detecting runtime faults and cyberattacks in large-scale PaaS environments where traditional system-call-based methods fall short.
- To develop a scalable, instrumentation-free anomaly detection system that leverages end-to-end provenance data for comprehensive behavioral modeling.
- To enable real-time detection of application anomalies by processing provenance data through a streaming, dynamic sliding window mechanism.
- To improve detection accuracy by capturing system-wide interactions, including inter-process and inter-machine dependencies, rather than relying on isolated system-call sequences.
Proposed method
- FRAP constructs a labeled directed acyclic graph (DAG) from provenance data, representing interactions between processes, system entities, and users.
- It applies a relabeling mechanism inspired by the Weisfeiler-Lehman graph kernel to convert the provenance DAG into a feature vector in n-dimensional space.
- A dynamic sliding window algorithm processes incoming provenance streams in real time, enabling online detection without storing full provenance histories.
- The system clusters feature vectors from normal instances to build a model of legitimate behavior, using statistical methods to detect significant deviations.
- FRAP leverages CamFlow for provenance capture and GraphChi for efficient graph processing, enabling scalable analysis across distributed systems.
- It avoids application instrumentation by relying solely on system-level provenance data, making it deployable across heterogeneous, multi-process cloud applications.
Experimental results
Research questions
- RQ1Can provenance data be effectively used to model normal behavior in large-scale PaaS applications without application instrumentation?
- RQ2How can provenance graphs be efficiently transformed into compact, analyzable feature vectors for real-time anomaly detection?
- RQ3Can a dynamic sliding window approach on provenance data achieve low-latency, scalable runtime anomaly detection in cloud environments?
- RQ4How does provenance-based detection compare in accuracy to system-call-based behavioral analysis in identifying both faults and intrusions?
- RQ5What role does end-to-end system interaction modeling play in detecting complex, multi-process anomalies that are missed by per-process analysis?
Key findings
- FRAP successfully models legitimate application behavior using provenance data from normal instances, enabling accurate detection of anomalous executions.
- The system achieves high detection accuracy by clustering feature vectors derived from provenance DAGs, with deviations from the normal cluster indicating potential faults or intrusions.
- The dynamic sliding window mechanism enables efficient, real-time processing of large-scale provenance streams without excessive storage overhead.
- By using end-to-end provenance instead of curated event logs, FRAP captures a more comprehensive view of system interactions, improving detection of complex, distributed anomalies.
- The approach outperforms traditional system-call-based models by incorporating contextual relationships between system entities and actions.
- The framework is deployable without application instrumentation, making it practical for production PaaS environments.
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.