One flag, one bit, in the header of a .NET file was enough to get unsigned code past Windows user-mode code integrity on a locked-down Windows 11 S Mode machine. Google Project Zero published the details on 23 November 2026, along with the same trick working against VirtualBox’s process hardening.
In short: the .NET code integrity bypass works because clearing the executable image flag in an assembly’s PE header makes Windows refuse to map the file as an image, and .NET Framework 4 quietly falls back to loading it as data, where image-based checks never run. Microsoft fixed the Windows side (CVE-2026-108398) on 13 October 2026 and Oracle fixed VirtualBox (CVE-2026-87268) in September. One related route into Protected Process Light remains open by design.
- What is the .NET code integrity bypass?
- How does the one-bit bypass work?
- How does the VirtualBox variant work?
- Is the Protected Process Light route still open?
- Timeline
- How does it compare with earlier bypasses?
- Who is affected and how do you check exposure?
- How do you detect the .NET one-bit bypass?
- How do you mitigate it?
- What is still unknown?
- The bottom line
- Sources
What is the .NET code integrity bypass?
It is a loader mismatch between Windows and the .NET Framework 4 runtime, described by James Forshaw of Google Project Zero in a post titled “VirtualBox Process Hardening on Windows 2026 Edition”. Windows decides whether a file is a valid image, and when it says no, .NET loads the file another way and runs it anyway.
Code integrity is the Windows feature that checks a file’s signature before it can run. User-mode code integrity (UMCI) applies that check to ordinary programs and libraries, not just drivers. It is enforced through App Control for Business, formerly Windows Defender Application Control (WDAC), and through the locked-down Windows 11 S Mode.
Who found it?
James Forshaw, a long-time Windows researcher at Google Project Zero. The Hacker News reports he first presented the Windows bypass at the 44Con conference in September 2026. Project Zero says the bug was reported to Microsoft in late September and fixed in October, less than a month later.
What CVEs does it have?
There are two. CVE-2026-108398 is the Windows code integrity bypass in .NET Framework 4. Microsoft’s October 2026 .NET Framework release notes list it as a security feature bypass vulnerability, and The Hacker News reports a CVSS score of 8.8.
CVE-2026-87268 is the VirtualBox process hardening bypass on Windows hosts. The Hacker News reports that Oracle rates it 7.8, local, low privileges, no user interaction. We could not open Oracle’s advisory page to confirm the score, so treat it as reported.
How does the one-bit bypass work?
The idea is simple once you see the two loaders side by side. This section stays conceptual: there is no code here, and the full technical detail is in the Project Zero post.
Step 1: Windows refuses the file as an image
A PE file is the Portable Executable format Windows uses for programs and DLLs. Its header has a Characteristics field, and one flag in it, IMAGE_FILE_EXECUTABLE_IMAGE, marks the file as a runnable image. Normal programs and DLLs have it set.
When that flag is cleared, the Windows call that creates an image mapping fails with an invalid image format error. Project Zero notes that no checksum fix-up is needed after the change.
Step 2: .NET falls back to a flat load
When .NET Framework 4 loads an assembly from disk, it first asks Windows for a proper image mapping. If Windows answers that the file is not a valid image, the runtime falls back to mapping the file as plain read-only data, which Project Zero calls the flat layout.
The flat path skips image-based checks. The runtime then executes the assembly from that copy. In Forshaw’s words, this single bit change “is all you need to load an untrusted .NET assembly.”
Step 3: the policy check let it through
.NET is supposed to ask Windows Lockdown Policy (WLDP) whether code integrity is enforced before it takes the flat path. Project Zero found that check only stopped the load when the policy was neither off nor a configurable CI mode. Windows 11 S Mode returns exactly the combination of flags that slipped past that test.
Forshaw demonstrated it on Windows 11 S Mode by passing a modified assembly to RegAsm.exe, a signed .NET registration tool, with its unregister option. The fix changes the check so that any enforced lockdown policy blocks the fallback.
Why Forshaw did not report it at first
Project Zero says Forshaw first assumed the WLDP behaviour was by design. He reported it to Microsoft only after .NET developers said it was accidental. That detail matters: it is a reminder that “by design” behaviour in a loader is often just untested behaviour.
How does the VirtualBox variant work?
VirtualBox protects its VM processes on Windows with a feature called process hardening. Project Zero describes it as the mechanism that protects VirtualBox VM processes “from the user on the host”. It hooks the Windows call that creates image mappings and screens every DLL before it loads.
The screening code returned the same invalid image format status for files whose architecture did not match the host but which still contained code. A .NET assembly compiled as AnyCPU is built as a 32-bit x86 PE with code, so on a 64-bit host it hit that path. .NET then fell back to the flat load, exactly as on Windows.
What an attacker needs
The Hacker News summarises the prerequisites: local access to the Windows host and the ability to write a COM registration in the current user’s registry hive. COM, the Component Object Model, is the Windows system that lets programs load shared components by ID. When the user next starts a VM, VirtualBox loads the registered object and the attacker’s code runs inside the protected process.
This is not a guest-to-host escape. It is a way for a host user to get code into a process VirtualBox tries to protect from that same user.
How Oracle fixed it
Project Zero links two VirtualBox source commits. The first stops the hardening code from returning the invalid image format status, which closes the .NET fallback. The second uses an undocumented COM option to stop COM lookups in the current user hive, which removes the easy loading route.
Is the Protected Process Light route still open?
Yes, according to Project Zero. Protected Process Light (PPL) is a Windows mode that stops even administrators from tampering with certain processes, such as anti-malware services. The original Protected Process mode is not exploitable because its DLLs need page hashes in their signatures, which the .NET runtime DLLs lack.
PPL has no such requirement. Forshaw hijacked a COM object loaded by WerSecureFault.exe and reached PPL at the highest signer level without administrator rights. Project Zero says the October fix did not change PPL behaviour, so this route should still work.
Microsoft’s servicing criteria treat PPL bypasses as out of scope, so this is not expected to get a security patch. App Control (WDAC), by contrast, is a supported security boundary, which is why the UMCI case received a CVE.
Timeline
The 2026 bug is the latest chapter in a long series. Project Zero first broke VirtualBox process hardening in 2017.
| Date | Event | Source |
|---|---|---|
| August 2017 | Project Zero publishes three VirtualBox hardening bypasses | Project Zero |
| 2020 | COM runtime issue in VirtualBox reported | Project Zero |
| September 2026 | Windows bypass shown at 44Con; Oracle ships its fix in the September update | The Hacker News |
| Late September 2026 | Bug reported to Microsoft | Project Zero |
| 13 October 2026 | .NET Framework October cumulative update ships the fix | Microsoft |
| 23 November 2026 | Project Zero publishes the write-up | Project Zero |
Project Zero says the 2026 work found three new protected process bypasses plus a broken fix for the 2020 issue. The 23 November post covers only CVE-2026-87268 and the .NET behaviour behind it.
How does it compare with earlier bypasses?
The 2017 VirtualBox research used a related .NET idea: loading an assembly from a byte array through JScript. Project Zero says that approach led to Forshaw’s DotNetToJScript tool, which runs .NET code from script files.
| Case | Year | What it got past | Root cause | Fixed? |
|---|---|---|---|---|
| VirtualBox hardening bypasses | 2017 | VirtualBox process hardening | Several loader and COM gaps | Yes, at the time |
| .NET one-bit bypass, Windows | 2026 | UMCI on Windows 11 S Mode | .NET flat-load fallback plus a weak WLDP check | Yes, 13 October 2026 |
| .NET one-bit bypass, VirtualBox | 2026 | VirtualBox process hardening | Hook returned the status that triggers the fallback | Yes, September 2026 |
| .NET route into PPL | 2026 | Protected Process Light | Same fallback, PPL lacks page hash checks | No, out of scope |
| SignDrop | 2026 | CLFS log authentication | A new mitigation became the bug | No patch as of late November |
The pattern is the same one we saw in SignDrop, where Microsoft’s CLFS fix became the bug: security checks that sit in one layer get undone by a fallback in another. It also echoes Process Parameter Poisoning, where defenders trusted data that the attacker controlled at load time.
Who is affected and how do you check exposure?
Three groups should care.
Organisations using App Control or S Mode
If you rely on App Control for Business (WDAC) with UMCI, or ship devices in Windows 11 S Mode, unpatched .NET Framework 4 installs let a user run unsigned .NET code. Check that the October 2026 .NET Framework cumulative update is installed. Microsoft’s release notes list, for example:
| Windows version | .NET Framework | Update |
|---|---|---|
| Windows 11 26H2 | 3.5, 4.8.1 | KB5127694 |
| Windows 11 24H2 and 25H2 | 3.5, 4.8.1 | KB5127690 |
| Windows 11 23H2 | 3.5, 4.8.1 | KB5127692 |
| Windows Server 2025 | 3.5, 4.8.1 | KB5127690 |
| Windows Server 2022 | 3.5, 4.8.1 | KB5127693 |
| Windows 10 22H2 | 3.5, 4.8.1 | KB5127689 |
Microsoft notes that the operating system KB rows are only for update offering; the .NET Framework KB is what actually gets installed. Any later cumulative update also contains the fix.
VirtualBox users on Windows hosts
Shared Windows hosts where several people run VMs, such as training labs and developer workstations, are the realistic case. Update to the latest VirtualBox 7.2 build. The official changelog lists 7.2.18 on 15 September, 7.2.20 on 22 September and 7.2.22 on 20 October 2026, the last described as a maintenance release with security fixes.
Anyone relying on PPL to protect a security agent
Vendors and defenders who treat PPL as a hard wall around an EDR or anti-malware service should know that Project Zero considers it bypassable without administrator rights. For more on why agent self-protection is fragile, see our piece on the GodDamn EDR killer and its 61 vulnerable drivers.
How do you detect the .NET one-bit bypass?
Neither Project Zero nor The Hacker News publishes detection rules, indicators or ATT&CK mappings. The hunts below are our suggestions, built only from the behaviour the research describes.
File-level hunting
A .NET assembly with a CLR header but the executable image flag cleared is abnormal, and we would not expect a normal build process to produce one. If your EDR or file scanner exposes PE header fields, flag DLL and EXE files that carry .NET metadata but lack IMAGE_FILE_EXECUTABLE_IMAGE.
Process and registry hunting
- RegAsm.exe launched with its unregister option by a user, outside software installation, especially against a file in a user-writable folder. The closest ATT&CK technique defenders already track is System Binary Proxy Execution: Regsvcs/Regasm (T1218.009).
- New COM class registrations under the current user’s Classes key that point at DLLs in user-writable paths, followed by a VirtualBox VM start. This matches Component Object Model Hijacking (T1546.015).
- COM registrations for objects that WerSecureFault.exe loads, which is the PPL route Project Zero describes.
Log sources
Use process creation events (Windows event 4688 with command lines, or Sysmon event 1), registry change events (Sysmon events 12 and 13), and image load events (Sysmon event 7). Also review App Control audit and block events: a policy that never blocks anything may be in audit mode.
How do you mitigate it?
In priority order:
- Install the .NET Framework October 2026 cumulative update or any later one on every Windows system, starting with S Mode devices and machines under App Control policies.
- Update VirtualBox on Windows hosts to the latest 7.2 release and remove old installers from internal software shares.
- Confirm your App Control policy enforces UMCI rather than only auditing it. Project Zero notes that the vulnerable WLDP check only mattered when UMCI or the Dynamic Code Security option was on.
- Test the Dynamic Code Security option before enabling it. Project Zero warns it blocks all dynamic .NET code loading, including loading assemblies from byte arrays, and may break applications.
- Restrict who can write COM registrations on shared hosts and monitor the current user Classes key for new entries pointing at user-writable folders.
- Do not treat PPL as a security boundary in your threat model. Layer it with tamper protection, driver blocklists and alerting on agent health.
What is still unknown?
- The exact fixed VirtualBox build. The Hacker News names 7.2.18 as the fixed build in one place and lists 7.2.16 and 7.2.18 as affected in another. Oracle’s advisory was not reachable for this article, and the VirtualBox changelog does not mention hardening.
- How broad the AnyCPU condition is. The Hacker News says the VirtualBox check fails for any AnyCPU .NET file. Project Zero ties it to a 32-bit image with code loading on a 64-bit host.
- The other two bypasses. Project Zero says it found three new protected process bypasses in 2026 but describes only one in this post.
- Modern .NET. Both sources discuss .NET Framework 4 only. They say nothing about .NET 8 or later, so do not assume either way.
- The PPL route. Microsoft has not said whether it will ever change PPL loading behaviour.
The bottom line
The .NET code integrity bypass shows how a single fallback path can undo a signature check that everything else depends on. Both CVEs are patched and no attacks are reported, so the job is to confirm the October .NET update and a current VirtualBox build are actually deployed. The PPL route stays open, so do not rely on PPL alone to protect your security tools.
Sources
- Google Project Zero: VirtualBox Process Hardening on Windows 2026 Edition
- The Hacker News: Google Researcher Shows How a Single Bit Change in .NET Files Bypassed Windows Code Integrity
- Microsoft Learn: .NET Framework October 2026 cumulative update
- Oracle VirtualBox 7.2 changelog
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.