Inside the Cunning, Unprecedented Hack of Ukraines Power …
Slide: 1 / of 1. Caption: Jose A. Bernat Bacet/Getty Images
It was 3:30 p.m. last December 23, and residents of the Ivano-Frankivsk region of Western Ukraine were preparing to end their workday and head home through the cold winter streets. Inside the Prykarpattyaoblenergo control center, which distributes power to the regions residents, operators too were nearing the end of their shift. But just as one worker was organizing papers at his desk that day, the cursor on his computer suddenly skittered across the screen of its own accord.
He watched as it navigated purposefully toward buttons controlling the circuit breakers at a substation in the region and then clicked on a box to open the breakers and take the substation offline. A dialogue window popped up on screen asking to confirm the action, and the operator stared dumbfounded as the cursor glided to the box and clicked to affirm. Somewhere in a region outside the city he knew that thousands of residents had just lost their lights and heaters.
The operator grabbed his mouse and tried desperately to seize control of the cursor, but it was unresponsive. Then as the cursor moved in the direction of another breaker, the machine suddenly logged him out of the control panel. Although he tried frantically to log back in, the attackers had changed his password preventing him from gaining re-entry. All he could do was stare helplessly at his screen while the ghosts in the machine clicked open one breaker after another, eventually taking about 30 substations offline. The attackers didnt stop there, however. They also struck two other power distribution centers at the same time, nearly doubling the number of substations taken offline and leaving more than 230,000 residents in the dark. And as if that werent enough, they also disabled backup power supplies to two of the three distribution centers, leaving operators themselves stumbling in the dark.
The hackers who struck the power centers in Ukrainethe first confirmed hack to take down a power gridwerent opportunists who just happened upon the networks and launched an attack to test their abilities; according to new details from an extensive investigation into the hack, they were skilled and stealthy strategists who carefully planned their assault over many months, first doing reconnaissance to study the networks and siphon operator credentials, then launching a synchronized assault in a well-choreographed dance.
It was brilliant, says Robert M. Lee, who assisted in the investigation. Lee is a former cyber warfare operations officer for the US Air Force and is co-founder of Dragos Security, a critical infrastructure security company. In terms of sophistication, most people always [focus on the] malware [thats used in an attack], he says. To me what makes sophistication is logistics and planning and operations and whats going on during the length of it. And this was highly sophisticated.
Ukraine was quick to point the finger at Russia for the assault. Lee shies away from attributing it to any actor but says there are clear delineations between the various phases of the operation that suggest different levels of actors worked on different parts of the assault. This raises the possibility that the attack might have involved collaboration between completely different partiespossibly cybercriminals and nation-state actors.
This had to be a well-funded, well-trained team. [B]ut it didnt have to be a nation-state, he says. It could have started out with cybercriminals getting initial access to the network, then handing it off to nation-state attackers who did the rest.
The control systems in Ukraine were surprisingly more secure than some in the US.
Regardless, the successful assault holds many lessons for power generation plants and distribution centers here in the US, experts say; the control systems in Ukraine were surprisingly more secure than some in the US, since they were well-segmented from the control center business networks with robust firewalls. But in the end they still werent secure enoughworkers logging remotely into the SCADA network, the Supervisory Control and Data Acquisition network that controlled the grid, werent required to use two-factor authentication, which allowed the attackers to hijack their credentials and gain crucial access to systems that controlled the breakers.
The power wasnt out long in Ukraine: just one to six hours for all the areas hit. But more than two months after the attack, the control centers are still not fully operational, according to a recent US report. Ukrainian and US computer security experts involved in the investigation say the attackers overwrote firmware on critical devices at 16 of the substations, leaving them unresponsive to any remote commands from operators. The power is on, but workers still have to control the breakers manually.
Thats actually a better outcome than what might occur in the US, experts say, since many power grid control systems here dont have manual backup functionality, which means that if attackers were to sabotage automated systems here, it could be much harder for workers to restore power.
Multiple agencies in the US helped the Ukrainians in their investigation of the attack, including the FBI and DHS. Among computer security experts who consulted on the wider investigation were Lee and Michael J. Assante, both of whom teach computer security at the SANS Institute in Washington DC and plan to release a report about their analysis today. They say investigators were pleasantly surprised to discover that the Ukrainian power distribution companies had a vast collection of firewall and system logs that helped them reconstruct eventsan uncommon bonanza for any corporate network, but an even rarer find for critical infrastructure environments, which seldom have robust logging capabilities.
According to Lee and a Ukrainian security expert who assisted in the investigation, the attacks began last spring with a spear-phishing campaign that targeted IT staff and system administrators working for multiple companies responsible for distributing electricity throughout Ukraine. Ukraine has 24 regions, each divided into between 11 and 27 provinces, with a different power distribution company serving each region. The phishing campaign delivered email to workers at three of the companies with a malicious Word document attached. When workers clicked on the attachment, a popup displayed asking them to enable macros for the document. If they complied, a program called BlackEnergy3variants of which have infected other systems in Europe and the USinfected their machines and opened a backdoor to the hackers. The method is notable because most intrusions these days exploit a coding mistake or vulnerability in a software program; but in this case the attackers exploited an intentional feature in the Microsoft Word program. Exploiting the macros feature is an old-school method from the 90s that attackers have recently revived in multiple attacks.
The initial intrusion got the attackers only as far as the corporate networks. But they still had to get to the SCADA networks that controlled the grid. The companies had wisely segregated those networks with a firewall, so the attackers were left with two options: either find vulnerabilities that would let them punch through the firewalls or find another way to get in. They chose the latter.
Over many months they conducted extensive reconnaissance, exploring and mapping the networks and getting access to the Windows Domain Controllers, where user accounts for networks are managed. Here they harvested worker credentials, some of them for VPNs the grid workers used to remotely log in to the SCADA network. Once they got into the SCADA networks, they slowly set the stage for their attack.
First they reconfigured the uninterruptible power supply1, or UPS, responsible for providing backup power to two of the control centers. It wasnt enough to plunge customers into the darkwhen power went out for the wider region they wanted operators to be blind, too. It was an egregious and aggressive move, the sort that could be interpreted as a giant fuck you to the power companies, says Lee.
Each company used a different distribution management system for its grid, and during the reconnaissance phase, the attackers studied each of them carefully. Then they wrote malicious firmware to replace the legitimate firmware on serial-to-Ethernet converters at more than a dozen substations (the converters are used to process commands sent from the SCADA network to the substation control systems). Taking out the converters would prevent operators from sending remote commands to re-close breakers once a blackout occurred. Operation-specific malicious firmware updates [in an industrial control setting] has never been done before, Lee says. From an attack perspective, it was just so awesome. I mean really well done by them.
The same model of serial-to-Ethernet converters used in Ukraine are used in the US power-distribution grid.
Armed with the malicious firmware, the attackers were ready for their assault.
Sometime around 3:30 p.m. on December 23 they entered the SCADA networks through the hijacked VPNs and sent commands to disable the UPS systems they had already reconfigured. Then they began to open breakers. But before they did, they launched a telephone denial-of-service attack against customer call centers to prevent customers from calling in to report the outage. TDoS attacks are similar to DDoS attacks that send a flood of data to web servers. In this case, the centers phone systems were flooded with thousands of bogus calls that appeared to come from Moscow, in order to prevent legitimate callers from getting through. Lee notes that the move illustrates a high level of sophistication and planning on the part of the attackers. Cybercriminals and even some nation-state actors often fail to anticipate all contingencies. What sophisticated actors do is they put concerted effort into even unlikely scenarios to make sure theyre covering all aspects of what could go wrong, he says.
The move certainly bought the attackers more time to complete their mission because by the time the operator whose machine was hijacked noticed what was happening, a number of substations had already been taken down. But if this was a political hack launched by Russia against Ukraine, the TDoS likely also had another goal Lee and Assante say: to stoke the ire of Ukrainian customers and weaken their trust in the Ukrainian power companies and government.
It wasnt enough to plunge customers into the darkthey wanted operators blind, too.
As the attackers opened up breakers and took a string of substations off the grid, they also overwrote the firmware on some of the substation serial-to-Ethernet converters, replacing legitimate firmware with their malicious firmware and rendering the converters thereafter inoperable and unrecoverable, unable to receive commands. Once you rewrite the firmware, theres no going back from that [to aid recovery]. You have to be at that site and manually switch operations, Lee says. Blowing [these] gateways with firmware modifications means they cant recover until they get new devices and integrate them.
After they had completed all of this, they then used a piece of malware called KillDisk to wipe files from operator stations to render them inoperable as well. KillDisk wipes or overwrites data in essential system files, causing computers to crash. Because it also overwrites the master boot record, the infected computers could not reboot.
Some of the KillDisk components had to be set off manually, but Lee says that in two cases the attackers used a logic bomb that launched KillDisk automatically about 90 minutes into the attack. This would have been around 5 p.m., the same time that Prykarpattyaoblenergo posted a note to its web site acknowledging for the first time what customers already knewthat power was out in certain regionsand reassuring them that it was working feverishly to figure out the source of the problem. Half an hour later, after KillDisk would have completed its dirty deed and left power operators with little doubt about what caused the widespread blackout, the company then posted a second note to customers saying the cause of the outage was hackers.
Ukraines intelligence community has said with utter certainty that Russia is behind the attack, though it has offered no proof to support the claim. But given political tensions between the two nations its not a far-fetched scenario. Relations have been strained between Russia and Ukraine ever since Russia annexed Crimea in 2014 and Crimean authorities began nationalizing Ukrainian-owned energy companies there, angering Ukrainian owners. Then, right before the December blackout in Ukraine occurred, pro-Ukrainian activists physically attacked substations feeding power to Crimea, leaving two million Crimean residents without power in the region that Russia had annexed, as well as a Russian naval base. Speculation has been rampant that the subsequent blackouts in Ukraine were retaliation for the attack on the Crimean substations.
But the attackers who targeted the Ukrainian power companies had begun their operation at least six months before the Crimean substations were attacked. So, although the attack in Crimea may have been a catalyst for the subsequent attack on the Ukrainian power companies, its clear that it wasnt the original motivation, Lee says. Lee says the forensic evidence suggests in fact that the attackers may not have planned to take out the power in Ukraine when they did, but rushed their plans after the attack in Crimea.
Looking at the data, it looks like they would have benefited and been able to do more had they been planning and gathering intelligence longer, he says. So it looks like they may have rushed the campaign.
He speculates that if Russia is responsible for the attack, the impetus may have been something completely different. Recently, for example, the Ukrainian parliament has been considering a bill to nationalize privately owned power companies in Ukraine. Some of those companies are owned by a powerful Russian oligarch who has close ties to Putin. Lee says its possible the attack on the Ukrainian power companies was a message to Ukrainian authorities not to pursue nationalization.
That analysis is supported by another facet of the attack: The fact that the hackers could have done much more damage than they did do if only they had decided to physically destroy substation equipment as well, making it much harder to restore power after the blackout. The US government demonstrated an attack in 2007 that showed how hackers could physically destroy a power generator simply by remotely sending 21 lines of malicious code.
Lee says everything about the Ukraine power grid attack suggests it was primarily designed to send a message. We want to be seen, and we want to send you a message, is how he interprets it. This is very mafioso in terms of like, oh, you think you can take away the power [in Crimea]? Well I can take away the power from you.
Whatever the intent of the blackout, it was a first-of-its-kind attack that set an ominous precedent for the safety and security of power grids everywhere. The operator at Prykarpattyaoblenergo could not have known what that little flicker of his mouse cursor portended that day. But now the people in charge of the worlds power supplies have been warned. This attack was relatively short-lived and benign. The next one might not be.
1Correction 3/03/16 8:17 a.m. ET: UPS here stands for uninterruptible power supply, not universal power supply.
Go here to see the original:
Inside the Cunning, Unprecedented Hack of Ukraines Power ...
- Russia issues school textbook saying it was 'forced' to march into Ukraine - Reuters - January 27th, 2025 [January 27th, 2025]
- Russia introduces history textbook that redefines war against Ukraine as justified defense. - Kyiv Independent - January 27th, 2025 [January 27th, 2025]
- Bad Things Happened: Trump Still Doesnt Understand the Ukraine War - The Bulwark - January 27th, 2025 [January 27th, 2025]
- Russia says its troops have captured a strategic town in eastern Ukraine - The Associated Press - January 27th, 2025 [January 27th, 2025]
- NATO chief: Cost of Russian victory in Ukraine would be trillions not billions - Atlantic Council - January 27th, 2025 [January 27th, 2025]
- For Russian Forces In Ukraine, Its Now Normal To Ride Into Battle In A Compact Car - Forbes - January 27th, 2025 [January 27th, 2025]
- Opinion: Trump promised to end the Ukraine war, but neither side is ready - Los Angeles Times - January 27th, 2025 [January 27th, 2025]
- Putin echoes Trump's claim that conflict in Ukraine could have been avoided had he been in office - The Associated Press - January 27th, 2025 [January 27th, 2025]
- Russia says it sees no signs that Ukraine and the West are ready for peace talks despite all statements - Reuters - January 27th, 2025 [January 27th, 2025]
- Zelenskiy says Trump could end Ukraine war only if Kyiv included in talks - Reuters - January 27th, 2025 [January 27th, 2025]
- War in Ukraine: EU to Agree to Extend Russia Sanctions, Hungary to Back Down - Bloomberg - January 27th, 2025 [January 27th, 2025]
- Letters: Stop the fireworks; angry about McCoy story; end war in Ukraine - VC Star - January 27th, 2025 [January 27th, 2025]
- Zelenskiy Says Ukraine Ready to Transit Gas From Azerbaijan - Bloomberg - January 27th, 2025 [January 27th, 2025]
- Why peace talks between Ukraine and Russia are not as simple as Trump makes out - The Independent - January 27th, 2025 [January 27th, 2025]
- Trump tells Putin to end 'ridiculous war' in Ukraine or face new sanctions - BBC.com - January 26th, 2025 [January 26th, 2025]
- Ukraine-Russia latest: Putin ready for Trump negotiations as Kyiv sets oil refinery ablaze with drone strike - The Independent - January 26th, 2025 [January 26th, 2025]
- Ukraine is reforming its recruitment efforts to attract younger soldiers and boost forces - The Associated Press - January 26th, 2025 [January 26th, 2025]
- Europe considers sending troops to Ukraine if theres a ceasefire. But would Russia accept? - The Associated Press - January 26th, 2025 [January 26th, 2025]
- Opinion: I spent Trumps inauguration in Ukraine. This is what I saw. - Salt Lake Tribune - January 26th, 2025 [January 26th, 2025]
- Putin claims Ukraine crisis may have been averted if Trump was president - CNN - January 26th, 2025 [January 26th, 2025]
- Did Ukraine Kill Its Own by Downing a Russian Plane? A Year Later, It Hasnt Said. - The New York Times - January 26th, 2025 [January 26th, 2025]
- Russia claims its troops are in the last stages of taking another eastern Ukraine town - The Associated Press - January 26th, 2025 [January 26th, 2025]
- Ukraine Is Losing Fewer Soldiers Than Russia but Its Still Losing the War - The New York Times - January 26th, 2025 [January 26th, 2025]
- Does Putin know why Ukraine fights on? Because we prize freedom above stability and wealth | Andrey Kurkov - The Guardian - January 26th, 2025 [January 26th, 2025]
- Russia rejects idea of NATO peacekeepers in Ukraine, warning of "uncontrollable escalation" - Reuters - January 26th, 2025 [January 26th, 2025]
- Trump's threat against Moscow on Ukraine seen as an insulting false start by some in Russia - NBC News - January 26th, 2025 [January 26th, 2025]
- UKs 100-year partnership with Ukraine is a meaningless political stunt - Al Jazeera English - January 26th, 2025 [January 26th, 2025]
- Putin says he and Trump should meet to discuss Ukraine and energy prices - Reuters - January 26th, 2025 [January 26th, 2025]
- Putin ready for negotiations with Trump on Ukraine war - The Guardian - January 26th, 2025 [January 26th, 2025]
- US arms exports hit record in 2024 on Ukraine-related demand - Reuters - January 26th, 2025 [January 26th, 2025]
- This Ones Mine. Ukraine Says Russia Is Executing More POWs and Capturing It on Video. - The Wall Street Journal - January 26th, 2025 [January 26th, 2025]
- Russia Brushes Off Trumps Threats on Ukraine - The Wall Street Journal - January 26th, 2025 [January 26th, 2025]
- Russia: Nothing new in Trump threats on Moscows war on Ukraine - VOA Asia - January 26th, 2025 [January 26th, 2025]
- Video: The Kremlin responds to Trump calling on Putin to make a deal with Ukraine - CNN - January 26th, 2025 [January 26th, 2025]
- To end the Russia-Ukraine war, Trump will need to get leverage - The Hill - January 26th, 2025 [January 26th, 2025]
- Ukraine's Kursk invasion was a risky play, but it might have nailed the timing - Business Insider - January 26th, 2025 [January 26th, 2025]
- Trump leans in on targeting Russian oil revenue as he tries to fulfill pledge to end Ukraine war - The Associated Press - January 26th, 2025 [January 26th, 2025]
- 'He shouldn't have done that': Donald Trump criticizes Ukraine president over war - USA TODAY - January 26th, 2025 [January 26th, 2025]
- Putin open for talks with Trump over Ukraine war and calls for leaders to meet - The Independent - January 26th, 2025 [January 26th, 2025]
- Business elites truly believe Trump could be on the verge of solving one of the world's most difficult problems: The Ukraine War - New York Post - January 26th, 2025 [January 26th, 2025]
- Kyiv investigates another case of Russian soldiers executing Ukraine POWs - POLITICO Europe - January 26th, 2025 [January 26th, 2025]
- Ukrainian winemaker and US veterans team up to show the best of Ukraine, a glass at a time - The Associated Press - January 26th, 2025 [January 26th, 2025]
- Is Trump changing tack on ending the war in Ukraine? - The Conversation Indonesia - January 26th, 2025 [January 26th, 2025]
- Shared Challenges: Israel Considers Sending Russian Weapons Seized From Hezbollah to Ukraine - Foundation for Defense of Democracies - January 26th, 2025 [January 26th, 2025]
- Ukrainian troops say inexperienced North Koreans are making easy targets - The Washington Post - December 16th, 2024 [December 16th, 2024]
- Ukraine says it has laser weapon able to down targets flying at over 2km - Yahoo! Voices - December 16th, 2024 [December 16th, 2024]
- Berlin eyes role in Ukraine peace deal but says too early for decisions - Reuters - December 16th, 2024 [December 16th, 2024]
- Keep Ukraine Out of Talks to End Its War - Foreign Policy - December 16th, 2024 [December 16th, 2024]
- Ukraine and US say some North Korean troops have been killed fighting alongside Russian forces - The Associated Press - December 16th, 2024 [December 16th, 2024]
- Russia aims to win the war in Ukraine in 2025, top official says - Semafor - December 16th, 2024 [December 16th, 2024]
- Trump suggests reversing permission for Ukraine to use US missiles in Russia - The Telegraph - December 16th, 2024 [December 16th, 2024]
- Trump to Europe: Overseeing a Ukraine Cease-Fire Would Be Your Job - The Wall Street Journal - December 16th, 2024 [December 16th, 2024]
- The Price of Russian Victory: Why Letting Putin Win Would Cost America More Than Supporting Ukraine - Foreign Affairs Magazine - December 16th, 2024 [December 16th, 2024]
- They said we were American spies: Priests describe Russias crackdown on Evangelicals in occupied Ukraine - CNN - December 16th, 2024 [December 16th, 2024]
- Trump says it was 'stupid' for Biden to let Ukraine use US weapons to strike deeper into Russia - The Associated Press - December 16th, 2024 [December 16th, 2024]
- Cajole, Plead and Flatter: Ukraine Makes Its Case to Trump - The New York Times - December 16th, 2024 [December 16th, 2024]
- Ukraine-Russia war map: Where Putins forces are making gains in eastern Ukraine - The Independent - December 16th, 2024 [December 16th, 2024]
- Europe Needs to Swiftly Fulfil Its Aid Pledges to Ukraine - Bloomberg - December 16th, 2024 [December 16th, 2024]
- Ukraine says it has laser weapon able to down targets flying at over 2km - Reuters - December 16th, 2024 [December 16th, 2024]
- Trump says deal needed to stop Ukraine war, will talk to Putin and Zelenskiy - Reuters - December 16th, 2024 [December 16th, 2024]
- Were 750,000 additional lives wasted in Ukraine for less than nothing? - The Hill - December 16th, 2024 [December 16th, 2024]
- Ukraine war: US gives $20bn to Kyiv funded by seized Russian assets - BBC.com - December 10th, 2024 [December 10th, 2024]
- Trump calls for immediate ceasefire in Ukraine and says a US withdrawal from NATO is possible - The Associated Press - December 10th, 2024 [December 10th, 2024]
- How Trump Can Win the Peace in Ukraine - The Atlantic - December 10th, 2024 [December 10th, 2024]
- Ukraine-Russia latest: Zelensky wont sacrifice young troops to Putins forces for more weapons from West - The Independent - December 10th, 2024 [December 10th, 2024]
- Biden is rushing aid to Ukraine. Both sides are digging in. And everyone is bracing for Trump - The Associated Press - December 10th, 2024 [December 10th, 2024]
- Russian prison boss killed in car blast in occupied Ukraine - BBC.com - December 10th, 2024 [December 10th, 2024]
- Kremlin says Ukraine war will go on until Putin's goals are met on battlefield or by negotiation - Reuters - December 10th, 2024 [December 10th, 2024]
- Russia targets Ukraine's energy grid as winter sets in. Here's how one plant copes - NPR - December 10th, 2024 [December 10th, 2024]
- Deadly Russian strike kills at least three in Ukraine's Zaporizhzhia - Euronews - December 10th, 2024 [December 10th, 2024]
- How Trump Could End the War in Ukraine - The Atlantic - December 10th, 2024 [December 10th, 2024]
- War in Ukraine: The woman turning amputees into 'superhumans' - BBC.com - December 10th, 2024 [December 10th, 2024]
- Zelensky salutes Trump's 'strong resolve' to end war in Ukraine - FRANCE 24 English - December 10th, 2024 [December 10th, 2024]
- US announces nearly $1 billion more in longer-term weapons support for Ukraine - The Associated Press - December 10th, 2024 [December 10th, 2024]
- Amid U.S. pressure, Ukraine starts thinking about drafting 18-year-olds - The Washington Post - December 10th, 2024 [December 10th, 2024]
- Zelenskyy open to Western troops providing security for end to war in Ukraine - The Associated Press - December 10th, 2024 [December 10th, 2024]
- Ukraine to raise NATO invite, security guarantees at meeting with European allies - Reuters - December 10th, 2024 [December 10th, 2024]
- Kyiv reveals total Ukraine casualties in Putins war for first time - POLITICO Europe - December 10th, 2024 [December 10th, 2024]
- Bill Browder on saving Ukraine, NATO, and the threat of Vladimir Putin - the1a.org - December 10th, 2024 [December 10th, 2024]
- Biden is rushing aid to Ukraine as everyone braces for Trump - FOX 5 DC - December 10th, 2024 [December 10th, 2024]