Risk
6/21/2011
05:09 PM
Connect Directly
RSS
E-Mail
50%
50%

Malware Increasingly Being Signed With Stolen Certificates

Cybercriminals target legitimate software vendors looking for the keys needed to sign software, helping them defeat security measures

Earlier this year, a Trojan infected a machine at software maker Blackbaud. But rather than steal money or source code or customer details, the attack targeted another valuable but often overlooked piece of information: the company's private keys for signing its software.

Blackbaud, which makes software to help nonprofits run their businesses, discovered the theft when a security firm approached the company and revealed it had encountered malware signed with the company's private keys. Ironically, Blackbaud had already been working to bolster its corporate security, says Jana Eggers, senior vice president of products and marketing for the Charleston, S.C.-based software company.

"Companies are very aware of their customer information, but there are other pieces of information that need to be protected," Eggers says. "A virus can be tweaked to search for something different, and a security certificate is not what you think of protecting in the same way as customer information."

Blackbaud is not alone. Cybercriminals are increasingly targeting developers' systems to steal the private keys used to sign software. Programs signed with a digital certificate are considered safer by the operating system and security software, and the authors of malicious software have caught on.

Perhaps the most high-profile piece of malware to use digital certificates is Stuxnet. The Trojan infected industrial control systems in 2009 and 2010 and is widely considered to have been a nation-state attack on Iran's nuclear processing facility. The first stage of the Stuxnet attack used code signed by certificates belonging to two Taiwanese companies to appear more innocuous to security software.

In 2010, a version of the well-known Zeus banking Trojan used a digital signature belonging to software security firm Kaspersky Labs to lessen the chance of the program being identified as malware. And a third attack in the same year used an Adobe flaw and was signed with a certificate from a credit union.

"They are going right after the keys to the kingdom," says Jeff Hudson, CEO at Venafi, a maker of enterprise key and certificate management software. "They are not trying to siphon off pennies; they are going right for the heart."

Security firm Symantec has documented a piece of malicious software known as Infostealer.Nimkey that is designed to steal private keys and keystrokes.

Thousands of certificates have been stolen and are being used by malware, says Yuval Ben-Itzhak, chief technology officer for security firm AVG. In a quarterly security report released on Tuesday, AVG documented two attacks that used stolen certificates: one belonging to Blackbaud and the other to German gaming company GameForge Productions. GameForge did not respond to a request for comment.

In the first half of 2011, three times as many certificates were used to sign malware than the first half of 2010, according to AVG's report. Companies need to better protect their certificates, and security software should become more skeptical of signed code, Ben-Itzhak says.

"The vendors are not rushing to revoke stolen certificates," he says. "Blindly trusting certificates today is not a good practice."

For large companies, certificate management systems such as Venafi's can make sure that companies do not suffer from certificates that accidentally expire or that are stored in insecure places. Many times, developers just keep the private keys needed to sign software on their work systems, Venafi's Hudson says.

"We advocate people to, number one, know what you've got on your network," he says. "Number two, make sure that you separate out private keys from pubic keys and be able to replace them immediately, if you are compromised."

Treating digital certificates as valuable as the attackers is a sentiment with which Blackbaud's Eggers can now certainly agree. "More people need to be aware of the threat," she says.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Flash Poll
Current Issue
Cartoon
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-6117
Published: 2014-07-11
Dahua DVR 2.608.0000.0 and 2.608.GV00.0 allows remote attackers to bypass authentication and obtain sensitive information including user credentials, change user passwords, clear log files, and perform other actions via a request to TCP port 37777.

CVE-2014-0174
Published: 2014-07-11
Cumin (aka MRG Management Console), as used in Red Hat Enterprise MRG 2.5, does not include the HTTPOnly flag in a Set-Cookie header for the session cookie, which makes it easier for remote attackers to obtain potentially sensitive information via script access to this cookie.

CVE-2014-3485
Published: 2014-07-11
The REST API in the ovirt-engine in oVirt, as used in Red Hat Enterprise Virtualization (rhevm) 3.4, allows remote authenticated users to read arbitrary files and have other unspecified impact via unknown vectors, related to an XML External Entity (XXE) issue.

CVE-2014-3499
Published: 2014-07-11
Docker 1.0.0 uses world-readable and world-writable permissions on the management socket, which allows local users to gain privileges via unspecified vectors.

CVE-2014-3503
Published: 2014-07-11
Apache Syncope 1.1.x before 1.1.8 uses weak random values to generate passwords, which makes it easier for remote attackers to guess the password via a brute force attack.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Marilyn Cohodas and her guests look at the evolving nature of the relationship between CIO and CSO.