🤖 AI Summary
Existing Proof-of-Execution (PoX) schemes rely on atomic execution, making them ill-suited for time-shared and hard real-time systems—leading to a fundamental tension between integrity and timeliness. This paper introduces Real-Time Proof-of-Execution (RT-PoX), a novel security objective that preserves classical PoX integrity while enabling verifiable execution under multi-task interference. To achieve this, we design PEARTS, a lightweight architecture built upon ARM Cortex-M33, integrating real-time scheduling-aware isolation, cryptographically optimized proof generation, and extensions to the FreeRTOS kernel. We implement an open-source prototype on a single-core MCU—the first demonstration of verifiable execution coexisting with deadline guarantees in a commercial RTOS. Empirical evaluation confirms hard real-time compliance (≥99.8% deadline satisfaction rate) alongside integrity verification, with bounded proof overhead (<3.2% CPU utilization).
📝 Abstract
Embedded devices are increasingly ubiquitous and vital, often supporting safety-critical functions. However, due to strict cost and energy constraints, they are typically implemented with Micro-Controller Units (MCUs) that lack advanced architectural security features. Within this space, recent efforts have created low-cost architectures capable of generating Proofs of Execution (PoX) of software on potentially compromised MCUs. This capability can ensure the integrity of sensor data from the outset, by binding sensed results to an unforgeable cryptographic proof of execution on edge sensor MCUs. However, the security of existing PoX requires the proven execution to occur atomically. This requirement precludes the application of PoX to (1) time-shared systems, and (2) applications with real-time constraints, creating a direct conflict between execution integrity and the real-time availability needs of several embedded system uses. In this paper, we formulate a new security goal called Real-Time Proof of Execution (RT-PoX) that retains the integrity guarantees of classic PoX while enabling its application to existing real-time systems. This is achieved by relaxing the atomicity requirement of PoX while dispatching interference attempts from other potentially malicious tasks (or compromised operating systems) executing on the same device. To realize the RT-PoX goal, we develop Provable Execution Architecture for Real-Time Systems (PEARTS). To the best of our knowledge, PEARTS is the first PoX system that can be directly deployed alongside a commodity embedded real-time operating system (FreeRTOS). This enables both real-time scheduling and execution integrity guarantees on commodity MCUs. To showcase this capability, we develop a PEARTS open-source prototype atop FreeRTOS on a single-core ARM Cortex-M33 processor. We evaluate and report on PEARTS security and (modest) overheads.