As attackers continue to evolve their tactics, Microsoft is taking bold strides to neutralize entire classes of vulnerabilities β not just patching individual CVEs. In its recently blog post, the tech giant has unveiled RedirectionGuard, a new Windows 11 mitigation feature designed to shut down a widespread vector for privilege escalation: filesystem redirection attacks.
Redirection attacks exploit the way privileged Windows services interact with files. Attackers use junctions (a kind of file system link) to reroute file operations from benign locations to critical system paths like C:\Windows\System32. For example:
βA service may use a temporary folderβ¦ but what if an unprivileged user replaces the folder with a junction that points to C:\Windows\System32? Now when the service cleans up, it follows the junction and deletes system files.β

Thatβs a nightmare scenario, potentially resulting in corruption or full system compromise.
Microsoft has previously tackled similar redirection techniques using restrictions on hard links and symbolic links, but junctions have remained a persistent blind spot.
βJunctions remain the biggest existing gapβ¦ they can be created by standard users and target any folder on the system,β the company sates.
The company explained that 32 out of 42 path redirection CVEs disclosed in 2024 were related specifically to attacker-created junctions β highlighting the need for a focused defense.
To close this security gap, Microsoft developed RedirectionGuard, which blocks unsafe junction traversals when two key conditions are met:
- The junction was created by a non-admin user.
- The junction is being accessed by a process that has opted into RedirectionGuard.
βWhen RedirectionGuard is enabled by a process, the process will only follow βtrustedβ junctions β those created by an administrator or created before the mitigation was available,β the company explains.
This simple but powerful logic makes junction redirection by attackers fail silently, rendering many common local privilege escalation (LPE) techniques useless.
RedirectionGuard is opt-in, minimizing risk of disruption. It is already active in critical Windows services like User Profile Service, AppX Deployment Service, and Installer Service in Windows Insider builds.
Developers can enable RedirectionGuard in their programs using the SetProcessMitigationPolicy API. Microsoft even provides a sample implementation in C:
For audit-only mode, developers can toggle AuditRedirectionTrust instead.
Security professionals can verify mitigation status using James Forshawβs NtObjectManager PowerShell module. For example:
This reveals which mitigations are active for any running process β essential for testing and verification.
Related Posts:
- PoC Exploit Releases for CVE-2024-44193: Local Privilege Escalation Vulnerability in iTunes
- Rogue RDP: Abusing RDP for File Theft and Espionage
- Google adds a vulnerability mitigation solution for Android P to prevent certain types of attacks
- ApateWeb Campaign: 130k Domains Serving Scareware & PUPs in Disguise
- Typo DGAs: A New Tactic in Malicious Redirection Campaigns
Support Our Threat Intelligence
If you find our CVE report and cybersecurity news helpful, consider supporting our work.