world

One Bit in .NET Files Bypassed Windows Code Integrity and VirtualBox

Google Project Zero showed how clearing a single .NET PE header bit bypassed Windows UMCI (CVE-2026-108398) and VirtualBox hardening, with PPL still exposed.

One Bit in .NET Files Bypassed Windows Code Integrity and VirtualBox

Google Project Zero researcher James Forshaw has published technical details showing how a fallback path in .NET Framework 4 bypassed both Oracle VirtualBox process hardening and Windows User Mode Code Integrity (UMCI). As The Hacker News reports, clearing a single bit in a .NET assembly header was enough to load untrusted code past OS-level integrity gates—and an adjacent Protected Process Light (PPL) path remains open even after October's patch.

What Happened

Forshaw demonstrated that when Windows fails to map a .NET assembly as a standard executable image, .NET Framework 4 falls back to loading a plain memory copy of the file, bypassing OS image verification checks. By clearing the IMAGE_FILE_EXECUTABLE_IMAGE flag in the PE header—a single-bit modification—and triggering COM hijacking, he loaded untrusted code inside Windows 11 S Mode (CVE-2026-108398, CVSS 8.8) and inside protected Oracle VirtualBox VM processes (CVE-2026-87268, CVSS 7.8).

Key Details and Patch Status

Both vendors shipped fixes before Forshaw's write-up went public on November 23, though with a notable caveat:

  • Windows Code Integrity (CVE-2026-108398): Microsoft patched the .NET policy check logic error on October 13 (for example, KB5127694 on Windows 11 26H2). It requires a local, low-privilege user and a host process willing to load the assembly.
  • Oracle VirtualBox (CVE-2026-87268): VirtualBox's syscall monitor rejected AnyCPU .NET binaries with the exact error that triggered .NET's memory-copy fallback. Oracle patched this in VirtualBox 7.2.18 on September 15 (affecting 7.2.16 and earlier).
  • Protected Process Light (PPL) gap: By hijacking a COM object loaded by WerSecureFault.exe, Forshaw injected test code into a top-tier PPL process without admin rights. According to the researcher, October's fix addressed UMCI policy checks but left the PPL loading route unchanged, with no separate CVE assigned.

Context and Why Now

Modern Windows security relies heavily on kernel-enforced boundaries—UMCI for restricting arbitrary user-mode binaries and PPL for shielding anti-malware and crash-reporting processes even from administrators. However, managed runtimes like .NET Framework 4 sit between the OS loader and application logic, carrying decades-old compatibility fallbacks. When an OS or hypervisor hook rejects a binary, the runtime's desire to "keep things running" via an in-memory loader silently undermines the OS boundary.

Macro and Micro Consequences

At the macro level, this disclosure highlights the fragility of layered user-mode hardening when legacy runtimes maintain silent fallback paths. Security teams cannot assume UMCI or process-hardening hooks cover managed assemblies equally across every loading vector.

At the micro level, Windows administrators and .NET maintainers have immediate checks to run:

  • Verify patch levels: Confirm VirtualBox hosts run 7.2.18 or newer and Windows endpoints have the October 13 .NET Framework 4 KB applied.
  • Audit COM hijacking surfaces: Because both bypasses relied on per-user COM registration, monitoring HKCU\Software\Classes\CLSID modifications remains essential for detecting local privilege or integrity escalation.

Winners and Losers

Winners are defenders and EDR vendors who gain a clear blueprint for spotting memory-fallback loading and per-user COM hijacking into PPL processes. Losers are organizations relying strictly on Windows S Mode or VirtualBox process isolation as hard local-user containment boundaries without monitoring runtime fallbacks.

What to Watch Next

  • Microsoft's PPL stance: Whether Microsoft revisits WerSecureFault.exe or .NET runtime page-hash requirements for PPL in a future Patch Tuesday.
  • Managed-runtime loader audits: Whether researchers uncover similar single-bit or fallback-path bypasses in other cross-platform runtimes running under strict OS policies.

// sources

// WebZona Studio products

Need a product or service that does not exist yet?

Pitch your idea in our "50 Hours" program — every month we build one community idea free for everyone. Or explore our released products.

// comments (0)

// no comments yet.