17 December 2016 · Electricity transmission · Ukraine

Ukraine grid: Industroyer 2016

Purpose-built grid malware spoke to substation equipment directly over industrial protocols and de-energised a transmission substation feeding Kyiv. The outage was short; the malware was the warning.

Allegedly state-backedWay in: Not publicly confirmedService outageHigh-consequence site

Limited official information. Ukrenergo has not published a technical account; its officials’ statements reached the public through the press. The technical detail comes from a US-CERT alert, a US indictment and researchers, chiefly ESET and Dragos.

What happened

The short version

Late on 17 December 2016 a single 330 kV transmission substation north of Kyiv was de-energised by a cyber attack on Ukrenergo, the national transmission company. Part of Kyiv lost power, which Ukrenergo put at about one fifth of the city’s consumption at that time of night, for roughly an hour.

What made it matter was not the short outage but the tool. Unlike 2015, where attackers drove the operators’ own screens, this attack used purpose-built modular malware, Industroyer, that could talk to substation switchgear directly over industrial protocols. It also carried a data wiperMalware whose only purpose is to destroy data or make computers unbootable, with no ransom and no way back except restoring from backup. and a tool to disable protection relays; what those two achieved on the night is not established in the public technical reports.

Key dates

  1. Way inApril to summer 2016Intrusion begins: around April 2016 (US indictment) or summer 2016 (press citing Ukrenergo’s investigators)
  2. Preparation1 and 12 December 2016Per Slowik: attacker accounts created and event logging disabled on 1 December; a pivot through SQL Server hosts and password spraying on 12 December
  3. PreparationBefore 17 December 2016A backdoorA hidden way into a system that an attacker leaves behind so they can return without going through the normal login., command-and-controlThe server an attacker uses to send instructions to malware inside a victim’s network and to collect what it steals, often shortened to C2. and protocol modules are staged inside the control network
  4. Impact17 December 2016, about 23:53Breakers at the Pivnichna 330 kV substation are opened and it is de-energised
  5. Response18 December 2016, by about 01:05Supply restored after technicians switch from automatic to manual operation
  6. AftermathJune 2017ESET and Dragos publish, naming the malware Industroyer / CrashOverride
  7. AftermathOctober 2020The US Department of Justice indicts six military intelligence officers over the attack; the charges are allegations

How did that happen

The way in, and the way through

How the attackers first got into Ukrenergo has never been made public: ESET states plainly that the infection vector is unknown. The public analyses begin from the malware recovered after the event, not the intrusion that delivered it.

Once inside, the attackers installed a framework with a command-and-controlThe server an attacker uses to send instructions to malware inside a victim’s network and to collect what it steals, often shortened to C2. backdoorA hidden way into a system that an attacker leaves behind so they can return without going through the normal login., a launcher and interchangeable payload modules for four protocols: IEC 60870-5-101, IEC 60870-5-104IEC 104 for short: the protocol electricity grid control centres use to monitor and command substations, with no built-in check on who is sending., IEC 61850The standard for communications inside modern substations, covering how protection relays and control devices talk to each other. and OPC DAAn older Windows-based standard for passing live process data between control systems and other software, which relies on Windows networking to work.. The modules use legitimate protocol functions to find and operate breakers, so no software exploit is needed to throw the switches. A timed launcher triggered them on 17 December.

The path through the plant, step by step (the numbers are the steps told below)

Attribution: Sandworm, a group that the US Department of Justice alleges is part of a foreign military intelligence service (indictment, October 2020, not tested in court); Dragos tracks the activity as ELECTRUM and links it to Sandworm with high confidence

The sequence of events

How it unfolded, step by step

