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.

Application Security

6/15/2015
12:10 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
100%
0%

Cyberspies Stole Legit Digital Certificates To Mask Their Malware

Duqu 2.0 nation-state attackers used pilfered Foxconn hardware driver certs to sign spying malware that hit negotiators in Iranian nuclear pact discussions, Kaspersky Lab -- and now, an ICS/SCADA hardware vendor.

The nation-state group behind the new Duqu 2.0 attacks used a legitimate digital certificate pilfered from one of the world's largest electronics manufacturers as a way to maintain a silent and persistent foothold in its victims' networks.

Costin Raiu, director of Kaspersky Lab's global research and analysis team, today revealed that his team had discovered a major piece of the puzzle in a wave of targeted cyber espionage attacks that hit international participants at the Iranian nuclear negotiations and other organizations, as well as Kaspersky's own corporate network, in an apparent attempt to gather intelligence on the firm's latest technologies and research.

The malware used in Duqu 2.0 runs only in memory of a victim's machine, but the attackers also employ a unique method of retaining presence in the victim's network once they gets inside and even after an infected machine is rebooted and cleaned up, according to Raiu. The nation-state attackers install malicious drivers signed by Hon Hai Precision Industry Co. Ltd., aka Foxconn Technology Group, the world's largest electronics manufacturer best known for building Apple iPhones and iPads, but which also boasts Microsoft, Acer, Amazon, BlackBerry, Cisco, Dell, Google, HP, Motorola and Sony as its customers.

The drivers are installed on firewalls, gateways, and other Internet-facing servers, to appear as legitimate firmware updates on those devices. The endgame is for the attackers to remain hidden inside their target and to provide a command-and-control operation, according to Raiu.

"We were able to uncover during our investigation … a 64-bit driver they used for persistence" and hiding command and control connections as well as camouflaging log activity, Raiu says. That's the very same strategy employed in the first-generation of Duqu thought to be a precursor to the Stuxnet attack. The attack back then used stolen Jmicron and Realtek digital certificates to sign the malware so it would appear legit.

Raiu says it's unclear whether Foxconn was a victim of the Duqu malware attack, but his firm has alerted the driver manufacturer as well as Verisign of the abused cert. The Foxconn cert is currently in the process of being revoked by Verisign, he says.

The stolen certificate strategy demonstrates a trend in how the Duqu attackers try to operate under the radar in their targets' networks, he notes.

"In essence, the drivers are redirecting network streams to and from the gateway machine that runs it. To forward connections, the attacker has to pass a network-based 'knocking' mechanism by using a secret keyword," Raiu and his team said today in a new blog post with the technical details. "We have seen two different secret keywords in the samples we have collected so far:  'romanian.antihacker' and 'ugly.gorilla.'"

[Nation-state campaign with previous ties to Stuxnet spies on security firm's research and anti-cyber spying technologies -- plus participants in Iranian nuclear negotiations and their telecommunications, mobile providers. Read Duqu 2.0 Attack On Kaspersky Lab Opens Chilling New Chapter In Cyber Espionage.]

Another intriguing -- and alarming -- tidbit:  the Duqu gang doesn't use the same digital certificate twice, which could mean they have a stockpile of stolen digital legitimate certificates it can use in future attacks, Raiu says.

"As long as the attacker has unlimited certificates, that means digital certificates are no longer an effective way of demanding networks to validate … software," he says.

Meanwhile, Kaspersky also has spotted an ICS/SCADA hardware vendor in the Asia Pacific region that has been infected by Duqu 2.0. "They [the attackers] have a special interest of infecting hardware manufacturers in the APAC region," says Raiu, who declined to name the targeted ICS/SCADA vendor.

He says the stolen certs are not likely related to the mysterious Duqu 2.0 module that appears to have an ICS/SCADA connection. The acronym "HMI" appears in the filename, suggesting its purpose has to do with ICS/SCADA systems, but Raiu says he's still investigating it. "That module appears to target some SCADA hardware," he says.

Nor has Kaspersky been able to get to the bottom of exactly what the attackers are after, or whether Duqu 2.0 is a precursor to a cyber-sabotage attack akin to Stuxnet. "This is why this [mysterious] module is so interesting," Raiu says. "When we figure out the exact purpose of these files we might be able to understand what is the purpose of [infecting] the hardware, where it's used, and to be able to understand if it's used for sabotage or information-gathering."

Security experts say the successful attack of Duqu 2.0 on a security company is a red flag for the types of attacks on the horizon.

"It's fascinating how an AV company [Kaspersky Lab] had identified previous variants of the same malware family yet were still challenged to immediately detect and prevent a variant of it months after the campaign," says Ryan Kazanciyan, chief security architect at Tanium, who previously worked for Mandiant. "The takeaway is not how to stop a zero-day better, but how to better prevent and detain intrusions." 

Kelly Jackson Higgins is Executive Editor at DarkReading.com. 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

Comment  | 
Print  | 
More Insights
Comments
Threaded  |  Newest First  |  Oldest First
US Turning Up the Heat on North Korea's Cyber Threat Operations
Jai Vijayan, Contributing Writer,  9/16/2019
MITRE Releases 2019 List of Top 25 Software Weaknesses
Kelly Sheridan, Staff Editor, Dark Reading,  9/17/2019
7 Ways VPNs Can Turn from Ally to Threat
Curtis Franklin Jr., Senior Editor at Dark Reading,  9/21/2019
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win a Starbucks Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
7 Threats & Disruptive Forces Changing the Face of Cybersecurity
This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2019-16703
PUBLISHED: 2019-09-23
admin/infolist_add.php in PHPMyWind 5.6 has stored XSS.
CVE-2019-16704
PUBLISHED: 2019-09-23
admin/infoclass_update.php in PHPMyWind 5.6 has stored XSS.
CVE-2019-16702
PUBLISHED: 2019-09-23
Integard Pro 2.2.0.9026 allows remote attackers to execute arbitrary code via a buffer overflow involving a long NoJs parameter to the /LoginAdmin URI.
CVE-2019-16695
PUBLISHED: 2019-09-22
phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/filter.php table parameter when action=add is used.
CVE-2019-16696
PUBLISHED: 2019-09-22
phpIPAM 1.4 allows SQL injection via the app/admin/custom-fields/edit.php table parameter when action=add is used.