Mixed-Trust Computing: Safe and Secure Real-Time Systems
-
Published:2023-12-02
Issue:
Volume:
Page:
-
ISSN:2378-962X
-
Container-title:ACM Transactions on Cyber-Physical Systems
-
language:en
-
Short-container-title:ACM Trans. Cyber-Phys. Syst.
Author:
de Niz Dionisio1,
Andersson Bjorn1,
Klein Mark1,
Lehoczky John1,
Vasudevan Amit1,
Kim Hyoseung2,
Moreno Gabriel1
Affiliation:
1. Carnegie Mellon University, USA
2. University of California, Riverside, USA
Abstract
Verifying complex Cyber-Physical Systems (CPS) is increasingly important given the push to deploy safety-critical autonomous features. Unfortunately, traditional verification methods do not scale to the complexity of these systems and do not provide systematic methods to protect verified properties when not all the components can be verified. To address these challenges, this article proposes a real-time mixed-trust computing framework that combines verification and protection. The framework introduces a new task model, where an application task can have both an untrusted and a trusted part. The untrusted part allows complex computations supported by a full OS with a real-time scheduler running in a VM hosted by a trusted hypervisor. The trusted part is executed by another scheduler within the hypervisor and is thus protected from the untrusted part. If the untrusted part fails to finish by a specific time, the trusted part is activated to preserve safety (e.g., prevent a crash) including its timing guarantees. This framework is the first allowing the use of untrusted components for CPS critical functions while preserving logical and timing guarantees, even in the presence of malicious attackers. We present the framework its schedulability analysis and the coordination protocol between the trusted and untrusted parts. Our implementation on a Raspberry Pi 3 is also discussed along with experiments showing the behavior of the system under failures of untrusted components, and a drone application to demonstrate its practicality.
Publisher
Association for Computing Machinery (ACM)
Subject
Artificial Intelligence,Control and Optimization,Computer Networks and Communications,Hardware and Architecture,Human-Computer Interaction
Reference36 articles.
1. [n. d.]. https://pixhawk.org/. [n. d.]. https://pixhawk.org/.
2. [n. d.]. http://px4.io/. [n. d.]. http://px4.io/.
3. [n. d.]. https://www.dronecode.org/. [n. d.]. https://www.dronecode.org/.
4. RTCA Special Committee 205. 2011. Formal Methods Supplement to DO-178C and DO-278A. RTCA Special Committee 205. 2011. Formal Methods Supplement to DO-178C and DO-278A.
5. Guaranteed Physical Security with Restart-Based Design for Cyber-Physical Systems