Cyber Security News

Threat Actors Leverage Legacy Drivers to Circumvent TLS Certificate Validation

Threat actors have recently been exploiting legacy drivers to bypass certificate validation, leveraging a technique known as “Legacy Driver Exploitation.”

This method involves using vulnerable drivers to evade security measures and distribute malware, as highlighted in a recent security advisory.

The attack primarily utilizes the Gh0stRAT malware to remotely control infected systems and cause further damage.

The malware is distributed through phishing sites and messaging apps, with additional payloads loaded using the DLL side-loading technique.

Exploitation Techniques and Vulnerabilities

The key to this attack is the exploitation of a vulnerability in the TrueSight.sys driver, a component of the RogueKiller Antirootkit tool developed by Adlice Software.

Versions of TrueSight.sys 3.4.0 and below contain a flaw that allows arbitrary processes to be terminated, which threat actors exploit using the AVKiller tool.

Certificate verification screen using signtool.exe

Microsoft has added vulnerable versions of the TrueSight.sys driver to its Vulnerable Driver Blocklist, but older versions signed before July 29, 2015, are exempt.

Threat actors have exploited this loophole by tampering with the certificate area to create modified files resembling the TrueSight 2.0.2.0 version.

The attackers manipulate the padding area of the WIN_CERTIFICATE structure within the digital signature of the file.

Since Windows does not validate the padding area during certificate checks, the tampered file appears to have a valid signature, successfully bypassing certificate validation via WinVerifyTrust.

According to ASEC, this technique is related to the CVE-2013-3900 vulnerability, which allows certificate verification to be bypassed by modifying the authentication table and header information.

Microsoft’s Response and Recommendations

In response to these attacks, Microsoft updated its Vulnerable Driver Blocklist in December 2024 to block the modified TrueSight.sys driver and its variants.

This update is crucial for enhancing system security by blocking drivers that exploit known vulnerabilities.

Users can further strengthen certificate validation by applying specific registry settings, such as enabling the “EnableCertPaddingCheck” option.

This setting helps ensure stricter validation of certificates, although it was initially rolled back due to compatibility issues.

To protect against such threats, users should promptly apply the latest security updates and utilize robust security solutions.

Regular security checks and vulnerability analyses are also essential for identifying potential risks and responding effectively.

The detection capabilities of security tools like AhnLab V3 play a vital role in identifying and blocking maliciously modified drivers, such as the Trojan/Win.VulnDriver.R695153 variant of TrueSight.sys.

By staying vigilant and proactive, users and organizations can mitigate the risks associated with Legacy Driver Exploitation attacks.

Are you from SOC/DFIR Teams? – Analyse Malware Incidents & get live Access with ANY.RUN -> Start Now for Free. 

Aman Mishra

Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

2 days ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

2 days ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

2 days ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago