Towards Automated Generation of Smart Grid Cyber Range for Cybersecurity Experiments and Training

Daisuke Mashima, Muhammad M. Roomi, Bennet Ng, Zbigniew Kalbarczyk, S. M. Suhail Hussain, Ee-Chien Chang · DOI

Abstract

Securing modern smart grids requires high-fidelity environments for testing and training. This paper presents SG-ML (Smart Grid Modelling Language), an automated framework that generates virtual cyber ranges from industry-standard configuration files. By bridging cyber emulation with physical power simulation, SG-ML enables reproducible, scalable, and cost-effective security research.

Introduction: The Challenge of Smart Grid Security

Smart grids are critical infrastructure, making live security testing impossible. While hardware testbeds provide high fidelity, they are expensive and physically rigid. Conversely, many virtual simulators are either too simplistic or custom-built "one-offs" that lack reproducibility. There is a critical need for a middle ground: an automated, high-fidelity system capable of simulating complex cyber-physical attacks, such as the 2015 Ukraine power grid hack, without the overhead of physical hardware.

Methodology: The SG-ML Processor

The core of this framework is the SG-ML Processor, which functions as a compiler for cyber-physical systems. It ingests standardized XML configuration files to instantiate a functional, interactive security testbed.

The SG-ML Processor acts as a compiler, transforming XML models into a functional Smart Grid Cyber Range.

1. Modeling with Industry Standards

Rather than creating a proprietary language, SG-ML leverages established standards:

  • IEC 61850 SCL: Used to define substation structures (SSD), communication logic (SCD), and device capabilities (ICD).
  • IEC 61131-3 (PLCopen XML): Used to define the logic for Programmable Logic Controllers (PLCs).
  • Supplementary XML: Handles physical load profiles and security thresholds (e.g., circuit breaker trip settings).

2. The Automated Toolchain

The processor automatically generates three primary components:

  • Cyber Side: A virtual network using Mininet, featuring virtual Intelligent Electronic Devices (IEDs) and OpenPLC for control logic.
  • Physical Side: A power flow simulation powered by Pandapower.
  • HMI: A SCADA interface using SCADABR for human interaction.
Detailed architecture of the SG-ML toolchain, illustrating the flow from configuration files to virtual instances.

To synchronize these domains, a MySQL-based "cache" interface stores real-time measurements (voltage, current) and control states (breaker status), bridging the gap between discrete cyber events and continuous physical simulation.

Validation and Key Results

The framework was validated using the configuration of the EPIC (Electric Power and Intelligent Control) testbed in Singapore. The authors successfully generated a virtual range for a 5-substation model containing 104 virtual IEDs.

Performance and Scalability

Running on a standard desktop PC (Intel i9, 16GB RAM), the system maintained a 100ms update interval for power flow simulations, demonstrating its viability for human-in-the-loop training and real-time interaction.

Security Demonstrations

The authors showcased the platform's utility by executing two major attack vectors:

  1. False Command Injection (FCI): Transmitting illegitimate MMS commands to trip circuit breakers.
  2. Man-in-the-Middle (MITM): Using ARP spoofing to intercept grid measurements and mislead the SCADA operator, effectively "blinding" them to the grid's actual state.

Discussion and Future Work

SG-ML's primary innovation lies in its automation. By using IEC 61850 files, utilities can create "digital twins" of existing infrastructure for red-team exercises without starting from scratch. However, limitations remain; the current use of steady-state power flow (Pandapower) may miss high-speed electromagnetic transients. Future work will focus on integrating containerization (Docker) and exploring cloud-based "Cyber Range as a Service" models to further enhance accessibility.

The framework and models are publicly available on GitHub.

Summary updated

BibTeX
@inproceedings{mashima2023towards,
  author = {Daisuke Mashima and Muhammad M. Roomi and Bennet Ng and Zbigniew Kalbarczyk and S. M. Suhail Hussain and Ee-Chien Chang},
  title = {{Towards Automated Generation of Smart Grid Cyber Range for Cybersecurity Experiments and Training}},
  booktitle = {DSN-S},
  year = {2023},
  doi = {10.1109/dsn-s58398.2023.00024},
}
Figure