Windows Administrator Protection #1813
Open
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
Project Zero analyzes Windows 11 25H2 “Administrator Protection” (a new elevation model intended to replace classic User Account Control) and details a silent bypass that results in full administrator code execution without an elevation prompt by abusing per-logon-session DOS device maps, identification-level impersonation semantics, and a race window when launching a shadow-admin process.
1) What Administrator Protection is trying to fix (why classic UAC was bypassable)
Clas...
🔧 Technical Details
Per-logon-session DOS device maps can override global drive letters: Windows resolves drive letters via
??, which typically maps first to\Sessions\0\DosDevices<LUID>(logon-session-specific) and only falls back to\GLOBAL??. If an attacker can create aC:symbolic link inside a target logon session’s DOS devices directory, they can hijackC:for processes in that session, redirecting file access and potentially DLL loading to attacker-controlled paths (leading to code execution in that process’s security context).A subtle kernel behavior can make this writable even when the parent directory is non-writable: the DOS devices directory is created lazily by
SeGetTokenDeviceMapusingZwCreateDirectoryObjectwithoutOBJ_FORCE_ACCESS_CHECK, so creation bypasses access checks. The parent\Sessions\0\DosDevicesdirectory uses an inheritableCREATOR OWNER<...🤖 Agent Actions
Updated UAC - User Account Control with a new section detailing the Windows 11 25H2 Administrator Protection bypass via per-logon-session DOS device map hijacking (drive-letter symlink). The section explains the lazy creation behavior, identification-level impersonation nuance, race window, exploitation steps using RAiProcessRunOnce and NtObjectManager, plus PoC snippet and note on KB5067036 fix. Added Project Zero blog to references.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.