The record in order, from the first foothold to the recovery. Each step says what was done, how it worked, what it looked like from inside the plant, and where the attacker was in the plant at that moment. Read this first; the game that follows asks what would have stopped each step.

  1. Stage 1 · DeliveryEnterprise ITBefore 17 December 2016 (not disclosed)

    Initial access, by a route that is not public

    How the attackers first got into Ukrenergo has never been made public. Investigators quoted in the press say the intruders were inside the network for months before the attack, quietly collecting system logs, watching the traffic and learning how the system administrators worked. They moved with the administrators’ own logins and tools, so nothing stood out as malware. The US indictment later put the start of the compromise at around April 2016. Dragos analyst Joe Slowik reconstructed that quiet IT activity in detail: entrenched in the IT network no later than October 2016, the intruders created their own privileged accounts in the small hours of 1 December and switched off event logging a minute later, then on 12 December pivoted through three SQL Server hosts of the kind used as data historiansThe database server that records process readings over time, which is what reports, trend screens and the office side usually need from the plant. and tried a single administrator password against more than a hundred machines.

    The technical reports from ESET and Dragos start from the malware found afterwards, not the break-in that delivered it, and ESET says plainly that the infection vector is unknown. By the investigators’ account, no one noticed the intruders at the time. That silence is the lesson: a capable state team can live inside a network for months without tripping anything, and a login that works for an administrator works just as well for them.

    With that quiet access, the attackers could stage the tools they needed inside the control network in their own time. Whatever the first door was, nothing between it and the control network is recorded as having got in their way.

    Inside the plant: By investigators’ later account, no one noticed the intruders at the time, because they used the same credentials and tools as the system administrators.

    1. 1The way in is not in the public record.
    2. 2They live inside for months on the admins’ own logins.
    3. 3They stage their tools in the control network, unseen.
  2. Stage 1 · InstallationControl networkBefore 17 December 2016 (timing not public)

    A backdoor and command-and-control inside the control network

    Once inside, the attackers installed a small modular framework. Its core was a backdoorA hidden way into a system that an attacker leaves behind so they can return without going through the normal login. that reached out over ordinary-looking encrypted web traffic to a command server on the internet, so the attackers could send it instructions. Dragos notes the attackers had to set up an internal relay point, a proxy, before installing the backdoor, and every sample ESET analysed was hard-coded to call home through it.

    Whether anyone at Ukrenergo saw any of this is not known. The backdoorA hidden way into a system that an attacker leaves behind so they can return without going through the normal login. used normal web protocols through a relay on the internal network, so only something watching the control network for a new host calling out, or for a relay that should not be there, would have shown it. A persistent backdoor with a live channel to the outside sat in the control network until the day of the attack.

    With that channel in place, the attackers could load and launch the attack modules whenever they chose.

    “The CRASHOVERRIDE malware is a modular framework consisting of an initial backdoor, a loader module, and several supporting and payload modules.”

    Source 2: CRASHOVERRIDE: Analyzing the Threat to Electric Grid Operations
    1. 1The control network has a route to the internet.
    2. 2They plant a backdoor that calls home over web traffic.
    3. 3They can load the attack modules whenever they choose.
  3. Stage 2 · Develop and testControl networkBefore 17 December 2016 (timing not public)

    Protocol modules tuned to the substation

    The framework carried four interchangeable payload modules, each for a different industrial protocol used in electric power systems. Each one knows how to find the control points for breakers and change their state using the protocol’s own legitimate functions. Because the commands are exactly the ones an operator or the SCADASupervisory control and data acquisition: the software and screens that let operators watch and control equipment spread across a site or a region from one place. system would send, no software flaw or exploit is needed to throw the switches.

    This is what made the tool dangerous. These protocols were designed decades ago without security in mind, so a command from the malware cannot be told apart from a command from the control room unless something is watching the pattern of operation itself. No public account mentions anything at Ukrenergo that could tell a malicious breaker command from a legitimate one.

    The modules were set to run on a timer, waiting for the chosen day.

    “The 104 module properly understands how to enumerate and discover IOAs to operate breakers.”

    Source 2: CRASHOVERRIDE: Analyzing the Threat to Electric Grid Operations
    1. 1The substation’s protocols trust any command they receive.
    2. 2The modules learn to speak those protocols fluently.
    3. 3They sit on a timer, ready to open the breakers.
  4. Stage 2 · Execute ICS attackField devices17 December 2016, 23:53 local time

    Breakers opened at the Pivnichna substation

    Late on 17 December 2016 the launcher triggered the payloads; the recovered samples carried the dates 17 and 20 December. The modules sent breaker-open commands straight to the substation equipment, and at about 23:53 local time the Pivnichna 330 kV substation was de-energised. Part of northern Kyiv lost power.

    To the equipment the commands were valid, so the breakers simply opened. Dragos is confident this malware caused the outage; ESET, at the time, called the link very probable but not yet confirmed. Once a valid command reached the switchgear, nothing else had a say in what happened next.

    The outage itself would be short. What mattered was that a tool had just operated a transmission substation over its own protocols.

    Inside the plant: The substation dropped out late that night; Ukrenergo suspected outside interference almost at once, and its IT specialists later found transmission data outside the standard protocols.

    “Dragos assesses with high confidence that the same malware was used in the cyber-attack to de-energize a transmission substation on December 17, 2016, resulting in outages for an unspecified number of customers.”

    Source 2: CRASHOVERRIDE: Analyzing the Threat to Electric Grid Operations
    1. 1A breaker command from the right host is carried out as sent.
    2. 2The modules send breaker-open commands to the equipment.
    3. 3The substation goes dark and part of Kyiv loses power.
  5. Stage 2 · ImpactControl network17 December 2016, during the attack

    A wiper, and a tool to disable protection relays

    The framework also carried a data wiperMalware whose only purpose is to destroy data or make computers unbootable, with no ransom and no way back except restoring from backup. and a separate tool aimed at protection relays. The wiper clears the settings Windows needs to start and overwrites configuration files, including substation configuration files and file types used by ABB products, to make recovery harder. The relay tool was built to send specially formed network messages to Siemens SIPROTEC relays, using a known flaw to make a relay stop responding until someone restarted it by hand.

    Both parts aimed at the recovery, not just the outage: wipe the machines the operators would rebuild from, and silence the relays that protect the substation. ESET analysed the relay tool; Dragos could not confirm it but said it had its own evidence that it existed. Whether either tool actually ran at the substation, rather than just sitting in the framework, the public technical reports do not establish.

    Had both worked, the operators would have faced relays needing a hand reset and machines that could not start, and how long the lights stayed off would have come down to what copies of the substation’s settings they still had somewhere the wiperMalware whose only purpose is to destroy data or make computers unbootable, with no ransom and no way back except restoring from backup. could not reach.

    “This tool leverages the CVE-2015-5374 vulnerability in order to render a device unresponsive.”

    Source 1: Win32/Industroyer: A new threat for industrial control systems
    1. 1Relay settings and the substation’s Windows hosts are within the attackers’ reach.
    2. 2The framework readies a wiper and a relay-killing tool.
    3. 3Recovery itself is the target, not just the outage.
  6. Stage 2 · Response and recoveryPhysical process17 December 2016, within about an hour

    Manual restoration by Ukrenergo

    Ukrenergo brought the power back by switching the substation from automatic to manual operation. By the company’s account the restoration began about 30 minutes after the fault was detected, and supply was back within roughly an hour; press reports put the failure at about 23:53 and full restoration by about 01:05 on 18 December.

    The outage was short for two reasons: only one transmission substation was affected, and trained people could run it by hand when the automatic systems could not be trusted. That manual capability, not any control that blocked the attack, is what capped the event. The lasting significance was the malware itself, a modular and re-usable grid attack framework.

    What should follow such a night is a rebuild of any hosts the wiperMalware whose only purpose is to destroy data or make computers unbootable, with no ransom and no way back except restoring from backup. reached, and an agreed way of deciding, before the next one, who treats an unexplained outage as a cyber attack and what happens then.

    Inside the plant: Technicians switched the substation from automatic to manual mode to stabilise it and bring the load back.

    “According to the company, the restoration of the electric service started 30 minutes after its detection, when the technicians switched from automatic to manual mode.”

    Source 4: A new cyber-attack on the Ukrainian electrical network?
    1. 1No control stopped the attack; recovery rests on people.
    2. 2Technicians switch the substation to manual operation.
    3. 3Power returns within about an hour.

