Abstract
Cyber-Physical Systems (CPS) are increasingly targeted by sophisticated "data-oriented" attacks that manipulate program data without violating control-flow integrity (CFI). This paper presents Orpheus, a security framework designed to detect such stealthy exploits by enforcing consistency between software execution and the physical environment. Orpheus introduces the event-aware Finite-State Automaton (eFSA), which augments traditional program behavior models with physical event awareness. By verifying that program state transitions align with real-time sensor data, Orpheus identifies anomalies that traditional CFI defenses miss. Evaluation on real-world CPS controllers demonstrates that Orpheus effectively detects data-oriented attacks with manageable latency.
Introduction
In critical infrastructure like power grids, medical devices, and industrial robotics, security has traditionally focused on Control-Flow Integrity (CFI). CFI prevents attackers from hijacking a program's execution path (e.g., via buffer overflows). However, data-oriented attacks pose a more insidious threat. In these scenarios, an attacker manipulates the data used by the program (e.g., sensor readings or configuration variables) while keeping the execution path within "legal" bounds. For instance, a boiler controller might be tricked into believing a temperature is low when it is dangerously high. Because the program follows a valid code path, standard CFI mechanisms are blind to the breach.
The authors identify a critical gap: existing detection mechanisms lack "runtime execution semantics"—they do not verify if the program's behavior is consistent with the current physical context.
Methodology: The Orpheus Framework
Orpheus addresses this gap through a multi-stage process that links cyber-state transitions to physical events.
1. Event Identification and Dependence Analysis
Using LLVM-based static analysis, Orpheus identifies two primary types of physical events:
- Binary Events: Threshold-based checks (e.g.,
if (temp > 60)). - Control-Intensity Events: Loops where the iteration count depends on sensor data (e.g., a pump dispensing liquid for a duration determined by a humidity sensor).
The system then maps these events to specific system calls and program states, creating a "cyber-physical" link where software transitions are explicitly guarded by physical conditions.
2. The event-aware Finite-State Automaton (eFSA)
The core of Orpheus is the eFSA. Unlike standard FSAs that only track sequences of system calls, the eFSA is "gray-box" and "event-aware." It uses Program Counter (PC) values to distinguish between identical system calls originating from different code locations, mitigating "mimicry attacks." Crucially, transitions in the eFSA are guarded by physical events.
3. Runtime Monitoring and Verification
During execution, an Anomaly Detector monitors system calls. When an event-dependent transition is reached, an Event Verifier cross-checks the ground-truth sensor data. If the program attempts an action (e.g., opening a valve) that contradicts the physical logic (e.g., the tank is already full), an anomaly is flagged.
Evaluation and Results
The researchers evaluated Orpheus using several real-world CPS case studies:
- Solard: A boiler and heating controller.
- SyringePump: A medical device for precise liquid dispensing.
- AR.Drone: A networked quadcopter for testing network-triggered events.
Key Findings
- Detection Capability: Orpheus successfully identified data-oriented attacks on Solard and SyringePump that bypassed traditional CFI.
- Performance: Integrity checks for state transitions are extremely fast (~0.0001s). Local event verification takes approximately 0.063s, meeting the real-time requirements of most industrial processes.
- Overhead: While
strace-based tracing introduced a ~112% slowdown, the authors anticipate that hardware-assisted tracing (e.g., Intel PT) could reduce this to below 5%.
Discussion and Future Work
Orpheus demonstrates that a CPS program state is only truly valid if it matches physical reality. To handle complex "control-intensity" attacks, the authors employed regression analysis to model the mathematical relationship between sensor values and expected system call counts in loops.
Current limitations include a reliance on Linux-based system calls, which excludes "bare-metal" systems. Future work aims to apply these concepts at the instruction level via binary instrumentation. Additionally, while Orpheus assumes sensor data is trustworthy, integrating physics-based cross-checking could mitigate potential sensor spoofing attacks.
Conclusion
Orpheus provides a robust defense against data-oriented attacks in CPS by bridging the gap between software execution and physical context. By enforcing "contextual integrity" through the eFSA model, it ensures that "checking is believing" when it comes to the security of critical cyber-physical infrastructure.
Summary updated