Skip to content

ShieldBreak Microsoft Defender RoguePlanet Patch-Bypass PoC - #2692

Open
carlospolop wants to merge 1 commit into
masterfrom
update_ShieldBreak_Microsoft_Defender_RoguePlanet_Patch_8f2f51addc5e56e7
Open

ShieldBreak Microsoft Defender RoguePlanet Patch-Bypass PoC#2692
carlospolop wants to merge 1 commit into
masterfrom
update_ShieldBreak_Microsoft_Defender_RoguePlanet_Patch_8f2f51addc5e56e7

Conversation

@carlospolop

Copy link
Copy Markdown
Collaborator

🤖 Automated Content Update

This PR was automatically generated by the HackTricks News Bot based on a technical blog post.

📝 Source Information

  • Blog URL: https://github.com/MSNightmare/ShieldBreak
  • Blog Title: ShieldBreak: Microsoft Defender RoguePlanet Patch-Bypass PoC
  • Suggested Section: Windows Hardening > Windows Local Privilege Escalation > Microsoft Defender Remediation TOCTOU and Object Manager Link-Race Abuse

🎯 Content Summary

ShieldBreak is a public C++ proof of concept that the author describes as a complete patch bypass for RoguePlanet (CVE-2026-50656), a local elevation-of-privilege vulnerability in the Microsoft Malware Protection Engine used by Microsoft Defender. The underlying weakness is improper link resolution before file access (CWE-59): Defender's privileged remediation pipeline can be raced into resolving attacker-controlled links and writing attacker...

🔧 Technical Details

Cloud Files TOCTOU content substitution: register an attacker-controlled directory as a Cloud Files sync root and expose a placeholder whose first hydration returns benign or detection-triggering content. After a privileged scanner has classified that representation, submit CF_OPERATION_TYPE_RESTART_HYDRATION, update the placeholder metadata, and make the next CF_CALLBACK_TYPE_FETCH_DATACfRegisterSyncRoot, CfConnectSyncRoot, CfCreatePlaceholders, CfGetTransferKey, CfExecute, and CfHydratePlaceholder. This can break assumptions that a logical file's content remains stable between scanning, validation, and privileged remediation.


Object Manager shadow-directory path switching: create a target directory and a shadow directory with NtCreateDirectoryObjectEx, passing t...

🤖 Agent Actions

Updated:

src/windows-hardening/windows-local-privilege-escalation/kernel-race-condition-object-manager-slowdown.md

Added technical coverage of:

  • Cloud Files hydration TOCTOU content substitution
  • Object Manager shadow-directory path switching
  • CLFS generated-name capture and locking
  • Loopback administrative-share redirection
  • ADS/SEC_IMAGE race stabilization
  • WER QueueReporting conversion to SYSTEM execution
  • Detection pivots

References include the ShieldBreak repository and commit-pinned source. git diff --check, structural citation checks, forbidden-source checks, and reference URL validation passed. mdbook was unavailable in the environment.


This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.

📚 Repository Maintenance

  • MD files processed: 988
  • MD files fixed: 18

All .md files have been checked for proper formatting (headers, includes, etc.).

@carlospolop

Copy link
Copy Markdown
Collaborator Author

🔗 Additional Context

Original Blog Post: https://github.com/MSNightmare/ShieldBreak

Content Categories: Based on the analysis, this content was categorized under "Windows Hardening > Windows Local Privilege Escalation > Microsoft Defender Remediation TOCTOU and Object Manager Link-Race Abuse".

Repository Maintenance:

  • MD Files Formatting: 988 files processed (18 files fixed)

Review Notes:

  • This content was automatically processed and may require human review for accuracy
  • Check that the placement within the repository structure is appropriate
  • Verify that all technical details are correct and up-to-date
  • All .md files have been checked for proper formatting (headers, includes, etc.)

Bot Version: HackTricks News Bot v1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant