OT / ICS security research · Incident case study

FrostyGoop: ICS Malware that Froze a City over Modbus

(Lviv, Ukraine · January 2024)

  • Industrial & OT Cybersecurity
  • Published
  • 11 min read

Incident impact

~48h

Confirmed OT incident

600+ buildings · Lviv, Jan 2024 · Modbus TCP / port 502 · no controller zero-day

Incident case study

1. Incident Identification

ICS-specific malware named FrostyGoop was used to disrupt district heating for a Ukrainian city in January 2024. It is one of the few OT attacks with a confirmed victim, a confirmed physical consequence, and authoritative analysis.

FieldValue
Malware nameFrostyGoop (also tracked as BUSTLEBERM)
ClassICS-specific malware; the ninth ICS-focused malware publicly documented
Notable firstFirst ICS malware to use Modbus TCP (port 502) directly to cause an OT impact
Discovered / reported byDragos (identified April 2024; public report July 2024)
Language / platformWritten in Go (Golang), compiled for Windows
Confirmed victimLvivteploenerg, a municipal district energy company in Lviv, Ukraine (confirmed by Ukraine's SBU)
Target devicesENCO heating controllers with Modbus TCP (port 502) reachable
Incident dateJanuary 2024; heating lost for 600+ apartment buildings for nearly 48 hours in sub-zero weather
Initial access~April 2023, via an undisclosed vulnerability in an internet-exposed MikroTik router
Core weakness exploitedModbus has no authentication (architectural), plus internet exposure and poor network segmentation
AttributionNot firmly attributed; Moscow-linked IP addresses observed during the attack
Associated CVENone confirmed for the initial-access router flaw (reported as "undetermined")
Document scopeHow the attack worked end to end, why it succeeded, and how an OT operator prevents the same chain

Why this case matters more than a CVSS number. FrostyGoop did not rely on a clever exploit. It sent valid, well-formed Modbus commands to controllers that were reachable and that, by protocol design, do not authenticate the sender. The attack is a lesson in exposure and architecture, not in patching a bug, which is exactly why it is worth studying: the same conditions exist in thousands of plants today (Dragos counted roughly 46,000 internet-exposed Modbus devices).

2. Executive Summary

In January 2024, attackers disrupted central heating for more than 600 apartment buildings in Lviv, Ukraine, during sub-zero winter, for almost two days. They did it with purpose-built ICS malware, FrostyGoop, that communicates directly with industrial controllers over Modbus TCP.

The attack succeeded because of three ordinary OT weaknesses stacked together:

  1. An internet-exposed device (a MikroTik router) gave the attackers their first foothold around April 2023.
  2. A flat, unsegmented network let them move from that router to the management servers and then to the heating controllers without resistance.
  3. Modbus has no authentication, so once the attackers could reach the ENCO controllers on port 502, FrostyGoop simply issued valid commands to manipulate them, reporting false temperatures and cutting heat.

No zero-day exploit was needed against the controllers themselves, and antivirus did not detect the malware. The defense is therefore not a patch; it is removing exposure, segmenting the network, controlling who can reach Modbus, and monitoring OT traffic. The central finding is that the FrostyGoop conditions are common and discoverable in advance, which is precisely what asset discovery, vulnerability assessment, and attack-vector analysis are meant to catch before an attacker does.

3. Technical Analysis & Root Cause

The shared surface: unauthenticated Modbus on port 502. Modbus TCP is one of the oldest and most common industrial protocols. A controller exposes holding registers that store inputs, outputs, and configuration (for a heating system, things like target temperatures and valve or pump states). Any client that can reach port 502 can read and write those registers, because the protocol has no concept of authentication. This is not a defect in a specific product; it is how Modbus was designed, for an era when the control network was assumed to be physically isolated.

How FrostyGoop works.

  • It is written in Go and runs on Windows, typically from a host the attacker already controls inside the environment.
  • It reads a JSON configuration file that lists target IP addresses and the Modbus commands to send; it can also take command-line arguments, and it logs results to the console or a JSON file.
  • It opens Modbus TCP connections to the target controllers and writes to their holding registers, issuing valid commands that change how the device behaves.
  • Because the commands are legitimate Modbus traffic, they look like normal engineering activity, and signature-based antivirus did not flag the tool.

What it did to the ENCO controllers. The operators sent Modbus commands that produced inaccurate measurements and system malfunctions. Reporting on the incident describes the controllers being made to report false temperature readings while heating output was effectively disabled, so the system believed it was operating normally while buildings went cold.

Root cause, in one line. The controllers trusted anyone who could reach them, the attackers could reach them because the network was exposed and flat, and the protocol gave the attackers full read/write control with no credential ever required.

Fact vs assessment. The use of Modbus, the ENCO target, the Lviv victim, and the heating outage are confirmed facts from Dragos and Ukrainian authorities. The precise register-level manipulation (for example, exactly which values were overwritten) is not fully public; the "false readings, heat disabled" description reflects the reported effect, not a byte-level reconstruction.

4. Attack Path / Kill Chain

This is a real, documented kill chain, so it is presented as the sequence that actually occurred, where each stage created the conditions that the next stage depended on.

From an exposed router to a city without heat

Only stage 1 needed a vulnerability
  1. Stage 1 · Entry · ~Apr 2023Internet-exposed MikroTik routerAn undisclosed vulnerability gives the attacker a foothold at the edge.
  2. Stage 2Flat / unsegmented internal networkNo separation between the router, four management servers, and the OT controllers lets the attacker move freely.
  3. Stage 3Persistence and credential theftA webshell is planted; credentials are harvested from the servers.
  4. Stage 4Reach the ENCO controllers on Modbus TCP (port 502)The controllers answer any client on the network; no authentication.
  5. Stage 5FrostyGoop manipulates holding registersValid Modbus commands cause false readings and disable heating.
  6. Impact · Jan 2024Physical impact600+ apartment buildings lose heat for ~48 hours in sub-zero weather.

Precondition vs standalone (the lesson).

  • Stage 1 (exposed router) is the only step that needed a vulnerability, and it was at the edge, not in the OT devices.
  • Stages 2 to 5 needed no exploit at all. They relied on flat networking and the fact that Modbus does not authenticate.
  • Breaking any single link, especially segmentation (stage 2) or Modbus reachability (stage 4), would have stopped the physical impact.

In brief, what happened and how. Around April 2023 the attackers found an internet-facing MikroTik router belonging to the heating utility and exploited an undisclosed flaw in it to gain their first foothold. Because the internal network was flat, with no separation between that router, the four management servers, and the heating controllers, they were able to move inward freely, plant a webshell for persistence, and steal credentials from the servers. That access put them on the same network as the ENCO heating controllers, which listen on Modbus TCP (port 502) and, by protocol design, accept commands from any client without authentication. On that reachable, unauthenticated interface the attackers ran FrostyGoop, which wrote to the controllers' holding registers using valid Modbus commands, driving them to report false temperatures while heating output was cut. The only part of the chain that required exploiting a vulnerability was the edge router; everything that followed used legitimate functionality and exposed access. The result, in January 2024, was that more than 600 apartment buildings in Lviv lost central heating for almost 48 hours in sub-zero weather, and because the controllers reported normal readings, the fault was slow to detect and took nearly two days to recover.

5. Impact Assessment

Physical and human impact. More than 600 apartment buildings in Lviv lost central heating for nearly 48 hours during sub-zero winter conditions. This is one of the clearest public examples of a cyber attack producing a direct physical, human-safety consequence in civilian infrastructure.

Operational impact. The manipulated controllers reported false temperatures, so the heating system's own instrumentation masked the problem, delaying detection and recovery. Remediation took almost two days.

Detection impact. The malware was not caught by antivirus. Because it used valid Modbus commands, there was no malformed-packet signature to alert on. Only OT-protocol-aware monitoring would have surfaced the anomalous register writes.

Why it generalizes. The attack needed no product-specific zero-day against the controllers. With roughly 46,000 internet-exposed Modbus devices worldwide and flat networks common in OT, the same chain is reproducible against many operators. The blast radius of a Modbus-reachable controller is therefore the process it controls, which in critical services means public safety.

6. Remediation & Mitigation

The organizing idea is the same as any OT attack chain: break any one link, and prioritize the links that need no vendor patch.

6.1 Remove exposure (break stage 1)

  • Inventory and eliminate internet-exposed OT and edge devices (routers, controllers, gateways). Verify with external scanning that nothing on the OT side answers from the internet, especially port 502.
  • Patch and harden edge devices (the MikroTik router here); treat any internet-facing device adjacent to OT as a primary target.

6.2 Segment the network (break stage 2, the highest-value control)

  • Separate OT controllers from edge devices and management servers with enforced zone boundaries (Purdue-style segmentation).
  • Allow Modbus (port 502) only from named, authorized engineering stations, and deny it everywhere else. This single control would have stopped FrostyGoop reaching the ENCO controllers.

6.3 Control reachability to Modbus (break stage 4)

  • Place controllers behind a firewall that restricts port 502 to an allow-list.
  • Where the equipment supports it, move to authenticated control protocols (Modbus/TCP Security, OPC UA, CIP Security, BACnet Secure) so a reachable controller still will not obey an unauthenticated sender.

6.4 Detect what antivirus cannot (break stage 5)

  • Deploy continuous OT network monitoring with ICS-protocol-aware analytics. Alert on unexpected Modbus writes to holding registers, new Modbus clients, and controller configuration changes outside maintenance windows.
  • Alert on the symptoms the attack hides behind: sudden sensor-value changes, readings that disagree with physical reality, and controller firmware or mode changes.

6.5 Programme-level controls (SANS 5 Critical Controls for OT)

  • ICS incident response plan tailored to OT.
  • Defensible architecture (the segmentation above).
  • ICS network visibility and monitoring (the detection above).
  • Secure remote access (no direct internet exposure; MFA and brokered access).
  • Risk-based vulnerability management focused on exposure and reachability, not just CVSS scores.

One-line summary: FrostyGoop proves that an attacker does not need a controller zero-day. Remove internet exposure, segment the network, restrict and authenticate Modbus, and monitor OT traffic, and the chain that froze a city has nowhere to begin.

7. References & Credits

Credits. FrostyGoop was discovered and analyzed by Dragos (Kyle O'Meara, Mark "Magpie" Graham, and Carolyn Ahlers). The compromised facility, Lvivteploenerg, was confirmed by Ukraine's Security Service (SBU).

References.

Security case study · Industrial & OT Cybersecurity · Published Jun 26, 2025

Back to top ↑

Back to all case studies