Skip to content
RCE Write-up Advanced

Windows Defender Is Being Used to Hack Windows

A researcher publicly released a zero-day exploit called BlueHammer that chains legitimate Windows components to escalate from a low-privileged account to SYSTEM on Windows 10 and 11. The exploit requires a pending Defender signature update and works by freezing Defender during a definition update to read the SAM database from a shadow copy.

hackingpassion.com

Published on hackingpassion.com

Bulls Eye included in Security News

The author, on hackingpassion.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a design flaw where Defender's update process creates a temporary shadow copy containing sensitive files, and the exploit uses a Cloud Files sync provider and an opportunistic lock to stall Defender while reading those files.

Impact

An attacker with a low-privileged account could gain SYSTEM privileges on Windows 10 and 11, or elevated administrator access on Windows Server, but the exploit requires a pending Defender signature update to work.

What the attacker needed

Local user session; pending Defender signature update

The fix

Microsoft has not released a patch; the only mitigation mentioned is a Defender signature that detects the original binary, which does not fix the vulnerability.

How it was found

  1. Register as a Cloud Files sync provider.
  2. Wait for Defender to touch a specific file in the sync folder, triggering a callback.
  3. Place an opportunistic lock on that file to stall Defender.
  4. Read the SAM, SYSTEM, and SECURITY registry hives from the mounted shadow copy.
  5. Decrypt NTLM hashes, change a local admin password, log in, and copy the admin token to SYSTEM level.
  6. Create a temporary service and spawn a SYSTEM command prompt, then restore the original password hash.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is about a security hole in Windows Defender, the antivirus built into Windows. An attacker who already has a normal user account on a PC could use this trick to become the all-powerful system administrator, letting them do anything on that computer. The trick works by making Defender pause at the right moment so the attacker can copy password files.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.