An Online Approach to Physical Watermark Design

Hanxiao Liu, Yilin Mo, Jiaqi Yan, Lihua Xie, Karl Henrik Johansson

This paper, presented by researchers from Nanyang Technological University, Tsinghua University, and KTH Royal Institute of Technology, tackles a critical security vulnerability in Cyber-Physical Systems (CPS): the replay attack.

TL;DR

The authors propose an online "learning" algorithm that secures systems against replay attacks even when the system's mathematical model is unknown. By injecting a carefully tuned, diminishing noise signal (a "physical watermark"), the system can simultaneously identify its own parameters and optimize its ability to detect intruders without significantly degrading control performance.

What Problem Does This Paper Address?

In a replay attack, an adversary records legitimate sensor data and plays it back to the controller later. This is a "stealthy" attack because the replayed data looks perfectly normal to the controller, even if the attacker is currently sabotaging the physical plant (as seen in the famous Stuxnet incident).

To counter this, researchers use physical watermarking: injecting a small amount of random noise into the control signal. Since the controller knows exactly what noise it added, it expects to see a specific "echo" in the sensor readings. If an attacker replays old data, that echo will be missing, and the attack is detected.

The Challenge: Most watermarking techniques assume you already have a perfect mathematical model of the system. In reality, system parameters are often unknown, change over time due to wear and tear, or are too complex to model manually. Furthermore, the "optimal" watermark for detection is often a "rank-1" signal (moving in only one direction), which doesn't provide enough "excitement" to help the system learn its own parameters—a classic exploration-exploitation trade-off.

Methods

The authors develop a dual-purpose online algorithm that performs system identification and attack detection at the same time:

  1. Exploration vs. Exploitation: The algorithm designs the watermark's covariance by combining two parts: an "exploitation" term (the best guess for detection based on current knowledge) and a diminishing "exploration" term. The exploration term provides the "persistent excitation" needed to identify the system but fades away over time so the system eventually reaches peak efficiency.
  2. Recursive Identification: The system estimates Markov parameters (the relationship between inputs and outputs over time) using a recursive least-squares-style approach.
  3. Spectral Estimation: Using these parameters, the system reconstructs its own eigenvalues and system matrices. This allows it to build a Neyman-Pearson detector—a statistical tool that decides if the current sensor data is "authentic" or "replayed."
  4. Convergence Proofs: The authors provide a rigorous mathematical proof that their estimated parameters and the resulting detector will converge to the "true" optimal values "almost surely" as time goes on.

Datasets

The paper evaluates the algorithm using two primary simulations:

  • Numerical Example: A randomly generated stable linear system with 5 states, 3 outputs, and 2 inputs. This serves as a "clean" test of the mathematical convergence.
  • Tennessee Eastman Process (TEP): A famous industrial benchmark representing a complex chemical plant. The authors used a simplified version with 8 states, 4 inputs, and 10 outputs. Crucially, they tested the algorithm's robustness by intentionally underestimating the system's complexity during the learning phase.

Key Insights and Ideas

  • The Rank-1 Dilemma: The most interesting "aha moment" is the handling of the rank-1 property. An optimal watermark is "thin"—it only perturbs the system in the most sensitive direction. However, to learn a system, you need to perturb it in all directions. The authors' diminishing noise term ($k^{-\beta}$) is the "secret sauce" that bridges this gap.
  • Learning While Protecting: The paper shows that you don't need a separate "calibration phase." The system can start protecting itself immediately, getting better at both control and detection as it gathers more data.
  • Robustness to Modeling Errors: In the TEP example, the algorithm still achieved high detection accuracy even when the researchers assumed the system was simpler (fewer eigenvalues) than it actually was.

Key Results

  • Convergence Rate: The error in the system's "knowledge" decreases at a predictable rate ($O(k^{-\gamma+\epsilon})$), proving that the online approach is mathematically sound.
  • High Detection Sensitivity: In the numerical test, the detection statistic (the "alarm") jumped from near zero to over 30 immediately when the replay attack began.
  • Industrial Viability: In the TEP simulation, the estimated detector was able to track the "true" detector (the one with perfect system knowledge) with very high precision after a simulated week of operation, successfully flagging attacks that would otherwise be invisible.

Limitations and Future Work

  • Steady-State Assumption: The current framework assumes the system is in a steady state and the system matrix is diagonalizable. It may need adjustment for highly dynamic or non-linear transitions.
  • The "Clean Start" Requirement: The proof assumes the system is not under attack during the initial learning phase. If an attacker is replaying data from the very first second the system turns on, the algorithm might "learn" the replayed data as the ground truth.
  • Future Directions: The authors suggest exploring more advanced identification methods (like subspace identification) and investigating "adversarial learning," where an attacker actively tries to trick the system while it is still learning its parameters.

Summary updated

BibTeX
@article{liu2020online,
  author = {Hanxiao Liu and Yilin Mo and Jiaqi Yan and Lihua Xie and Karl Henrik Johansson},
  title = {{An Online Approach to Physical Watermark Design}},
  journal = {IEEE Trans. Automatic Control},
  year = {2020},
  url = {https://openreview.net/forum?id=Eaea9godl2},
}
Figure