That is the record. Now the question each step raises:

Could you have stopped it?

Now you decide

Could you have stopped it?

The same steps, as decisions. At most steps you pick the control that would have stopped the attack at a cost a high-consequence site can carry; at some you place the attacker on the plant map first, or spot the one control that does not act. A nuclear-grade answer at a water utility scores less than the right-sized one, because the money and the people are not infinite. Round 2 hands you a budget. “Would have stopped” means in this exercise’s judgement, with the control in place and working; the record rarely says what the operator actually had, and no control is a guarantee.

Step 1 of 6
0 / 18 shield 0 / 3 insight
High-consequence site · the band this exercise judges by

National transmission: a 330 kV substation that feeds a capital city. This is high-consequence infrastructure where investment in assurance against a capable state adversary is justified, the opposite end of the scale from a town water station.

Target security levels come from the site's own IEC 62443-3-2 risk assessment; these bands are how the game judges what is proportionate. The reasoning under each answer says why a control is the right weight for this site.
01
Stage 1 · DeliveryBefore 17 December 2016 (not disclosed)

Initial access, by a route that is not public

  1. 1The way in is not in the public record.
  2. 2They live inside for months on the admins’ own logins.
  3. 3They stage their tools in the control network, unseen.

Months inside by a route never made public

Neither ESET nor Dragos establishes how the attackers first entered Ukrenergo’s networks. The public reporting starts from the malware found afterwards. This step is here so the walkthrough does not pretend the entry point is known. Re-read this step in the story

