March 28, 2016 By Larry Loeb 2 min read

Symantec recently noted on its blog that it has seen a disturbing trend in malware attacks: the use of stolen SHA-2 certificates to make the malware appear valid.

SHA-1 Is Insecure

This change in the certs used by the malware is part of an evolving strategy because of security concerns about SHA-1. The malware wants the infected system to believe it is valid code. If the system does, there is a higher probability that the malware will be executed without detection.

Microsoft has already announced the discontinuation of support for files digitally signed with a SHA-1 signature after Jan. 1, 2016, in certain scenarios. Malware creators responded to this by adding stolen SHA-2 certificates to the SHA-1 certificates they may be using.

Symantec described how an older banking Trojan, Trojan.Carberp.B, has been modified to use this approach. The vector used for infection is usually the poisoned attachment embedded in an email document, which has “ATTN 00890” as its subject. The email and the attachment use language targeting people who work in accounting departments.

The infected attachment contains a malicious macro that uses a ROT13 +13/-13 cipher. The macro causes the download of a malicious signed binary, sexit.exe, from a server hosted in Mauritius. Sexit.exe is then installed and completes the infiltration.

SHA-2 Could Have Its Own Problems

Researchers found that sexit.exe was signed by two certificates: One is SHA-1-based, the other SHA-2-based. The goal of using both is to escape detection by the operating system. The use of a SHA-1 cert alone might not be accepted by newer OSs, but the SHA-2 certificate alone would not be accepted by older systems, such as those prior to Windows XP SP3.

There is an additional benefit to malware creators using a SHA-2 certificate: The SHA-2 cert can provide backup if the primary SHA-1 certificate is discovered to be bogus and revoked by the signing authority.

The rise of this technique shows how malware creators are adapting to the new certificate rules. This threat won’t show up immediately in your organization since the creators need to be able to target legacy systems, but it will be coming.

More from

Cyberattack on American Water: A warning to critical infrastructure

3 min read - American Water, the largest publicly traded United States water and wastewater utility, recently experienced a cybersecurity incident that forced the company to disconnect key systems, including its customer billing platform. As the company’s investigation continues, there are growing concerns about the vulnerabilities that persist in the water sector, which has increasingly become a target for cyberattacks. The breach is a stark reminder of the critical infrastructure risks that have long plagued the industry. While the water utility has confirmed that…

What’s behind unchecked CVE proliferation, and what to do about it

4 min read - The volume of Common Vulnerabilities and Exposures (CVEs) has reached staggering levels, placing immense pressure on organizations' cyber defenses. According to SecurityScorecard, there were 29,000 vulnerabilities recorded in 2023, and by mid-2024, nearly 27,500 had already been identified.Meanwhile, Coalition's 2024 Cyber Threat Index forecasts that the total number of CVEs for 2024 will hit 34,888—a 25% increase compared to the previous year. This upward trend presents a significant challenge for organizations trying to manage vulnerabilities and mitigate potential exploits.What’s behind…

Quishing: A growing threat hiding in plain sight

4 min read - Our mobile devices go everywhere we go, and we can use them for almost anything. For businesses, the accessibility of mobile devices has also made it easier to create more interactive ways to introduce new products and services while improving user experiences across different industries. Quick-response (QR) codes are a good example of this in action and help mobile devices quickly navigate to web pages or install new software by simply scanning an image.However, legitimate organizations aren’t the only ones…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today