Co-Design of Watermarking and Robust Control for Security in Cyber-Physical Systems

Raman Goyal, Christoforos Somarakis, Erfaun Noorani, Shantanu Rane

Abstract

Cyber-Physical Systems (CPS) are increasingly vulnerable to sophisticated replay attacks that bypass traditional security measures by mimicking legitimate sensor data. Physical watermarking—the injection of a secret noise signal into control inputs—offers a robust defense mechanism, yet it typically introduces a performance penalty. This paper presents a novel framework for the co-design of general dynamic controllers and physical watermarking signals. By simultaneously optimizing for control performance ($H_2$ norm) and security (replay attack detection rate) using an iterative Linear Matrix Inequality (LMI) approach, the proposed method achieves superior detection capabilities without compromising operational stability. The framework is validated through a simulated three-tank chemical system, demonstrating significant improvements over traditional decoupled design methods.

Introduction

Modern infrastructure, including power grids, water treatment facilities, and automated manufacturing plants, relies heavily on Cyber-Physical Systems (CPS). As these systems become more interconnected, they are increasingly targeted by "replay attacks." In a replay attack, an adversary records legitimate sensor data during normal operations and subsequently replays it to the controller while simultaneously injecting malicious inputs into the physical process. Because the controller receives data that appears consistent with normal operation, the attack remains stealthy, often leading to catastrophic physical consequences before detection.

Physical watermarking has emerged as a promising defense. By injecting a known, random "watermark" signal into the system's actuators, defenders can verify the integrity of the feedback loop. If the system is operating normally, the watermark should be reflected in the sensor data; its absence indicates a replay attack. However, this security measure introduces a fundamental trade-off: the watermark acts as additional noise, which inherently degrades the system's control performance. Historically, research has treated the controller as a fixed entity, optimizing the watermark around it. This paper argues that a "co-design" approach—optimizing the controller and the watermark signal simultaneously—is essential to navigate the Pareto frontier of security and performance.

Methodology

System Modeling and Performance Metrics

The authors model the CPS as a discrete-time Linear Time-Invariant (LTI) system. To quantify system performance and its sensitivity to random disturbances, the framework utilizes the $H_2$ norm. Unlike previous studies that were limited to simple static Linear-Quadratic Regulator (LQR) controllers, this work generalizes the analysis to include complex, general dynamic compensators. This generalization is critical for real-world industrial applications where dynamic feedback is the standard.

The Co-Design Framework

The core contribution of this work is the joint optimization of the controller and the watermark signal. This problem is inherently non-convex, making it mathematically challenging to find a global optimum. To address this, the authors employ an iterative optimization strategy based on Linear Matrix Inequalities (LMIs):

  1. Convex Decomposition: The problem is broken down into smaller convex subsets.
  2. Iterative Optimization: The algorithm alternates between two steps: solving for the optimal controller while holding the watermark fixed, and then solving for the optimal watermark while holding the controller fixed.
  3. Convergence: This process continues until the solution converges to a locally optimal co-designed configuration.

Within this framework, a standard Kalman filter is synthesized to estimate system states and provide the residues necessary for a $\chi^2$ detector, which monitors for deviations indicative of an attack.

Experimental Evaluation

The framework was evaluated using a simulated three-tank chemical system, a benchmark model in control theory. The system consists of four actuators—hot and cold water pumps, a connecting valve, and a heater—used to maintain specific water levels and temperatures. This setup provides a complex, multi-variable environment to test the efficacy of the co-design approach.

The authors compared three distinct scenarios:

  1. Random Watermark ($U_R$): A baseline utilizing a fixed controller with a standard, non-optimized noise signal.
  2. Optimal Watermark ($U_{Opt}$): A scenario where the watermark is optimized for a pre-existing, fixed controller.
  3. Co-Designed System ($U_{Opt+Ctrl}$): The proposed approach where both the controller and the watermark are optimized simultaneously.

Key Results and Discussion

The quantitative results demonstrate the clear advantage of the co-design methodology. The co-designed system achieved a detection rate of 3.36, significantly outperforming both the optimized watermark alone (3.18) and the random baseline (3.12).

Crucially, the co-designed approach achieved this heightened security without any additional sacrifice in control performance. By allowing the controller to adapt to the presence of the watermark, the system maintained the same $H_2$ norm as the other optimized cases while providing a faster and more reliable trigger for the $\chi^2$ detector during replay attacks. This suggests that the optimization process does not merely increase the volume of the watermark, but intelligently structures it across specific actuator channels to maximize detection sensitivity while minimizing performance loss.

Conclusion and Future Work

This research demonstrates that the traditional decoupled approach to CPS security and control is sub-optimal. By treating security as an integral part of the control synthesis process, engineers can achieve significantly higher levels of resilience against sophisticated attacks like data replay.

While the iterative LMI approach provides a robust path to local optima, future work may explore global optimization techniques or the extension of this framework to highly non-linear systems. Additionally, the authors suggest that incorporating sensor and actuator placement into the co-design loop could further enhance the security-performance trade-off, potentially allowing for even more transparent and effective physical watermarking.

Summary updated

BibTeX
@inproceedings{goyal2022co,
  author = {Raman Goyal and Christoforos Somarakis and Erfaun Noorani and Shantanu Rane},
  title = {{Co-Design of Watermarking and Robust Control for Security in Cyber-Physical Systems}},
  booktitle = {CDC},
  year = {2022},
  doi = {10.1109/cdc51059.2022.9992339},
}
Figure