Abstract
Networked embedded devices are increasingly deployed in safety critical environments such as robotics, smart manufacturing and autonomous vehicles. Availability is an essential prerequisite of safety critical systems, which depend upon timely access to sensed data to inform the real-time control of actuators. Recent work has demonstrated that trusted computing features can be used to guarantee the availability of local resources to the safety-critical applications. However, prior work fails to guarantee the availability of a network connection, which is essential for correct system operation. To address this issue, we contribute NetReach, which uses Arm TrustZone to guarantee network availability to, and the reachability of, critical applications via a secure backup channel. Evaluation of NetReach shows that it can preserve the network connectivity of critical applications while under attack, with a worst case overhead of 18.66 % for networked software running in the Normal World. Furthermore, NetReach introduces minimal additional code in the Secure World (only 418 lines of code). The presented features of NetReach enable future work toward resilient networks.
Introduction
Modern industrial systems—like autonomous robots and automated guided vehicles (AGVs)—increasingly rely on powerful processors running commodity operating systems (OS) like Linux. While these OSs offer rich networking features, they come with a massive attack surface. In safety-critical environments, a network failure isn't just a bug; it's a liability. If a remote attacker triggers a Denial-of-Service (DoS) or crashes the kernel, the device becomes a "brick" that requires physical, in-person intervention to reset.
Previous solutions could protect the execution of critical code, but they couldn't guarantee that the code could still talk to the outside world if the main OS network stack failed. NetReach addresses this by leveraging hardware-enforced isolation to ensure network availability even when the primary OS is compromised.
The NetReach Architecture
NetReach is built on Arm TrustZone, which splits the system into a "Normal World" (running Linux) and a "Secure World" (running a Trusted Execution Environment or TEE).
Driver Relocation and Mediated Sharing
The core innovation of NetReach is the relocation of the network peripheral driver. The hardware is assigned exclusively to the Secure World. A minimal, highly audited driver (~400 lines of code) runs in the TEE. While the Normal World (Linux) still uses the network hardware, it does so through shared memory buffers (RX/TX) managed by the Secure World. This mediation prevents a compromised Linux kernel from crashing the hardware or monopolizing resources.
The Secure Backup Channel
NetReach assigns a separate IP and MAC address specifically for the Secure World. This creates a "hidden" management lane that remains functional even if the main Linux network stack is flooded or disabled. This dual-identity approach ensures "reachability," allowing administrators to remotely access the secure side of a device for diagnostics or reboots even when the main OS is totally unresponsive.
Interrupt Management
To prevent "interrupt storms" from crashing the system, hardware interrupts are first handled by the Secure World. The TEE then intelligently forwards them to the Normal World, ensuring that critical tasks are not starved of CPU time by malicious or buggy network traffic.
Evaluation and Results
The researchers evaluated a Proof of Concept (PoC) implementation using a BD-SL-i.MX6 development board with an SPI-based Ethernet controller.
TCB Reduction
By replacing a standard Linux Ethernet driver (which can exceed 6,000 lines of code) with a secure driver of only 418 lines, NetReach reduces the Trusted Computing Base (TCB) for networking by over 90%. This minimalism significantly reduces the potential for exploitable bugs.
Performance Overhead
Moving data between the Normal and Secure worlds introduces a "TrustZone tax" in the form of latency. However, the evaluation shows this overhead is manageable:
- Small packets (64 bytes): 18.66% overhead.
- Large packets (1024 bytes): 4.97% overhead.
The system successfully maintained its backup connection during simulated network-based attacks and OS hangs, proving its resilience in adversarial conditions.
Conclusion and Future Work
NetReach demonstrates that guaranteed network availability is achievable for embedded systems using existing hardware features. By isolating the network stack and providing a dedicated backup channel, it ensures that critical infrastructure remains reachable and controllable.
Future work will focus on supporting more complex high-speed controllers (PCIe), developing automated remote recovery logic for compromised OSs, and applying formal verification to the secure driver to mathematically prove its correctness.
Summary updated