Monday, April 28, 2025
HomeCyber Security NewsWindows Policy Loophole Let Hackers to Install Malicious Kernel Mode Drivers

Windows Policy Loophole Let Hackers to Install Malicious Kernel Mode Drivers

Published on

SIEM as a Service

Follow Us on Google News

Microsoft blocked code signing certs, favored by Chinese hackers and devs, for loading malicious kernel mode drivers via Windows policy exploit.

Windows kernel-mode drivers, at Ring 0, grant utmost privilege, enabling the following abilities:-

  • Stealthy persistence
  • Undetectable data exfiltration
  • Universal process termination

A kernel-mode driver can disrupt the active security tools on a compromised device and perform the following illicit activities:-

- Advertisement - Google News
  • Interrupt the security tools’ operations
  • Turn off the advanced protection capabilities of the security solutions
  • Make targeted configuration changes for stealthy evasion

Cybersecurity researchers at Cisco Talos recently reported this issue to Microsoft and stated:-

“Actors are leveraging multiple open-source tools that alter the signing date of kernel mode drivers to load malicious and unverified drivers signed with expired certificates. We have observed over a dozen code signing certificates with keys and passwords contained in a PFX file hosted on GitHub used in conjunction with these open source tools.”

It’s a significant risk since once someone gets hold of the central part of the targeted system, they have unrestricted control over the whole system, ultimately leading to complete infiltration.

Windows Policy Changes

Windows Vista brought policy changes, limiting the loading of kernel-mode drivers into the OS. This modification by Microsoft made the Devs must now review and sign their drivers via Microsoft’s portal for compliance.

For legacy app compatibility, Microsoft made exceptions, enabling continued loading of older kernel mode drivers. Here below, we have mentioned those specific exceptions:-

  • The PC was upgraded from an earlier release of Windows to Windows 10, version 1607.
  • Secure Boot is off in the BIOS.
  • Drivers were [sic] signed with an end-entity certificate issued before July 29th, 2015, that chains to a supported cross-signed CA.
Windows kernel architecture (Source – Cisco Talos)

To manipulate the signing date of malicious drivers before July 29th, 2015, exploiting the third policy, the Chinese threat actors leverage the following open-source tools:-

  • HookSignTool
  • FuckCertVerifyTimeValidity (aka FuckCertVerify)

Threat actors alter signing dates to employ old and leaked certificates that are not revoked for driver signing, and achieving privilege escalation on Windows.

Open Source Tools Analysis

HookSignTool:

It’s a driver signature forgery tool that uses the Windows API hooking and manual import table modification to give its operator the ability to change the signing date.

This tool was released by “JemmyLoveJenny” in 2019 on “52pojie[.]cn,” and since 2020, it’s available on GitHub. Besides this, HookSignTool is also used to sign the “RedDriver,” a malicious driver and browser hijacker.

Windows Policy Loophole
HookSignTool (Source – Cisco Talos)

FuckCertVerifyTimeValidity:

Utilizing the Microsoft Detours package, this tool intercepts the “CertVerifyTimeValidity” API call, and to the desired date it sets the timestamp. While it requires the addition of the “FuckCertVerifyTimeValidity.dll!test” function in the import table.

But, unlike the “HookSignTool,” it leaves no trace in signed binaries, making detection challenging. This tool to have been created for signing game cheating software and initially it was released on December 13th, 2018 on GitHub.

Since then, it has been replicated, uploaded, and distributed to different GitHub repositories.

FuckCertVerifyTimeValidity attaching to Windows API (Source – Cisco Talos)

Apart from this, along with the matching private key and password, a non-revoked code-signing certificate that is issued before July 29th, 2015 is required by both tools.

Resigned certificate (Source – Cisco Talos)

In GitHub repos and Chinese forums, Cisco’s researchers discovered over a dozen certificates that these tools can exploit.

They are extensively employed for the following things:-

  • Game cracks
  • Bypass DRM checks
  • Malicious kernel driver execution

Recommendations

Here below we have mentioned all the recommendations provided by Microsoft:-

  • Make sure to install the latest Windows updates.
  • Ensure that your antivirus and endpoint detection products are updated with the latest available signatures.
  • Make sure to configure the AV and EDR tools properly.
  • For optimal defense shields, ensure that all the key security features of AV and EDR tools are enabled.
Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

RansomHub Ransomware Deploys Malware to Breach Corporate Networks

The eSentire’s Threat Response Unit (TRU) in early March 2025, a sophisticated cyberattack leveraging...

19 APT Hackers Target Asia-based Company Servers Using Exploited Vulnerabilities and Spear Phishing Email

The NSFOCUS Fuying Laboratory’s global threat hunting system identified 19 sophisticated Advanced Persistent Threat...

FBI Reports ₹1.38 Lakh Crore Loss in 2024, a 33% Surge from 2023

The FBI’s Internet Crime Complaint Center (IC3) has reported a record-breaking loss of $16.6...

Fog Ransomware Reveals Active Directory Exploitation Tools and Scripts

Cybersecurity researchers from The DFIR Report’s Threat Intel Group uncovered an open directory hosted...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

RansomHub Ransomware Deploys Malware to Breach Corporate Networks

The eSentire’s Threat Response Unit (TRU) in early March 2025, a sophisticated cyberattack leveraging...

19 APT Hackers Target Asia-based Company Servers Using Exploited Vulnerabilities and Spear Phishing Email

The NSFOCUS Fuying Laboratory’s global threat hunting system identified 19 sophisticated Advanced Persistent Threat...

FBI Reports ₹1.38 Lakh Crore Loss in 2024, a 33% Surge from 2023

The FBI’s Internet Crime Complaint Center (IC3) has reported a record-breaking loss of $16.6...