Guardauto: A Decentralized Runtime Protection System for Autonomous Driving

Kun Cheng, Yuan Zhou, Bihuan Chen, Rui Wang, Yuebin Bai, Yang Liu

TL;DR

Guardauto is a decentralized runtime protection framework designed to shield autonomous driving systems (ADS) from software failures and cyberattacks. By isolating driving components into secure partitions and using a cooperative "self-healing" protocol, it prevents local glitches from cascading into vehicle-wide catastrophes with a performance overhead of less than 5%.

What Problem Does This Paper Address?

Modern autonomous vehicles are essentially "data centers on wheels," running hundreds of interconnected processes to handle everything from LiDAR processing to path planning. This complexity creates a massive attack surface. An adversary could exploit a Bluetooth vulnerability to inject malware, or a simple software bug in the sensing layer could trigger a "kernel panic," freezing the entire system.

Existing security measures often focus on specific hardware (like securing the CAN bus) or rely on a centralized manager. The authors argue that centralized protection is a "single point of failure"—if the protector fails, the car is defenseless. Furthermore, in highly interdependent systems, a failure in one component (e.g., Localization) often causes "innocent" downstream components (e.g., Motion Planning) to malfunction. Distinguishing the root cause from the symptoms is a major challenge in real-time vehicle safety.

Methods

The authors propose Guardauto, which treats the ADS like a decentralized organism with three layers of defense:

  1. Hybrid Isolation Model: Instead of running everything on one OS, Guardauto decouples the ADS into functional partitions. It uses a hybrid approach: Hardware-accessing components (like sensors) are isolated in Virtual Machines (Xen) for maximum security, while pure logic components (like Fusion) run in LXD Containers for better performance.
  2. Local Self-Protection (The MAPE Loop): Each partition runs its own "Monitor-Analyze-Plan-Execute" loop.
  3. Monitoring: It tracks resource usage (CPU/RAM), validates process whitelists, and uses system call (syscall) modeling to detect "rogue" behavior typical of malware.
  4. Planning: If an anomaly is detected, the local guard decides whether to reset the partition or switch to a backup.
  5. Global Cooperation Protocol: To prevent "blindly" resetting every component during a failure, Guardauto units communicate using a "sick bit" and a "failure queue." If a component detects an error but sees that its upstream data source is "sick," it waits for the root cause to be fixed rather than attempting a useless local reboot.

Datasets

The researchers implemented a prototype on Autoware, a popular open-source autonomous driving stack. To test it under realistic conditions, they used:

  • Tier IV, Inc. Real-World Data: A dataset recorded during road tests in Moriyama, Japan, featuring 3D maps and synchronized LiDAR, camera, and GPS signals.
  • Fault Injection: The authors simulated memory exhaustion attacks (DoS) on the Localization module and software crashes in the Fusion module to evaluate recovery.

Key Insights and Ideas

  • Decentralization is Resilience: By removing a central "security coordinator," the system becomes more robust. If one "guard" fails, the others continue to protect their respective territories.
  • The "Root Cause" Awareness: The most clever part of Guardauto is its ability to handle cascading failures. By sharing "health status" beacons, components can distinguish between "I am broken" and "I am receiving broken data."
  • Security vs. Performance Balance: The use of containers for the "brain" (logic) and VMs for the "senses" (hardware) shows a pragmatic approach to the classic virtualization trade-off: security isolation vs. low-latency execution.

Key Results

The evaluation proved that Guardauto can effectively "self-heal" without compromising the car's reaction time:

  • Attack Mitigation: When the Localization module was hit with a memory exhaustion attack, Guardauto detected the anomaly and restored normal service via a backup partition.
  • Recovery Speed: A "cold" partition restoration (booting a new container and starting ROS nodes) took approximately 4.64 seconds. While this sounds slow for a moving car, the authors suggest "hot" backups could reduce this significantly.
  • Minimal Overhead:
    • The latency for localization messages increased by only 0.23ms (from 0.38ms to 0.61ms).
  • For heavy data like point clouds and images, the total performance overhead was less than 5%, which is well within the acceptable range for real-time driving systems.

Limitations and Future Work

The authors acknowledge several areas for improvement:

  • Trusted Computing Base: Currently, Guardauto assumes the underlying Host OS kernel and hypervisor are "trusted." If the hypervisor itself is compromised, the system fails.
  • Cold vs. Hot Backups: The ~4.6s recovery time for a cold boot is a safety concern at high speeds. Future work will focus on optimizing "warm" or "hot" standby partitions for near-instantaneous recovery.
  • Hardware Integration: The current prototype is software-focused. The authors plan to extend the decentralized protection concept to hardware devices like Electronic Control Units (ECUs) and explore TrustZone-like hardware isolation.

Summary updated

BibTeX
@article{cheng2021guardauto,
  author = {Kun Cheng and Yuan Zhou and Bihuan Chen and Rui Wang and Yuebin Bai and Yang Liu},
  title = {{Guardauto: A Decentralized Runtime Protection System for Autonomous Driving}},
  journal = {IEEE Trans. Computers},
  year = {2021},
  doi = {10.1109/tc.2020.3018329},
}
Figure