Secure Safety Filter Design for Sampled-data Nonlinear Systems under Sensor Spoofing Attacks

Xiao Tan, Pio Ong, Paulo Tabuada, Aaron D. Ames

Introduction

Modern Cyber-Physical Systems (CPS), such as autonomous drones and self-driving cars, rely heavily on accurate sensor data to maintain safety. However, these systems are increasingly vulnerable to sensor spoofing attacks, where malicious actors inject false data to manipulate the controller's perception of the environment. While secure control strategies exist for linear systems, real-world robotic platforms are inherently nonlinear, presenting significant challenges in guaranteeing safety when the "ground truth" state is uncertain.

This paper introduces a robust framework for maintaining the safety of nonlinear robotic systems under attack by an "omniscient" adversary. By integrating secure state reconstruction with Control Barrier Functions (CBFs), the proposed Secure Safety Filter (SSF) ensures that a system remains within its safe operating boundaries by accounting for the set of all plausible states consistent with available sensor data.

Methodology: The Secure Safety Filter

The authors propose a two-stage architecture designed to bridge the gap between state estimation and safety-critical control under adversarial conditions.

Overview of the Secure Safety Filter architecture, illustrating the interaction between the nominal controller, the secure state reconstructor, and the safety filter.

1. Secure State Reconstruction

Instead of attempting to pinpoint a single "true" state—which may be impossible under sophisticated attacks—the algorithm identifies a set of plausible states. By examining various combinations of sensors and checking for physical consistency with the system's dynamics, the reconstructor isolates a subset of states that could realistically produce the observed measurements. If the system satisfies "$s$-sparse observability," the true state is mathematically guaranteed to reside within this set.

2. CBF-Enabled Safety Filtering

The second stage utilizes a Control Barrier Function (CBF) to evaluate the "nominal" control input from the user or high-level planner. The filter solves a constrained optimization problem: it selects a control action as close as possible to the nominal input, provided that the action is safe for every single plausible state identified in the reconstruction phase. This "worst-case" safety guarantee ensures that even if the attacker successfully masks their presence, the system cannot be tricked into a collision or failure.

Experimental Results

The approach was validated using a simulated unicycle vehicle model equipped with five redundant sensors (position, heading, and relative distance/bearing to origin). The simulation demonstrates the filter's effectiveness against an attacker spoofing two sensors to create a "fake" safe trajectory.

Comparison of trajectories under sensor spoofing. Without the SSF, the ground-truth trajectory (dark blue) crosses the safety boundary. With the SSF, the robot maintains safety (dark green) despite the attacker's fake trajectory (light green).

As shown in the results, a system without the SSF follows the attacker's misleading data, leading to a breach of the safety boundary. In contrast, the SSF-equipped robot detects the inconsistency and modifies its control inputs to remain within the safe set. Notably, the filter is minimally invasive, intervening only when the system approaches a safety boundary, thereby preserving the performance of the nominal controller during normal operation.

Key Insights and Limitations

The core philosophy of this work is Safety over Certainty. By bounding the set of possible states rather than identifying the specific compromised sensors, the framework provides rigorous safety guarantees. The use of "observability maps" further abstracts the estimation process, making the filter compatible with various algorithms like Kalman Filters or moving horizon estimators.

However, challenges remain regarding computational complexity, as checking all sensor combinations ($\\binom{p}{p-s}$) may be taxing for high-dimensional systems. Additionally, the safety guarantee depends on the feasibility of the optimization problem; in extremely aggressive attack scenarios, a universally safe control input might not exist. Future research will focus on improving computational efficiency and handling dynamic attacks where the set of compromised sensors changes over time.

Summary updated

BibTeX
@inproceedings{tan2025secure,
  author = {Xiao Tan and Pio Ong and Paulo Tabuada and Aaron D. Ames},
  title = {{Secure Safety Filter Design for Sampled-data Nonlinear Systems under Sensor Spoofing Attacks}},
  booktitle = {CDC},
  year = {2025},
  doi = {10.1109/cdc57313.2025.11312949},
}
Figure