November 9, 2017 By Mark Samuels 2 min read

Malware creators are abusing the code-signing process associated with public key infrastructure (PKI), and their actions are a considerable threat to internet authentication systems.

At the recent ACM Conference on Computer and Communications Security in Dallas, security researchers from the University of Maryland highlighted potential problems in the code-signing approach used in PKI. These flaws affect some products created by antivirus firms and could create significant issues for businesses that rely on PKI for authentication.

The Problem With Public Key Infrastructure

The researchers analyzed more than 150,000 malware samples from a 2014 data set and discovered 325 samples that either held a valid, revoked or malformed certificate. In the report, they noted that digitally signed malware can sidestep the protection mechanisms that ensure programs are only launched when they have valid signatures. Such malware can also dodge sophisticated antivirus technologies.

They concluded that exploitation focuses on three kinds of flaws in the code-signing PKI: publisher-side key mishandling, insufficient client-side safeguards of certificates and certificate authority-side confirmation breakdowns.

When it comes to publisher-side issues, they discovered 72 compromised certificates within 325 malware samples. Five of the eight publishers who were subsequently contacted about the issues were unaware of the problematic certification and potential exploitation.

Worse still, two-thirds of malware samples signed with these 72 compromised certificates are still effective, according to the report. In these instances, the signature check does not produce any errors and could provide a means for threat actors to bypass system protection measures.

In fact, malware creators might not even require the power of a code-signing certificate. The paper noted that flaw in 34 antivirus products allowed fraudsters to copy signatures from a legitimate file to a known malware sample without being detected.

The researchers disclosed the problem to antivirus companies, two of which confirmed that their products failed to check the signature properly. One vendor announced plans to fix the issue.

PKI Problems Getting Progressively Worse

Doowon Kim, one of the researchers involved in the project, told Threatpost that problems with code signing are systemic and PKI abuses are becoming progressively worse. He noted that 80 percent of exploited certificates are still a threat six years after being originally used to sign malware.

The Cyber Security Research Institute recently discovered that threat actors can purchase code-signing certificates on the Dark Web for $1,200, Beta News reported. Peter Warren, chairman of CSRI, said that the criminal market for certificates casts doubt over the entire authentication system for the internet.

With the threat level rising and compromised certificates readily available to fraudsters, these code-signing concerns pose a serious threat to businesses that rely on public key infrastructure.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

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