Penetration Testing of Cyber-Physical Attacks in Smart Grids Based on Partially Observable Markov Decision Process

Yuanliang Li, Jun Yan, Mohamed Naili2025

Abstract

The smart grid is a highly complex cyber-physical system of heterogeneous components with sensory, control, computation, and communication. Its complexity, dimensionality, uncertainty, and strong cyber-physical coupling have made it inefficient to discover critical vulnerabilities at system or infrastructure levels manually. To enhance the security of smart grids, this work explores the attackers’ perspective and proposes a deep reinforcement learning (DRL)-based penetration testing (PT) framework to identify critical vulnerabilities in smart grids efficiently. Specifically, this paper takes replay attacks as an example of PT and formulates its optimization as a Partially Observable Markov Decision Process (POMDP) for DRL agents with three actions (stop, record, and replay): a partial observation model is created to mimic a real scenario where the pen-tester can only access limited intelligence. A reward function considering the PT’s multiple goals is designed to optimize the timing and ordering of replay attacks. Knowledge of the grid is further utilized to estimate the full state of the system and transform the POMDP into a Markov Decision Process (MDP) to be solved by DRL. A software-based co-simulation platform for DRL-based PT on the smart grid (GridBattleSim) was developed to validate our proposed PT framework.
BibTeX
@misc{li2025penetration,
  author = {Yuanliang Li and Jun Yan and Mohamed Naili},
  title = {{Penetration Testing of Cyber-Physical Attacks in Smart Grids Based on Partially Observable Markov Decision Process}},
  year = {2025},
  doi = {10.1109/ijcnn64981.2025.11228974},
}

Loading related content...

Figure