Skip to content
Access control Write-up Advanced

Bypassing Administrator Protection by Abusing UI Access

The Windows Administrator Protection feature, intended to create a secure UAC boundary, could be bypassed by abusing the UI Access mechanism. An attacker could use this to elevate privileges past the protection boundary, and nine such bypasses were found and fixed.

James Forshaw Follow

Published on projectzero.google

In my last blog post I introduced the new Windows feature, Administrator Protection and how it aimed to create a secure boundary for UAC where one didn’t exist. I described one of the ways I was able to bypass the feature before it was released.

James Forshaw, on projectzero.google

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 the UI Access mechanism allows a process to interact with or control windows belonging to more privileged processes, undermining the boundary Administrator Protection was meant to enforce.

Impact

An attacker could bypass Administrator Protection and potentially elevate privileges, though the text notes all nine bypasses have now been fixed.

What the attacker needed

Windows with Administrator Protection; ability to run code on the desktop

The fix

The UI Access implementation was fixed, closing the bypasses described.

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.

Windows has a security prompt called UAC that asks permission before a program runs with high privileges. A new feature called Administrator Protection was meant to make that boundary stronger. The researcher found that a mechanism called UI Access, which lets certain programs interact with other windows, could be used to get around the protection and gain higher privileges.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by James Forshaw

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.