Skip to main content
QUICK REVIEW

[Paper Review] Co-Simulation Framework For Network Attack Generation and Monitoring

Oceane Bel, Joonseok Kim|arXiv (Cornell University)|Jun 30, 2023
Distributed and Parallel Computing SystemsComputer Science3 citations
TL;DR

This paper presents NATI[P]G, a containerized co-simulation framework integrating GridLAB-D, HELICS, and NS-3 to enable realistic, hardware-free cyber-physical simulation of power grids. It demonstrates man-in-the-middle attacks using DNP3 at the application layer, showing that grid-forming inverters stabilize better under attack and that optimized capacitor and generator settings can restore frequency within two minutes after islanding.

ABSTRACT

Resilience assessment is a critical requirement of a power grid to maintain high availability, security, and quality of service. Most grid research work that is currently pursued does not have the capability to have hardware testbeds. Additionally, with the integration of distributed energy resources, the attack surface of the grid is increasing. This increases the need for reliable and realistic modeling techniques that are usable by the wider research community. Therefore, simulation testbeds have been used to model a real-world power grid topology and measure the impact of various perturbations. Existing co-simulation platforms for powergrid focus on a limited components of the overall system, such as focusing only on the dynamics of the physical layer. Additionally a significant number of existing platforms need specialized hardware that may be too expensive for most researchers. Finally, not many platforms support realistic modeling of the communication layer, which requires use of Supervisory Control and Data Acquisition communication protocol such as DNP3 while modeling cybersecurity scenarios. We present Network Attack Testbed in [Power] Grid (NATI[P]G), (pronounced natig), a standalone, containerized, and reusable environment to enable cyber analysts and researchers to run different cybersecurity and performance scenarios on powergrid. Our tool combines GridLAB-D, a grid simulator, HELICS, a co-simulation framework, and NS-3, a network simulator, to create an end-to-end simulation environment for the power grid. We demonstrate use cases by generating a library of datasets for several scenarios. These datasets can be used to detect cyberattacks at the cyber layer, and develop counter measures to these adverse scenarios.

Motivation & Objective

  • Address the lack of accessible, end-to-end co-simulation platforms for power grid cyber-physical systems that support realistic communication layer modeling.
  • Enable researchers to simulate and analyze sophisticated cyberattacks—particularly at the application layer—on distribution grids without requiring expensive or specialized hardware.
  • Develop a reusable, containerized testbed that supports diverse cybersecurity and resilience assessment scenarios for microgrids and distribution networks.
  • Provide benchmark datasets from simulated attack scenarios to support downstream research in intrusion detection, risk assessment, and mitigation strategy development.
  • Demonstrate the feasibility of modeling real-world grid behaviors, including frequency stability and inverter response, under adversarial conditions.

Proposed method

  • Integrate GridLAB-D for power system dynamics, NS-3 for network-level communication and attack simulation, and HELICS as a co-simulation backbone to synchronize time and data across simulators.
  • Implement man-in-the-middle attacks at the application layer using DNP3 protocol commands (e.g., modifying Pref and Qref values) in NS-3 to simulate cyber intrusions on inverter controls.
  • Use a topology configuration file to define grid structures, including star and ring topologies, to evaluate attack impacts across different network configurations.
  • Leverage containerization (Docker) to deploy NATI[P]G as a standalone, reusable, and portable environment for researchers.
  • Simulate grid islanding events and measure frequency deviation and voltage stability under various control parameter settings.
  • Collect and analyze time-series datasets from simulators to detect attack-induced anomalies and evaluate mitigation strategies.
Figure 1 : Overview of the co-simulation environment with interactions between HELICS, GridLAB-D and NS3. Each node uses the DNP3 protocol to communicate. The control center, where the Open Platform Communications (OPC) server is located, is responsible for control a region of the grid network. The
Figure 1 : Overview of the co-simulation environment with interactions between HELICS, GridLAB-D and NS3. Each node uses the DNP3 protocol to communicate. The control center, where the Open Platform Communications (OPC) server is located, is responsible for control a region of the grid network. The

Experimental results

Research questions

  • RQ1How do grid-following and grid-forming inverters differ in their response to manipulated Pref and Qref values during a man-in-the-middle attack?
  • RQ2What generator and capacitor parameter settings minimize frequency deviation when a microgrid is isolated due to a cyberattack?
  • RQ3Can realistic DNP3-based application-layer attacks be effectively modeled and simulated in a co-simulation framework without specialized hardware?
  • RQ4How does network topology (e.g., star vs. ring) influence the propagation and detection of cyber-induced disturbances in a distribution grid?
  • RQ5To what extent can the NATI[P]G framework generate reproducible, data-rich datasets for training and validating cyber resilience models?

Key findings

  • Grid-forming inverters demonstrated superior resilience to manipulated Pref and Qref values, successfully restoring output voltage to pre-attack levels, whereas grid-following inverters were more susceptible to instability.
  • When the generator power was reduced to 300 kW and capacitor sizes increased to 600 kVAr per phase, frequency returned to normal within approximately two minutes after islanding, indicating effective mitigation.
  • In both star and ring topologies, the same optimized generator and capacitor settings achieved similar frequency recovery, suggesting scalability of the mitigation strategy.
  • The current measured at the load connected to inverter 42 fluctuated more under attack, with higher peaks and lower troughs, mirroring patterns observed in the star topology, indicating consistent attack signatures.
  • The frequency response during islanding showed an initial rise followed by a slower climb and eventual stabilization at around 140 seconds, indicating dynamic system recovery under attack.
  • The framework successfully enabled detection of cyberattack-induced anomalies in real-time data streams, supporting the development of data-driven intrusion detection systems.
Figure 2 : Microgrid setup for experimentation, using the IEEE feeder model as described by Ashok et al. [ 8 ] . We use this setup to run the cyber attacks and collect data on how the attacks impact the performance of the power grid. The attack conducts a man-in-the-middle attack on two inverters in
Figure 2 : Microgrid setup for experimentation, using the IEEE feeder model as described by Ashok et al. [ 8 ] . We use this setup to run the cyber attacks and collect data on how the attacks impact the performance of the power grid. The attack conducts a man-in-the-middle attack on two inverters in

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.