Bypassing Administrator Protection by Abusing UI Access#1889
Open
carlospolop wants to merge 1 commit intomasterfrom
Open
Bypassing Administrator Protection by Abusing UI Access#1889carlospolop wants to merge 1 commit intomasterfrom
carlospolop wants to merge 1 commit intomasterfrom
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://projectzero.google/2026/02/windows-administrator-protection.html Content Categories: Based on the analysis, this content was categorized under "Windows Hardening -> Windows Local Privilege Escalation (add/extend a subsection around UAC/Admin Protection bypasses via UIAccess, RAiLaunchAdminProcess/AppInfo, and secure-directory/path validation bypass techniques; cross-reference with Integrity Levels/UIPI and DLL injection via Windows hooks)". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Title / scope
Google Project Zero analyzes why Windows' new Administrator Protection (Admin Protection) was bypassable via long-standing design/implementation problems around UIAccess. The author found 9 Admin Protection bypasses total; this post explains the root cause behind 5 of the 9. All are now fixed.
1) Background: Shatter attacks → UIPI (why UI isolation exists)
Before Windows Vista, any process on the interactive desktop could c...
🔧 Technical Details
UIAccess → silent High-IL foothold trick: if you can satisfy (or bypass) UIAccess gating (manifest
uiAccess="true", trusted code signature, and “secure directory” placement), you can useRAiLaunchAdminProcessto spawn a UIAccess process without a UAC prompt. The service copies the caller token, enables UIAccess, and often elevates integrity to High (limited user of an admin → High; normal user → IL+16 up to High). Once you have a High-IL process on the same desktop, you can compromise other High-IL processes using same-IL UI primitives; in particular, windows hooks can be used to inject a DLL into any process with a window (including message-only windows used by COM), breaking the intended Admin Protection boundary.Secure-directory validation bypass pattern: the UAC service validates paths via
AiCheckSecureApplicationDirectory(appinfo.dll) by opening the provided RPC path, resolving it withGetFin...🤖 Agent Actions
Summary:
Tests:
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.
📚 Repository Maintenance
All .md files have been checked for proper formatting (headers, includes, etc.).