Home▸Articles▸Cybersecurity

Smart City Grid Cyberattack: Worm Propagation & Segmentation (2D)

Understanding how cyberattacks spread in smart city infrastructures through a discrete-time SIR model.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is a Smart City Grid Cyberattack?

A smart city grid cyberattack involves malicious software, often referred to as a 'worm,' that can spread through interconnected systems such as traffic signals and Supervisory Control and Data Acquisition (SCADA) controllers. This type of attack exploits vulnerabilities in the network infrastructure to propagate and potentially cause significant disruptions.

The 2D grid map simulates this scenario by representing various nodes and links, allowing for a detailed analysis of how the worm spreads and how different containment strategies can be employed.

Discrete-Time SIR Model

The Susceptible-Infected-Recovered (SIR) model is used to simulate the spread of the cyberattack. In this context, nodes are initially susceptible to infection. Once infected, they can transmit the worm to other nodes until they either recover and become immune or remain infected.

By adjusting parameters such as the infection rate (β) and detection/patch rate (γ), one can observe how these factors influence the spread of the worm and the effectiveness of containment measures.

live demo · related simulation● LIVE

Segmentation and Containment

Segmentation is a critical strategy to contain the spread of the worm. By cutting backbone links between districts, one can isolate infected areas from unaffected ones, thereby limiting the propagation of the attack.

The effectiveness of segmentation depends on the initial location of the attack and the rate at which patches are deployed (γ). This model helps in understanding the balance between isolation and connectivity in a smart city's infrastructure.

Why It Matters

Understanding the dynamics of cyberattacks in smart cities is crucial for developing robust security measures. The 2D grid simulation provides insights into how different strategies can be employed to mitigate potential threats and ensure the resilience of critical infrastructure.

This model also highlights the importance of timely detection, rapid patch deployment, and strategic segmentation in preventing widespread disruptions.

Frequently asked questions

What is a worm in this context?

In the context of smart city grid cyberattacks, a worm is a type of malicious software that can spread from one node to another through interconnected systems, potentially causing widespread disruption.

How does segmentation help contain the attack?

Segmentation helps by isolating infected areas from unaffected ones, thereby preventing the worm from spreading further. This strategy is effective in limiting the propagation of the attack and can buy time for security teams to implement patches or other containment measures.

What are the key parameters that influence the spread of the worm?

The key parameters include the infection rate (β) and detection/patch rate (γ). The infection rate determines how quickly the worm spreads from one node to another, while the detection/patch rate indicates how fast nodes can be isolated or patched to prevent further propagation.

Why is it important to study this model?

Studying this model helps in understanding the dynamics of cyberattacks and developing effective strategies for containment. It provides insights into the balance between isolation and connectivity, which are crucial for maintaining the resilience of smart city infrastructure.

Try it live

Everything above runs in your browser — open Smart City Grid Cyberattack: Worm Propagation & Segmentation (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Smart City Grid Cyberattack: Worm Propagation & Segmentation (2D) simulation

What did you find?

Add reproduction steps (optional)