23 December 2015 · Electricity distribution · Ukraine
Ukraine power grid 2015
Attackers who had been inside three distribution companies for over six months used the utilities’ own SCADA to open breakers at dozens of substations. Around 225,000 customers lost power, and the operators were back on manual control for months.
Allegedly state-backedWay in: Phishing emailService outageStructured site
On the afternoon of 23 December 2015 attackers used 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. systems of three Ukrainian distribution companies to open breakers at dozens of substations (SANS counts at least 27, INL over 50), within half an hour of each other. Roughly 225,000 customers lost power for several hours.
They then wiped workstations and servers, corrupted the firmwareThe built-in software inside a device such as a PLC, switch or firewall, below the user programs, which the maker updates from time to time. of the substation gateways that connect the control centre to the field, reconfigured the UPSUninterruptible power supply: the battery unit that keeps servers and controls running through a power cut, often managed over the network. at one company at least so its own buildings would lose power too, and flooded a call centre so customers could not report the outage. Crews restored supply by operating substations by hand, and the companies were still running in a constrained, manual mode months later.
Key dates
Way inSpring 2015Spear-phishingAn email or message that tricks someone into opening an attachment, clicking a link or giving up a password; spear-phishing is the same thing aimed at a named person. emails with macro-enabled Word and Excel files install BlackEnergy 3 on the business networks
PreparationSpring to December 2015 (not dated in the reports)Credentials harvested on the business network and used over a VPNVirtual private network: an encrypted tunnel over the internet that makes a remote computer behave as if it were plugged into the plant or office network. with no MFAMulti-factor authentication: a login that needs something more than a password, such as a code from a phone or a hardware key, so a stolen password alone is not enough. to reach dispatch systems
PreparationBefore 23 December 2015 (not dated in the reports)Malicious gateway firmwareThe built-in software inside a device such as a PLC, switch or firewall, below the user programs, which the maker updates from time to time., UPSUninterruptible power supply: the battery unit that keeps servers and controls running through a power cut, often managed over the network. disconnects and a KillDiskA disk-wiping component used in the Ukraine grid attacks that erases files and the boot record so that computers cannot start again.wiperMalware whose only purpose is to destroy data or make computers unbootable, with no ransom and no way back except restoring from backup. prepared inside the control network
Impact23 December 2015, from 15:35Breakers opened from dispatch screens at three companies within 30 minutes; about 225,000 lose power
Response23 December 2015, eveningCrews close breakers by hand; supply back within three to six hours
AftermathFebruary to March 2016Breakers still operated manually more than two months on; ICS-CERT and SANS publish their reports
How did that happen
The way in, and the way through
Entry was by spear-phishingAn email or message that tricks someone into opening an attachment, clicking a link or giving up a password; spear-phishing is the same thing aimed at a named person. in spring 2015: Word and Excel documents that asked the reader to enable macros, which installed the BlackEnergy 3 implant. No software exploit was used at any point. Over the following months the attackers harvested credentials, escalated privileges and learned the business network.
The VPNVirtual private network: an encrypted tunnel over the internet that makes a remote computer behave as if it were plugged into the plant or office network. from the business network into the control network lacked two-factor authenticationMulti-factor authentication: a login that needs something more than a password, such as a code from a phone or a hardware key, so a stolen password alone is not enough., so the stolen credentials were enough to reach the dispatch workstations. There the attackers studied 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., prepared the destructive pieces, and on the day drove the operator screens themselves while locking the dispatchers out.
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; it indicted six officers in October 2020 for this attack among others. The charges have not been tested in court
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 ITSpring 2015
Spear-phishing with macro-enabled Office documents
In the spring of 2015 staff at the distribution companies received emails with Word and Excel attachments. Opening one brought up a prompt to enable macros, the small programs that can run inside an Office document, and anyone who clicked it installed BlackEnergy 3, the malware the attackers used from then on. SANS notes that no software flaw was exploited at any point: the documents simply asked for permission, and got it. A later analysis by the Idaho National Laboratory (INL) traces one such email, an Excel file, to the end of March 2015.
The US indictment says the campaign targeted the companies’ IT staff and system administrators, the people whose accounts are worth the most. From the inside it looked like a document that would not open properly without a click. The documents reached inboxes and the macros were allowed to run, so one click was enough.
BlackEnergy 3 gave the attackers a quiet foothold on the business network and a channel back out to their own servers. What they did with it over the following months is the next step.
“Instead, the adversaries weaponized Microsoft Office documents (Excel and Word) by embedding BlackEnergy 3 within the documents.”
1Macros from email are allowed to run, unfiltered.
2One click enables a macro and installs the implant.
3The attackers gain a quiet foothold on the business network.
2
Stage 1 · Lateral movementEnterprise ITSpring to December 2015 (not dated in the reports)
Credentials harvested, privileges escalated across the business network
With BlackEnergy in place the attackers set about collecting what they would need next: usernames and passwords. SANS says one of their first actions was to harvest credentials, gain administrator rights and move from machine to machine across the business network. MITRE’s ATT&CK summary of the campaign, drawing on industry reporting, adds the means: a keylogger, which records what is typed, and a network sniffer, which reads logins off the wire, both built into the malware. It also records the attackers creating privileged accounts of their own in the Windows domainThe Microsoft system that holds every user account, password and computer in a Windows domain, so whoever controls it controls every machine in it. for later use. The directory service that decides who may log in where is the kind of target SANS says this involves.
Done with valid accounts, all of this would have looked like ordinary administration. Months of credential theftPulling passwords or login tokens out of a computer’s memory or files once an attacker controls it, to reuse them on other machines. and movement between machines produced no alert, and the companies later told ICS-CERT, the US government’s emergency response team for industrial control systemsIndustrial control system: the general term for the controllers, networks and software that run physical processes, covering SCADA, DCS and PLC systems., that they believed legitimate credentials had been obtained before the attack to enable remote access. How the privileged accounts were managed, and whether anyone watched for them being used in unusual places, is not recorded; whatever was in place did not catch it.
By the time of the attack the attackers held the credentials that would carry them across the one boundary that mattered: from the business network into the control network.
“The companies believe that the actors acquired legitimate credentials prior to the cyber-attack to facilitate remote access.”
1Passwords are harvested on the business network for months without an alert.
2A keylogger harvests logins; the attacker turns domain admin.
3Valid accounts now open the path to control.
3
Stage 1 · Lateral movementIT to OT boundaryBefore 23 December 2015 (not dated in the reports)
Stolen credentials over a VPN into the control network
The route into the control network was the companies’ own VPNVirtual private network: an encrypted tunnel over the internet that makes a remote computer behave as if it were plugged into the plant or office network., the remote-access link from the business network into the networks holding 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. dispatch workstations and servers. The stolen credentials fitted it. SANS reported that the VPNs appeared to have no second factor, so a username and password was all it took; INL’s later analysis says those credentials were likely taken from the Windows domainThe Microsoft system that holds every user account, password and computer in a Windows domain, so whoever controls it controls every machine in it. controllers.
From the companies’ side, a login on the VPNVirtual private network: an encrypted tunnel over the internet that makes a remote computer behave as if it were plugged into the plant or office network. with a valid account looks like a colleague working remotely. SANS also noted that the firewall allowed the adversary to “remote admin out of the environment” using a remote-access tool built into the systems. The same credentials worked on both sides of the boundary, so nothing about the login stood out.
Once on the dispatch side the attackers could study the control systems at leisure, and they used the time to build what the December attack would need.
“The VPNs into the ICS from the business network appear to lack two-factor authentication.”
1The VPN into the control network has no second factor.
2The stolen password opens the VPN into dispatch.
3The attackers reach the SCADA dispatch workstations.
4
Stage 2 · Develop and testControl networkBefore 23 December 2015 (not dated in the reports)
Months inside SCADA, preparing the destructive pieces
The three companies ran different distribution management systems, the software their dispatchers use to run the grid, so the attackers had to learn each one. SANS notes that nobody reported seeing the attackers study the systems, but judged from how well coordinated the attack was that it happened at some point, and INL describes the attackers’ scanning tools mapping the networks. Along the way they found the serial-to-ethernet gateways, the small boxes that pass commands from the control centre to the equipment in the substations, and wrote malicious firmwareThe built-in software inside a device such as a PLC, switch or firewall, below the user programs, which the maker updates from time to time. for them. That firmware was the same across devices and was uploaded to them within a short time of each other, which is why SANS judges it was likely built beforehand and, with high confidence, tested.
They also prepared two supporting pieces. At one company at least, the UPSUninterruptible power supply: the battery unit that keeps servers and controls running through a power cut, often managed over the network., the battery supply that keeps servers and telephones running when the mains fails, was reconfigured through its management interface so that it would cut power to the company’s own buildings or data centres; and a modified KillDiskA disk-wiping component used in the Ukraine grid attacks that erases files and the boot record so that computers cannot start again. was readied to wipe workstations and servers. All of this went unseen: SANS found no sign that anything was watching the control network continuously, and the gateways accepted the firmwareThe built-in software inside a device such as a PLC, switch or firewall, below the user programs, which the maker updates from time to time. they were given.
By December the attackers had, in SANS’s phrase, a way of blowing the bridges behind them: once the breakers were open, the gateways would be dead and the control room could not close them again from its screens.
“Second, and more importantly, they developed malicious firmware for the serial-to-ethernet devices.”
1Nothing watches the control network for an intruder.
2For months they study the SCADA and write gateway firmware.
3They stage malicious firmware, UPS disconnects and a wiper.
5
Stage 2 · Execute ICS attackControl network23 December 2015, from about 15:35
Operator screens driven remotely; breakers opened at three companies
At about 15:35 on 23 December the attackers took over the dispatchers’ workstations through the remote access they had prepared and began opening breakers from the operator screens, exactly as a dispatcher would. ICS-CERT describes the work being done by several external people, using either remote administration tools already on the machines or 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. client software over the VPNVirtual private network: an encrypted tunnel over the internet that makes a remote computer behave as if it were plugged into the plant or office network.. The three companies were hit within 30 minutes of each other.
The dispatchers were locked out of their own screens and could only watch. Kyivoblenergo alone reported seven 110 kV and twenty-three 35 kV substations disconnected; across the three companies SANS counts at least 27 substations and INL more than 50. Whether anyone in the control rooms could see who was connected, or had a way to cut the sessions, is not recorded; what is recorded is that the operators were locked out and forced on to manual operation, which meant sending people to the substations.
Roughly 225,000 customers were without power. While the lights went out, the pieces prepared beforehand were set off, which is the next step.
Inside the plant: INL’s case study records that operators at Chernivtsioblenergo noticed the cursors on their HMIsHuman-machine interface: the operator screen or panel used to watch a process and adjust it, usually sitting in front of a PLC or a SCADA system. moving on their own, and that OT staff at the affected companies filmed it as it happened, unable to use their mouse or keyboard to interfere. The SANS and ICS-CERT reports do not describe the scene.
“During the cyber-attacks, malicious remote operation of the breakers was conducted by multiple external humans using either existing remote administration tools at the operating system level or remote industrial control system (ICS) client software via virtual private network (VPN) connections.”
As the breakers opened, the attackers set off what they had prepared. The firmwareThe built-in software inside a device such as a PLC, switch or firewall, below the user programs, which the maker updates from time to time. of the substation gateways was overwritten, so that even when the control centre got its screens back it could no longer reach the equipment in the field; INL says at least 16 substations were cut off from the control network this way. KillDiskA disk-wiping component used in the Ukraine grid attacks that erases files and the boot record so that computers cannot start again. wiped workstations and servers, erasing the master boot recordMaster boot record: the first part of a hard disk that tells the computer how to start, which wipers overwrite so the machine cannot boot at all. and deleting some logs, and SANS notes it also hit an HMIHuman-machine interface: the operator screen or panel used to watch a process and adjust it, usually sitting in front of a PLC or a SCADA system. card inside an RTURemote terminal unit: a small controller at an outlying site such as a pump station or substation that reports readings and takes commands over a telemetry link., a controller at a substation. The scheduled UPSUninterruptible power supply: the battery unit that keeps servers and controls running through a power cut, often managed over the network. disconnects cut power to the utilities’ own servers, and at one company, INL records, that took down a telephony server.
At the same time Kyivoblenergo’s call centre was flooded with bogus calls, thousands of them by SANS’s count and, INL says, automated and from foreign numbers, so customers could not get through to report where the power was out. Inside the companies there were now wiped dispatch systems, no path to the substations, and in places no phones. Whether the companies held spares or a rebuild plan is not recorded; what the record shows is that getting the control systems back took months rather than hours.
What kept the outage itself to hours was not a system at all. It was crews in the field, which is the last step.
“The actors also rendered Serial-to-Ethernet devices at substations inoperable by corrupting their firmware.”
1Gateways, hosts, the UPS and the call centre are all within reach at once.
2They wipe hosts, corrupt gateways, cut the UPS, flood the phones.
3The control room is blinded, with no fast way back.
7
Stage 2 · Response and recoveryPhysical process23 December 2015 to spring 2016
Power back by hand within hours; months of manual operation
Crews drove to the substations and closed the breakers by hand. Supply was back within hours: SANS gives three hours for the Kyivoblenergo substations, INL six for the event as a whole. The companies switched to manual operation and stayed there, because the gateways that let the control room operate the substations remotely were dead and 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. hosts, the computers the dispatchers run the grid from, had been wiped. Running a grid by hand is a capability many utilities no longer have.
Rebuilding took far longer than restoring supply. INL records that the companies were still operating the substations by hand more than two months later, unable to operate breakers remotely, and in February and March 2016 ICS-CERT and SANS reported that all three were still running in an operationally constrained mode. A US interagency team interviewed the operations and IT staff on the ground, and the case became the reference example for the ICS Cyber Kill ChainThe sequence of stages an attack goes through; the ICS Cyber Kill Chain adds a second stage for learning the plant and building the attack on it.. In October 2020 the United States indicted six officers of a foreign military intelligence service for this attack among others; the charges are allegations.
Inside the plant: Operators switched to manual mode and engineers were sent out to the substations to close the breakers by hand; INL records that they were still operating the substations manually more than two months later.
“The oblenergos were still operating breakers manually over two months after the attack.”
The same steps, as decisions. At most steps you pick the control that would have stopped the attack at a cost a structured 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 7
0 / 21 shield0 / 2 insight
Structured site · the band this exercise judges by
Regional distribution companies with dispatch centres, dozens of substations and a corporate network. A structured programme is the reasonable expectation: segmentation with a DMZ, MFA and brokered remote access, OT monitoring, hardened dispatch workstations.
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 · DeliverySpring 2015
Spear-phishing with macro-enabled Office documents
1Macros from email are allowed to run, unfiltered.
2One click enables a macro and installs the implant.
3The attackers gain a quiet foothold on the business network.
Spear-phishing with macro-enabled Word and Excel files
Staff received emails with Word and Excel attachments carrying the BlackEnergy 3 implant. The documents relied on the reader enabling macros; SANS notes that no exploit code was observed at any point in the incident. 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 · Lateral movementSpring to December 2015 (not dated in the reports)
Answer the step above
Credentials harvested, privileges escalated across the business network
03
Stage 1 · Lateral movementBefore 23 December 2015 (not dated in the reports)
Answer the step above
Stolen credentials over a VPN into the control network
04
Stage 2 · Develop and testBefore 23 December 2015 (not dated in the reports)
Answer the step above
Months inside SCADA, preparing the destructive pieces
05
Stage 2 · Execute ICS attack23 December 2015, from about 15:35
Answer the step above
Operator screens driven remotely; breakers opened at three companies
06
Stage 2 · Impact23 December 2015, during and after the outage
Stage 2 · Response and recovery23 December 2015 to spring 2016
Answer the step above
Power back by hand within hours; months of manual operation
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
Operators switched to manual mode and sent engineers to the substations to restore power within hours. Wiped workstations and servers had to be rebuilt and the firmware-corrupted gateways replaced, so breakers were still being operated by hand more than two months later. In February and March 2016 ICS-CERT and SANS reported that all three companies continued to run in an operationally constrained mode. The attack became the reference case for the ICS Cyber Kill ChainThe sequence of stages an attack goes through; the ICS Cyber Kill Chain adds a second stage for learning the plant and building the attack on it. and the subject of a SANS ICSIndustrial control system: the general term for the controllers, networks and software that run physical processes, covering SCADA, DCS and PLC systems. and E-ISAC Defense Use Case.
Take this to your plant
1A VPNVirtual private network: an encrypted tunnel over the internet that makes a remote computer behave as if it were plugged into the plant or office network. into the control network without a second factor is an open door for every stolen password. MFAMulti-factor authentication: a login that needs something more than a password, such as a code from a phone or a hardware key, so a stolen password alone is not enough. is baseline; a broker that shows and cuts sessions is the structured version.
2Months inside before the attack is normal for a well-resourced attacker. OT monitoring exists so that “months” becomes “days”.
3The ability to run the grid by hand is what kept this to hours. Keep it, write it down, and drill it.
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.
Customer numbers: SANS, ICS-CERT and INL say about 225,000; press says about 230,000. Duration: SANS says three hours, INL says six, press says one to six.
Substation count: the often quoted 30 (seven 110 kV and 23 35 kV) is Kyivoblenergo’s figure for its own network as relayed by SANS; across the three companies SANS says at least 27 (probably more) and INL says over 50, citing an IEEE paper. No primary source gives a confirmed total.
First access: SANS dates the intrusion to March 2015 (spring 2015 phishing), which dwellDays follows; INL’s 2022 precursor analysis argues that phishing of Prykarpattyaoblenergo in May 2014 likely gave initial access. The three to six hour duration is a range: SANS gives three hours for the Kyivoblenergo substations, INL six.
ICS-CERT in February 2016 called the role of BlackEnergy unknown; SANS and the 2020 indictment state it was used for initial access and credential theft. The widely told story of dispatchers watching the cursor move comes from press interviews, not the primary reports.