Hackers Striking at the Heart of Machine Identities – X.509 Certificates

After WannaCry ransomware shook the security world, a new kind of Trojan called CertLock started compromising security worldwide to threaten Machine Identities. This Trojan blocks reputed security programs from installing on infected Windows machines. To achieve this, the Trojan blocks the security vendor’s digital certificate, making it easy for hackers.When users attempt to run the affected programs, they are met with an alert stating the publisher of the software has been blocked due to an untrusted certificate. While CertLock is affecting AVAST most, vendors like AVG, BitDefender, ESET, Kaspersky and Symantec have also felt the burn.

Many security vendors are currently flagging CertLock as a generic Trojan or Wdfload. It is being distributed through unwanted program bundles and functions – the ones attached to free software downloads – as a protection software. Once this bundle is installed, CertLock blocks the security vendor’s certificate by adding its thumbprint to a specific Windows registry key (HKLM/SOFTWARE/Microsoft/SystemCertificates/Disallowed/Certificates/), disabling any program signed with that certificate, even if it is already installed.

Hackers Striking at the Heart of Machine Identities – Digital Certificates | AppViewX Image

X.509 Certificates – A double-edged sword

Traditionally, enterprises and consumers use X.509 certificates to enable the security applications that make up public key infrastructures. A X.509 (or “identity”) certificate is used to (1) provide information about an entity’s identity and (2) securely exchange information over the internet using the entity’s public key. X.509 certificates have garnered a significant amount of trust over the years, and now cyber criminals are taking advantage of that trust. Since the famous Stuxnet attack, hackers have continued to use forged X.509 certificates – stolen from protected infrastructures or reputed certificate authorities – to sign their malware.

To make matters worse, there are also instances of certificate authorities issuing weak or improper certificates that give way to trusted malwares and even the impersonation of Google servers. What if Google – one of the top ten websites worldwide from a usage perspective – failed to identify an impersonation? What if the industry at large is overlooking something critical like SSL certificate management? No one wants to contemplate the answer to such frightening – but important –questions. Scenarios like these have seriously called into question the level of security X.509 certificates and PKI infrastructure are entrusted with online.

However, the technology itself is not to blame. Instead, it’s the improper use of the technology that should be re-evaluated. Now that SSL/TLS certificates (a variation of X.509 certificates) are the face of your enterprise online, it is the user’s responsibility to take the security measures necessary to protect them using PKI automation tools. Otherwise, attacks like those executed through CertLock are inevitable.

How to counter CertLock?

Jérôme.B, a ToolsLib.net sysadmin and the brains behind Malwarebytes AdwCleaner, developed a tool called AVCertClean that can undo all changes made by CertLock. This tool scans the disallowed registry key in Windows and automatically removes blocks from legitimate keys. Users can then successfully install and run the affected security programs on their systems without encountering problems.

Conclusion

CertLock signals the beginning of a new wave of certificate-based attacks that block trusted security programs by compromising their X.509 certificates. Going forward, users must exercise extreme caution when installing free software and resist the temptation of blindly accepting all terms and conditions.

Given PKI technology is secure, the use of X.509 certificates in secure communications and authentication is only going to increase. As a result, there will be more certificates for enterprises to track and manage on a daily basis. To put it simply, using manual methods like spreadsheets will definitely not get the job done. Users need to invest in a PKI Automation tool that can facilitate certificate lifecycle management.

AppViewX’s Certificate Lifecycle Automation solution can automate the entire certificate lifecycle, extinguishing threats before it’s too late.

Tags

  • Certificate authority
  • Certificate Management
  • Device Certificate
  • X509 Certificate

About the Author

Siddharth Prabhu

Sr Manager – Customer Success

Siddharth has a diverse role in solution consulting and Customer success at AppViewX. With more than 7 years of experience at AppViewX, he provides best practices and implementation strategy for customers on PKI management, Security and network automation.

More From the Author →

Related Articles

Certificate Management Best Practices to Stay Cyber-Secure This Holiday Season

| 6 Min Read

The Entrust Distrust Deadline is Closing In. Are you Prepared?

| 4 Min Read

AppViewX Automated Certificate Management for PingAccess

| 3 Min Read