← Lab /Security & privacy

Administrator Protection can be silently bypassed to gain full admin rights

A vulnerability in Windows 11 Administrator Protection allows a limited user to silently obtain full administrator privileges.

Security & privacy Google Project Zero 26 Jan 2026 Disclosure Prototype evidence

Published as “Bypassing Windows Administrator Protection”

Why it matters

The bypass shows that Administrator Protection does not yet provide a reliable security boundary against silent privilege escalation.

Summary

The researcher reverse-engineered the UAC service in Windows 11 25H2 insider builds and discovered nine ways to bypass the new Administrator Protection feature. The most notable bypass leverages per-logon-session DOS device object directories: by impersonating the shadow administrator token at identification level, a limited user can create a writable directory and symlink the C: drive, hijacking an elevated process before it accesses any file. The attack requires launching the elevated process via the RAiProcessRunOnce API and winning a race condition, but it was demonstrated on the preview build. Microsoft later patched the issue by blocking directory creation when impersonating a shadow admin token.

What they found 2

  1. Microsoft patched the bug by blocking creation of the DOS device object directory when impersonating a shadow administrator token at identification level.

    “The fix Microsoft implemented was to prevent creating the DOS device object directory when impersonating a shadow administrator token at identification level.”

  2. A limited user can silently gain full administrator privileges by creating a C: drive symlink in the shadow admin's DOS device directory and hijacking the process.

    “Create a C: drive symlink in the new DOS device directory to hijack the system drive.”

Caveats 6

  • The bypass requires opening the newly created elevated process before it accesses any file, which may be difficult in practice.
  • The second issue seems more of a deal breaker. ... we’d have to win a race condition to open the process and perform the bypass before any code runs in that process.
  • The attack depends on a race condition between process creation and its first file access.
  • It requires the use of the RAiProcessRunOnce API to launch the elevated process in a suspended state.
  • The exploit only works while Administrator Protection is enabled; the feature was later disabled by Microsoft for compatibility reasons.
  • The attacker must be able to impersonate the shadow administrator token at identification level and modify the token owner SID.

What’s new here 4

  • Identified nine distinct bypass techniques for Administrator Protection, including a DOS device directory hijack.
  • Demonstrated that the shadow administrator token creates a unique logon session, enabling creation of a writable DOS device object directory via identification-level impersonation.
  • Showed that the UAC service's RAiProcessRunOnce API can launch a suspended elevated process, allowing a race-condition attack to hijack the C: drive.
  • Microsoft fixed the vulnerability by preventing creation of the DOS device object directory when impersonating a shadow administrator token at identification level.