Cyber Security News

Hackers Bypassed Windows Defender Policies Using WinDbg Preview via Microsoft Store

A newly documented technique reveals how attackers can exploit the WinDbg Preview debugger to bypass even the strictest Windows Defender Application Control (WDAC) policies, raising concerns about a significant gap in enterprise security controls.

The exploit, dubbed the “WinDbg Preview Exploit,” leverages the debugger’s advanced capabilities to achieve code execution and remote process injection, effectively sidestepping defenses that would otherwise block unsigned or unauthorized code.

How the Exploit Works

According to the CerberSec report, the attack starts in a tightly locked-down environment, often configured with robust WDAC policies.

These policies are designed to prevent the execution of any unsigned executables or DLLs, and commonly used system tools (known as “living-off-the-land binaries” or LOLBins) are typically blocked as well.

However, many organizations leave the Microsoft Store enabled, allowing users to install applications like WinDbg Preview (WinDbgX.exe), which is not included in Microsoft’s default WDAC blocklist.

Once WinDbg Preview is installed, an attacker can use it to inject arbitrary shellcode into a target process.

The process involves converting the shellcode into a WinDbg script format and loading it byte-by-byte into memory using the debugger’s scripting capabilities.

The attacker then uses WinDbg commands to call Windows API functions such as OpenProcess, VirtualAllocEx, WriteProcessMemory, and CreateRemoteThread, effectively injecting and executing code in another process—even when all standard execution paths are blocked by WDAC.

The exploit does not rely on traditional executable files or DLLs, which are typically scrutinized and blocked by WDAC.

Instead, it abuses the trusted status of WinDbg Preview, a legitimate debugging tool, to perform actions that would otherwise be prohibited.

This technique highlights a critical oversight in many organizations’ security postures.

While Microsoft maintains a recommended blocklist for WDAC, it currently includes the legacy windbg.exe but not the newer WinDbg Preview installed via the Microsoft Store. 

As a result, attackers can exploit this gap to gain code execution on systems presumed to be secure.

Security experts recommend several mitigations:

  • Update WDAC blocklists to explicitly include WinDbg Preview (WinDbgX.exe), not just legacy versions.
  • Disable the Microsoft Store on endpoints where it is not required, reducing the risk of users installing potentially exploitable tools.
  • Monitor for suspicious use of debugging tools, especially those that invoke process injection techniques or frequent calls to APIs like SetThreadContext().

The “WinDbg Preview Exploit Lets Attackers Evade Windows Defender Policies” serves as a stark reminder that security is only as strong as its weakest link.

Organizations must proactively review and update their WDAC policies, ensuring that all potential vectors—including modern debugging tools—are accounted for and appropriately restricted.

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates!

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

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…

1 day 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…

1 day 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…

1 day 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…

1 day 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…

1 day ago