Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Threat Intelligence

05:00 PM
Connect Directly

Macros, Network Sniffers, But Still No 'Smoking Gun' In Ukraine Blackout

Further analysis of the Black Energy 3 malware studies payloads used for reconnaissance in the attacks.

Attackers behind the December power blackout in Western Ukraine employed Microsoft Office macros in an Excel spreadsheet as well as a network sniffer in their reconnaissance efforts, a security researcher says.

Ehud Shamir, chief security officer with SentinelOne, reverse-engineered a sample of the BlackEnergy 3 malware, which several researchers have confirmed was used to infect machines at power distribution operation centers in Ukraine. Shamir says macro-rigged Excel spreadsheets dropped the payload, which included the network sniffer.

Black Energy 3 is known to be capable of delivering malware via macros, and security experts who have studied the malware have considered Black Energy 3 to be the recon piece of the attack against Ukraine utilities.

"With network sniffing [the attackers] were capturing a lot of information" on the network, including credentials, SentinelOne's Shamir says. They also either targeted older unpatched Office systems, or enabled the macros so they would install the malicious code, he says.

The mystery of just how the attackers actually shut down portions of the power grid in the Ukraine still remains unsolved: There's still no "smoking gun" malware or proof of a remote-access hack of the power substation control systems. Researchers say the attackers shut out the lights either via malware that has yet to be found or publicized, or by gaining remote access to control systems.

And today (Thursday), Kaspersky Lab researchers said they had spotted the attackers behind Black Energy also using malicious Word documents with macros.

Most recently, researchers from iSIGHT Partners pointed to the denial-of-service attack on the Ukrainian utilities telecommunications systems, which hampered response and triage after the outage. Some 27 power distribution operation centers were hit in the attack, which affected three utilities, they said. KillDisk, the disk-wiping malware used alongside BlackEnergy in the attack, did not cause the power outage, according to iSIGHT researcher Sean McBride. But the data-wiping malware erased files on control and non-control systems, forcing the utilities to go into manual-control mode and in an apparent move to mask and complicate the bigger attack and outage.

Reuters reported today that a fourth energy company in Ukraine also was hit in the attacks, and that some systems that should have been air-gapped were not. Oleh Sych, whose firm is working with Ukraine's State Security Service SBU and others investigating the attacks, told the news service that the power distributors had some critical systems connected to the Internet that instead should have been air-gapped.

Meantime, SentinelOne's Shamir says the main executable in the Black Energy 3-rigged Excel file  (vba_macro.exe) drops the network sniffer and another executable. The attack likely began with a spearphishing email with an infected Excel attachment, he says, a theory echoed by other researchers as well. His full report includes code snippets and screenshots.

Macros were disabled by Microsoft via the CVE-2014-4114 update to Office 2013, so either the attackers hit unpatched systems, a legitimate user's system was hijacked, or a nefarious user was somehow involved, he says. 

ESET security research Cameron Camp says the modular nature of Black Energy allows the attackers to add features. "The better question is why there are boxes sitting in power stations which have both an extremely old version of Office with macros enabled, and that aren’t patched currently, but yet are still attached to the network with email clients so they can click on bad things," he says. "In SCADA systems, sometime an HMI [human machine interface] ... is located somewhere, and it might be unpatched, but you wouldn’t be reading email on it. Low hanging – if targeted – fruit."

Joel Langill, an ICS security expert, in a recent interview with Belden, says the main attack vector in the Ukraine blackout was the networks, not end systems, noting that "other unrelated cyber events such as communication buffer overflows, network issues, and potential software bugs were in fact key factors that led to the inability of the industrial control system to perform as intended, resulting in the widespread outage."

"It is unlikely that these organizations could have restored key ICS/SCADA components and stabilized the power generation facilities in such a short period of time if there was either a storage media erasure or installation of malware and rootkits," Langill said. "This signifies that the attack most likely did not actually penetrate the ICS architectures. This is not to say that BlackEnergy malware was not found within the ICS, as reports have in fact confirmed this, but rather that BlackEnergy was not responsible for disruption of normal ICS functions."


Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Recommended Reading:

Comment  | 
Print  | 
More Insights
Newest First  |  Oldest First  |  Threaded View
User Rank: Strategist
2/2/2016 | 3:55:05 PM
Wow, I almost hate to hear that they dropped those wares in through vba.

With the way visual basic is going with integration and entreprise solutions (i.e. azure), it doesn't make me feel like this is going to be any less of a threat in the future.

Users of MS Office "product activation failed" (red title bar) installs don't receive critical updates automatically so even this attack vector could stay open for a while for those who are running older office suites.

Great article!
User Rank: Ninja
1/28/2016 | 3:47:09 PM
Potential Inside Assets?
A unique story and one I'm now following closely.  Lots of great elements here for profiling future attacks.  I wonder, though, if there wasn't an inside asset working in concert which might explain the (as of now) unexplained power grid outage.  SANS Industrial Control Systems (SANS ICS) have noted the level of coordination and effort in this was substantial.  Other analysts have also identified the malware as the same used by a crew called Sandworm Team, either Russian or with strong Russian interests.  Definitely this one merits updates and more coverage.  Infrastructure attacks must be observed carefully by all countries with large dependencies rooted in water and power infrastructures.

FluBot Malware's Rapid Spread May Soon Hit US Phones
Kelly Sheridan, Staff Editor, Dark Reading,  4/28/2021
7 Modern-Day Cybersecurity Realities
Steve Zurier, Contributing Writer,  4/30/2021
How to Secure Employees' Home Wi-Fi Networks
Bert Kashyap, CEO and Co-Founder at SecureW2,  4/28/2021
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through A stack buffer overflow vulnerability in /goform/setmac allows attackers to execute arbitrary code on the system via a crafted post request.
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through A stack buffer overflow vulnerability in /gofrom/setwanType allows attackers to execute arbitrary code on the system via a crafted post request. This occurs when input vector controlled by malicious attack get copie...
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through A stack buffer overflow vulnerability in /goform/setVLAN allows attackers to execute arbitrary code on the system via a crafted post request.
PUBLISHED: 2021-05-07
An issue was discovered on Tenda AC11 devices with firmware through A stack buffer overflow vulnerability in /goform/setportList allows attackers to execute arbitrary code on the system via a crafted post request.
PUBLISHED: 2021-05-07
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foxit Reader User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handlin...