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.

Risk

9/17/2019
10:30 AM
50%
50%

Impersonation Fraud Still Effective in Obtaining Code Signatures

Fraudsters continue to attempt to fool certificate authorities into issuing valid digital certificates for legitimate organizations by impersonating an authoritative user. The reward? The ability to sign code with a legitimate signature.

From IRS tax scams to business email compromises, fraudsters impersonating authority figures are a well-known hazard for online users. However, impersonation is also becoming an increasingly used tactic to steal a valuable commodity for the underground market: digital code-signing certificates.

One such scam, analyzed by security firm ReversingLabs — and illuminating the small, yet significant, component of the cybercriminal supply chain — resulted in a certificate authority issuing a valid code-signing certificate. Eventually, the certificate was used to sign an adware program known as OpenSUpdater, as well as 21 other malicious programs.  

The attack is not unique but increasingly used by fraudsters to gain a valuable commodity that is then resold on the Dark Web, says Tomislav Pericin, co-founder and chief software architect of ReversingLabs.

"We have seen the exact same pattern we described in our blog around a dozen times just this year," he says. "We have seen this attacker use the described method to acquire extended validation certificates as well."

As antimalware defenses have evolved, attackers have likewise improved their malware, including extensive obfuscation, anti-analysis techniques, and the abiity to steal legitimate digital certificates to make malware appear as legitimate code to antivirus software. 

For example, in its recent analysis of the Chinese cyber-espionage group APT41, security firm FireEye found that the group targeted video game companies and stole valid code-signing certificates from developers so it could sign future malware. The tactic, along with APT41's penchant for injecting malicious code into software in development, showed a focus on using the software supply chain against targets, FireEye stated.

"These supply chain compromise tactics have also been characteristic of APT41's best known and most recent espionage campaigns," the company said.

In the case analyzed by ReversingLabs, the attacker followed a six-phase process to first identify a likely target of impersonation, next identify a potential domain for which that person is the founder or technical contact to spoof, and then create the infrastructure to mimic the selected company. Typically, a fraudster will set up the infrastructure to redirect Web requests to the actual corporate domain but send email traffic to the server they own. 

Once the digital groundwork was done, the attacker completed the last three phases of the operation: buy a certificate, verify that it works, and put it up for sale on one or more underground forums. The success of the scam requires the person reviewing the application not notice, for example, that the domain registered as a .co.uk does not belong to the same company as the legitimate .com domain. 

"The gamble is that the person verifying the certificate issuance request will assume that the same company owns both the global .com and the regional .co. uk domains for their business," Pericin stated in the blog post.

He elaborated in a separate interview with Dark Reading. "The certificate authorities are under constant pressure to issue certificates as fast as possible," he says. "And the usual three to five business-day turnaround for code signing certificate purchase can be insufficient to do thorough checks."

The process highlights weaknesses in the security check that underpins the entire Web of trust model. Certificate authorities, tasked with validating the information behind the certificates, are responsible for the security of the entire system. 

"They represent a mechanism that guarantees the identities behind the signatures are verified," Pericin stated in the blog. "For this reason, it is crucial that the processes they implement to check the identities are resilient to potential abuse — something much easier said than done."

In particular, the passing of the EU's General Data Protection Regulation (GDPR) means domains registered in Europe are protected from casual queries, so it is difficult to find out who actually owns a domain, the blog pointed out.

The analysis is not the first time a company has shed light on the market for code-signing signatures. In 2018, open source intelligence firm Recorded Future reported that an increasing number of code-signing certificated available in underground markets were the result of impersonation. The company found that fraudsters were selling the certificates for $300 to $1,600 online

Those prices are similar to those advertised by the subject of ReversingLabs' investigation. The attacker likely made $500 to $1,000 on the fraudulent certificate, Pericin tells Dark Reading. 

Companies that could be a target for such attacks are at a disadvantage in defending against impersonation. Most defenses amount to monitoring and preventative registration, such as buying up as many related domains as possible to minimize confusion and to monitor for mentions of their credentials' misuse, he says.

"Since these threats are external to the organization, the best advice we can give out at this time is to invest in brand protection, to register domains that are easily mistaken with the brand owner ahead of time, [and] if possible, to monitor the Web for mentions of their brand in the context of malware misuse," Pericin says. 

Related Content:

Check out The Edge, Dark Reading's new section for features, threat data, and in-depth perspectives. Today's top story: "How a PIA Can CYA."

Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... View Full Bio

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Mobile Banking Malware Up 50% in First Half of 2019
Kelly Sheridan, Staff Editor, Dark Reading,  1/17/2020
Exploits Released for As-Yet Unpatched Critical Citrix Flaw
Jai Vijayan, Contributing Writer,  1/13/2020
Microsoft to Officially End Support for Windows 7, Server 2008
Kelly Sheridan, Staff Editor, Dark Reading,  1/13/2020
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
The Year in Security: 2019
This Tech Digest provides a wrap up and overview of the year's top cybersecurity news stories. It was a year of new twists on old threats, with fears of another WannaCry-type worm and of a possible botnet army of Wi-Fi routers. But 2019 also underscored the risk of firmware and trusted security tools harboring dangerous holes that cybercriminals and nation-state hackers could readily abuse. Read more.
Flash Poll
[Just Released] How Enterprises are Attacking the Cybersecurity Problem
[Just Released] How Enterprises are Attacking the Cybersecurity Problem
Organizations have invested in a sweeping array of security technologies to address challenges associated with the growing number of cybersecurity attacks. However, the complexity involved in managing these technologies is emerging as a major problem. Read this report to find out what your peers biggest security challenges are and the technologies they are using to address them.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-7227
PUBLISHED: 2020-01-18
Westermo MRD-315 1.7.3 and 1.7.4 devices have an information disclosure vulnerability that allows an authenticated remote attacker to retrieve the source code of different functions of the web application via requests that lack certain mandatory parameters. This affects ifaces-diag.asp, system.asp, ...
CVE-2019-15625
PUBLISHED: 2020-01-18
A memory usage vulnerability exists in Trend Micro Password Manager 3.8 that could allow an attacker with access and permissions to the victim's memory processes to extract sensitive information.
CVE-2019-19696
PUBLISHED: 2020-01-18
A RootCA vulnerability found in Trend Micro Password Manager for Windows and macOS exists where the localhost.key of RootCA.crt might be improperly accessed by an unauthorized party and could be used to create malicious self-signed SSL certificates, allowing an attacker to misdirect a user to phishi...
CVE-2019-19697
PUBLISHED: 2020-01-18
An arbitrary code execution vulnerability exists in the Trend Micro Security 2019 (v15) consumer family of products which could allow an attacker to gain elevated privileges and tamper with protected services by disabling or otherwise preventing them to start. An attacker must already have administr...
CVE-2019-20357
PUBLISHED: 2020-01-18
A Persistent Arbitrary Code Execution vulnerability exists in the Trend Micro Security 2020 (v160 and 2019 (v15) consumer familiy of products which could potentially allow an attacker the ability to create a malicious program to escalate privileges and attain persistence on a vulnerable system.