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
Newest First  |  Oldest First  |  Threaded View
6 Security Trends for 2018/2019
Curtis Franklin Jr., Senior Editor at Dark Reading,  10/15/2018
Most IT Security Pros Want to Change Jobs
Dark Reading Staff 10/12/2018
4 Ways to Fight the Email Security Threat
Asaf Cidon, Vice President, Content Security Services, at Barracuda Networks,  10/15/2018
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Flash Poll
The Risk Management Struggle
The Risk Management Struggle
The majority of organizations are struggling to implement a risk-based approach to security even though risk reduction has become the primary metric for measuring the effectiveness of enterprise security strategies. Read the report and get more details today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2018-10839
PUBLISHED: 2018-10-16
Qemu emulator <= 3.0.0 built with the NE2000 NIC emulation support is vulnerable to an integer overflow, which could lead to buffer overflow issue. It could occur when receiving packets over the network. A user inside guest could use this flaw to crash the Qemu process resulting in DoS.
CVE-2018-13399
PUBLISHED: 2018-10-16
The Microsoft Windows Installer for Atlassian Fisheye and Crucible before version 4.6.1 allows local attackers to escalate privileges because of weak permissions on the installation directory.
CVE-2018-18381
PUBLISHED: 2018-10-16
Z-BlogPHP 1.5.2.1935 (Zero) has a stored XSS Vulnerability in zb_system/function/c_system_admin.php via the Content-Type header during the uploading of image attachments.
CVE-2018-18382
PUBLISHED: 2018-10-16
Advanced HRM 1.6 allows Remote Code Execution via PHP code in a .php file to the user/update-user-avatar URI, which can be accessed through an "Update Profile" "Change Picture" (aka user/edit-profile) action.
CVE-2018-18374
PUBLISHED: 2018-10-16
XSS exists in the MetInfo 6.1.2 admin/index.php page via the anyid parameter.