From Static to Dynamic Anomaly Detection With Application to Power System Cyber Security

Kaikai Pan, Peter Pálenský, Peyman Mohajerin EsfahaniIEEE Transactions on Power Systems 2019 · DOI

Abstract

Developing advanced diagnosis tools to detect cyber attacks is the key to security of power systems. It has been shown that multivariate data injection attacks can bypass bad data detection schemes typically built on static behavior of the systems, which misleads operators to disruptive decisions. In this article, we depart from the existing static viewpoint to develop a diagnosis filter that captures the dynamics signatures of such a multivariate intrusion. To this end, we introduce a dynamic residual generator approach formulated as robust optimization programs in order to detect a class of disruptive multivariate attacks that potentially remain stealthy in view of a static bad data detector. We investigate two possible desired features: (i) a non-zero transient and (ii) a non-zero steady-state behavior of the residual generator in the presence of an attack. In case (i), the problem is reformulated as a finite, but possibly non-convex, optimization program. We further develop a linear programming relaxation that improves the scalability, and as such practicality, of the diagnosis filter design. In case (ii), it turns out that the resulting robust program admits an exact convex reformulation, yielding a Nash equilibrium between the attacker and the residual generator. This assertion has an interesting implication: the proposed approach is not conservative in the sense that the additional knowledge of the worst-case attack does not improve the diagnosis performance. To illustrate our theoretical results, we implement the proposed diagnosis filter to detect multivariate attacks on the system measurements deployed to generate the so-called Automatic Generation Control signals in a three-area IEEE 39-bus system.

Introduction

Modern power grids are complex cyber-physical systems that rely heavily on Supervisory Control and Data Acquisition (SCADA) systems for real-time operational management. To ensure data integrity, these systems traditionally employ Bad Data Detection (BDD). However, standard BDD is static, meaning it evaluates snapshots of the system at discrete moments to ensure measurements are consistent with physical power flow laws.

This static approach has a significant vulnerability: the stealthy multivariate attack. A sophisticated adversary with knowledge of the system's static model can coordinate false data injections across multiple sensors so that the resulting data snapshot appears perfectly normal to a static detector. While the grid appears stable in the data, the attacker can manipulate critical control signals—such as Automatic Generation Control (AGC)—to cause frequency instability or physical equipment damage. This research addresses this gap by exploiting the dynamics (the time-dependent behavior) of the system to expose malicious intrusions.

Methodology

The core of the proposed solution is a Dynamic Residual Generator, or diagnosis filter. Unlike a static check, this digital filter processes a continuous stream of control inputs and measurements to produce a "residual" signal. In a healthy system, this residual remains near zero; during an attack, the system's dynamic response deviates from the expected model, causing the residual to spike.

Block diagram of the cyber-physical power system incorporating the proposed diagnosis filter for detecting multivariate attacks.

As illustrated in Figure 1, the diagnosis filter is integrated into the control loop, receiving both the control input $u[k]$ and the potentially corrupted measurements $Y[k]$. The filter design utilizes several key technical strategies:

  • Robust Optimization: The filter is designed using a "min-max" framework, seeking to maximize detection sensitivity even when an attacker attempts to minimize their footprint (the worst-case scenario).
  • Decoupling: The filter is engineered to ignore "natural" disturbances, such as routine load fluctuations, while remaining highly sensitive to malicious injections.
  • Mathematical Reformulation: For transient detection, the authors utilize Linear Programming (LP) relaxations to ensure the filter design is computationally feasible for large-scale grids. For steady-state detection, they prove the problem admits an exact convex reformulation.
  • Game Theory: The research demonstrates that the steady-state detection problem reaches a Nash Equilibrium. This implies the detector is optimal even if the attacker has full knowledge of the detector's design, removing the need for "security by obscurity."

Experimental Setup

The researchers validated the dynamic filter using a simulated IEEE 39-bus system, also known as the New England Power System.

The three-area IEEE 39-bus test system used to validate the dynamic anomaly detection scheme.

As shown in Figure 2, the system was divided into three control areas, each using AGC to maintain frequency. The team simulated coordinated attacks on tie-line power flow measurements (e.g., L1-3-1, L1-2) specifically designed to bypass standard static BDD. To ensure realism, zero-mean Gaussian noise was added to both process and measurement signals to test the filter's robustness in messy, real-world conditions.

Key Results and Insights

The simulation results demonstrated a clear advantage for the dynamic approach. In scenarios where a standard static detector failed to see any anomaly (residual near zero), the proposed dynamic filter produced a clear, unmistakable alert signal.

Several key insights emerged from this study:

  • Dynamics as a Fingerprint: While an attacker can fake a static state, faking the complex, time-dependent trajectory of a power system is significantly harder due to physical constraints like inertia and control loops.
  • Practical Scalability: By allowing for low-order filters and utilizing LP relaxations, the method is practical for real-time deployment on massive, interconnected networks without requiring the computational overhead of full system observers.
  • Versatility: Beyond data injection, the filter successfully detected Denial-of-Service (DoS) attacks, where sensor data is simply blocked or lost.

Conclusion and Future Work

This work moves power system security from reactive snapshots to proactive dynamic monitoring. While the current framework relies on linearized models, it provides a robust foundation for detecting stealthy multivariate attacks. Future research will focus on extending this robust optimization framework to nonlinear Differential-Algebraic Equations (DAEs) and addressing "smart" attackers who may attempt to change their injection values dynamically over time to evade even dynamic filters.

Summary updated

BibTeX
@article{pan2019from,
  author = {Kaikai Pan and Peter Pálenský and Peyman Mohajerin Esfahani},
  title = {{From Static to Dynamic Anomaly Detection With Application to Power System Cyber Security}},
  journal = {IEEE Transactions on Power Systems},
  year = {2019},
  doi = {10.1109/tpwrs.2019.2943304},
}
Figure