Before the control: where in the plant was the attacker at this step? 1 insight point

02
Stage 1 · InstallationBefore 17 December 2016 (timing not public)
Answer the step above

A backdoor and command-and-control inside the control network

03
Stage 2 · Develop and testBefore 17 December 2016 (timing not public)
Answer the step above

Protocol modules tuned to the substation

04
Stage 2 · Execute ICS attack17 December 2016, 23:53 local time
Answer the step above

Breakers opened at the Pivnichna substation

05
Stage 2 · Impact17 December 2016, during the attack
Answer the step above

A wiper, and a tool to disable protection relays

06
Stage 2 · Response and recovery17 December 2016, within about an hour
Answer the step above

Manual restoration by Ukrenergo

Scoring: 3 points for the proportionate control, 2 for one that works but is heavier than this site needs, 1 for a control that helps, 0 for one that does not act at that step. In an odd-one-out step, 3 points for spotting the control that does not act. Plant-map questions earn insight points. Sources are listed at the end of the page. Jump to sources

Response and recovery

How they got back

Ukrenergo restored power within about an hour by switching from automatic to manual operation, beginning roughly 30 minutes after detection. Because the event hit a single transmission substation rather than many distribution substations, and because manual operation was available, the outage was short. The broader significance was the malware itself: a modular, re-usable grid attack framework whose wiperMalware whose only purpose is to destroy data or make computers unbootable, with no ransom and no way back except restoring from backup. and relay denial-of-service capabilities pointed at longer and more damaging outages than actually occurred. Analysts assessed it could be re-purposed against grids elsewhere, with added protocol support.

Take this to your plant

  • 1When malware speaks the control protocols fluently, the commands look legitimate. The defence is baselining normal operation and alerting on what does not fit, not signatures.
  • 2High-consequence infrastructure earns high-assurance controls: independent hardware protection, unidirectionalA hardware device that lets data flow in one direction only, so information can leave the plant but nothing can come back in; also called a unidirectional gateway. boundaries, logic and configuration integrity. These belong here, and would be disproportionate at a town utility.
  • 3The outage was short because operators could run the substation by hand. Manual capability is the resilience that caps every grid incident in this library.

Sources

Where this record comes from

Government advisories, the victim's own statements, court and parliamentary records, and the technical reports of the teams that analysed the malware. Press is used only where no primary record exists, and is marked.

  1. 1
  2. 2
  3. 3
    Alert TA17-163A: CrashOverride Malware US-CERT (DHS), 2017 · Government alert
  4. 4
    A new cyber-attack on the Ukrainian electrical network? INCIBE-CERT (Spain), 2017 · Government analysis
  5. 5
    Justice Department press release on the charges of 19 October 2020 US Department of Justice, 2020 · Government record
  6. 6
    Indictment unsealed on 19 October 2020 (W.D. Pa.) US Department of Justice, 2020 · Court record
  7. 7
  8. 8
  9. 9
  10. 10
    Anatomy of an attack: detecting and defeating CRASHOVERRIDE Joe Slowik, Dragos (Virus Bulletin Conference), 2018 · Conference paper
Where the record is uncertain
  • How the attackers first got in is not public; ESET says the infection vector is unknown. Any account of the entry would be speculation.
  • Duration is about an hour (Ukrenergo and the DOJ indictment say about one hour, INCIBE-CERT an hour and 15 minutes; press reports of Ukrenergo’s statement put the failure at 23:53 and restoration by 01:05). Scale comes from Ukrenergo’s acting head, Vsevolod Kovalchuk, who told Reuters the loss was about 200 MW, roughly a fifth of Kyiv’s night-time consumption; the technical reports do not quantify customers.
  • The substation name (Pivnichna, “Northern”), its 330 kV rating and the timings come from Ukrenergo statements reported in the press; the ESET and Dragos reports name neither the substation nor the operator, and the DOJ indictment calls it “Electric Company 1”.
  • How long the attackers were inside before 17 December is not given in the technical reports; press citing Ukrenergo’s investigators puts the start of the intrusion in summer 2016, with the attackers present for months; the US indictment says the network had been compromised since around April 2016.
  • ESET analysed the SIPROTEC relay module; Dragos could not validate that it existed, though it said it had independent evidence that it did. Whether the wiper and relay tool actually ran at the substation, as opposed to being present in the framework, is not established in the public technical reports.

Talk to RelyBlue

Which of these doors is open in your plant?

An assessment that starts from the attacks that actually happened, scoped to what a site like yours should carry.

  • You talk to a senior advisor, never a salesperson