Visible to the public Certified Malware: Measuring Breaches of Trust in the Windows Code-Signing PKI

TitleCertified Malware: Measuring Breaches of Trust in the Windows Code-Signing PKI
Publication TypeConference Paper
Year of Publication2017
AuthorsKim, Doowon, Kwon, Bum Jun, Dumitra\c s, Tudor
Conference NameProceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-4946-8
Keywordscode signing, composability, compromised certificates, Malware, Metrics, PKI, PKI Trust Models, pubcrawl, resilience, Resiliency, security, windows authenticode, Windows operating system
Abstract

Digitally signed malware can bypass system protection mechanisms that install or launch only programs with valid signatures. It can also evade anti-virus programs, which often forego scanning signed binaries. Known from advanced threats such as Stuxnet and Flame, this type of abuse has not been measured systematically in the broader malware landscape. In particular, the methods, effectiveness window, and security implications of code-signing PKI abuse are not well understood. We propose a threat model that highlights three types of weaknesses in the code-signing PKI. We overcome challenges specific to code-signing measurements by introducing techniques for prioritizing the collection of code signing certificates that are likely abusive. We also introduce an algorithm for distinguishing among different types of threats. These techniques allow us to study threats that breach the trust encoded in the Windows code signing PKI. The threats include stealing the private keys associated with benign certificates and using them to sign malware or by impersonating legitimate companies that do not develop software and, hence, do not own code-signing certificates. Finally, we discuss the actionable implications of our findings and propose concrete steps for improving the security of the code-signing ecosystem.

URLhttps://dl.acm.org/doi/10.1145/3133956.3133958
DOI10.1145/3133956.3133958
Citation Keykim_certified_2017