Secure State Estimation for Cyber-Physical Systems Under Sensor Attacks: A Satisfiability Modulo Theory Approach

Yasser Shoukry, Pierluigi Nuzzo, Alberto Puggelli, Alberto Sangiovanni‐Vincentelli, Sanjit A. Seshia, Paulo Tabuada · DOI

Abstract

Secure state estimation is the problem of estimating the state of a dynamical system from a set of noisy and adversarially corrupted measurements. Intrinsically a combinatorial problem, secure state estimation has been traditionally addressed either by brute force search, suffering from scalability issues, or via convex relaxations, using algorithms that can terminate in polynomial time but are not necessarily sound. In this paper, we present a novel algorithm that uses a satisfiability modulo theory approach to harness the complexity of secure state estimation. We leverage results from formal methods over real numbers to provide guarantees on the soundness and completeness of our algorithm. Moreover, we discuss its scalability properties, by providing upper bounds on the runtime performance. Numerical simulations support our arguments by showing an order of magnitude decrease in execution time with respect to alternative techniques. Finally, the effectiveness of the proposed algorithm is demonstrated by applying it to the problem of controlling an unmanned ground vehicle.

Introduction

Cyber-Physical Systems (CPS)—including autonomous vehicles, smart grids, and industrial robots—rely on a continuous stream of sensor data to maintain operational stability. However, these sensors are vulnerable to various attack vectors, such as malware injection, network data interception, or physical spoofing. When an attacker corrupts a subset of sensors, the system faces a "Secure State Estimation" problem. This challenge requires simultaneously identifying which sensors are compromised (a combinatorial logic problem) and determining the true system state based on the remaining honest sensors (a continuous mathematical problem).

Previous solutions have typically relied on either brute-force searches, which lack the scalability required for real-time use, or convex relaxations, which are computationally efficient but can produce unsound results by oversimplifying the problem's combinatorial nature.

IMHOTEP-SMT: A Satisfiability Modulo Theory Approach

We propose IMHOTEP-SMT, a novel algorithm that addresses secure state estimation by treating it as a hybrid of logic and geometry. Our approach leverages the "Satisfiability Modulo Theory" (SMT) paradigm to manage the complexity of the search space.

The Lazy SMT Paradigm

Instead of exhaustively checking every possible combination of sensors, IMHOTEP-SMT uses a SAT solver to propose a "hypothesis" (e.g., "Sensors 1, 2, and 5 are honest"). A specialized theory solver then checks if this hypothesis is consistent with the system's physical model, typically represented as linear dynamical systems.

Learning from Failure via Certificates

If a hypothesis is found to be inconsistent, the theory solver generates a "certificate"—a compact logical explanation of why those specific sensors are in conflict. This allows the SAT solver to prune thousands of incorrect hypotheses instantly, drastically reducing the search time. Furthermore, we introduced "Conflicting" and "Agreeable" sensor set heuristics based on residuals to further accelerate the identification of corrupted sensors.

Geometric Interpretation

The core intuition of IMHOTEP-SMT is to frame sensor readings as hyperplanes in a high-dimensional state space. In a healthy system, these hyperplanes intersect at a single point representing the true state. An adversarial attack pushes some hyperplanes away from this intersection.

Geometric representation of sensor hyperplanes and the impact of corrupted measurements.

As illustrated in the figure above, the SMT approach efficiently identifies the largest set of hyperplanes that still maintain a consistent intersection, thereby isolating the malicious data.

Key Results and Performance

The effectiveness of IMHOTEP-SMT was evaluated using randomly generated linear systems and a simulated Unmanned Ground Vehicle (UGV) model.

  • Computational Speedup: IMHOTEP-SMT outperformed alternative techniques such as ETPG and Mixed-Integer Quadratic Programming (MIQP). In tests with 150 system states, the algorithm was an order of magnitude faster than its closest competitors.
  • Iteration Reduction: The specialized heuristics led to a 50x to 75x reduction in the number of iterations required to find the correct sensor set compared to basic search methods.
  • Real-world Application: In UGV simulations, the algorithm successfully detected and mitigated random noise, ramp, and replay attacks, allowing the vehicle to maintain its trajectory despite sensor manipulation.
  • Soundness and Completeness: Unlike convex relaxation methods, IMHOTEP-SMT is mathematically guaranteed to be sound (if it provides an answer, it is correct) and complete (if a solution exists, it will be found). We also proved "$\delta$-completeness," ensuring reliability in the presence of standard measurement noise.

Conclusion

IMHOTEP-SMT provides a robust and scalable framework for secure state estimation in CPS. By combining the logical reasoning of SAT solvers with the geometric constraints of physical systems, it offers a mathematically grounded solution to the problem of sensor attacks. Future research will focus on extending this SMT-based approach to nonlinear and hybrid dynamical systems.

Summary updated

BibTeX
@article{shoukry2017secure,
  author = {Yasser Shoukry and Pierluigi Nuzzo and Alberto Puggelli and Alberto Sangiovanni‐Vincentelli and Sanjit A. Seshia and Paulo Tabuada},
  title = {{Secure State Estimation for Cyber-Physical Systems Under Sensor Attacks: A Satisfiability Modulo Theory Approach}},
  journal = {IEEE Trans. Automatic Control},
  year = {2017},
  url = {https://openreview.net/forum?id=9zxZDAvalOLz},
}
Figure