← Lab /Security & privacy

UI Access flag lets attackers silently bypass Windows Administrator Protection

A UI Access process running at High integrity can be used to bypass Administrator Protection and gain administrator privileges without user consent.

Security & privacy Google Project Zero 12 Feb 2026 Attack Prototype evidence

Published as “Bypassing Administrator Protection by Abusing UI Access”

Why it matters

UI Access can be leveraged to silently bypass Administrator Protection, highlighting a remaining attack surface in Windows privilege separation.

Summary

The researcher explains how UI Access processes are created without a consent prompt and can be given High integrity. Several bypass techniques are demonstrated, including abusing named streams, passing DEBUG_PROCESS to RAiLaunchAdminProcess, and a drive-mapping TOCTOU to load malicious DLLs. The work includes tooling to locate vulnerable UI Access executables and scheduled tasks. All reported issues have been patched, but the analysis shows that any code execution in a High-integrity UI Access process can still break Administrator Protection.

What they found 3

  1. UI Access processes are created without a consent prompt

    “When a UI Access process is created through this RPC call it does not show the consent prompt unlike administrator elevation.”

  2. Secure directory check can be bypassed via NTFS named streams

    “the check didn’t take into account that it’s possible to write an NTFS named stream to a directory if the limited user has write access to that directory.”

  3. Passing DEBUG_PROCESS to RAiLaunchAdminProcess gives full control over the created process

    “You could pass the DEBUG_PROCESS flag, and from that get full control over the created process.”

Caveats 4

  • The UI Access flag only permits bypassing a limited set of operations such as sending window messages to other higher integrity processes. It doesn’t permit using things like windows hooks.
  • All of the issues I reported were fixed, but that doesn’t mean there’s nothing left to find.
  • The end result is having the UI Access flag without having a High integrity level isn’t sufficient to trivially compromise an administrator process, you would need the process to expose a user interface that could be automated to get privileged code to run.
  • One big change to UI Access processes over the original design of Administrator Protection is they now no longer run as the limited user.

What’s new here 4

  • Describes how UI Access processes can be launched at High integrity without user consent.
  • Identifies multiple bypasses: named-stream directory check, DEBUG_PROCESS flag abuse, and drive-mapping TOCTOU.
  • Provides PowerShell tools to discover UI Access executables and accessible scheduled tasks.
  • Shows that even after patches, code execution in a High-integrity UI Access process can bypass Administrator Protection.