The Hacker News · 2026-11-24 13:02
Google Researcher Shows How a Single Bit Change in .NET Files Bypassed Windows Code Integrity

A quirk in how the .NET Framework loads a program file let a local attacker run untrusted code past two separate protections on Windows built to block it, Google Project Zero researcher James Forshaw showed in a write-up published yesterday.
The same loading behavior bypassed Oracle VirtualBox's process hardening on Windows hosts, tracked as CVE-2026-87268, and Windows code integrity, tracked as CVE-2026-108398.
Oracle fixed the VirtualBox flaw in September, and Microsoft fixed the Windows one on October 13, both before the write-up appeared.
VirtualBox on Windows monitors the system calls that load program files into its virtual machine processes, so a less-trusted user on the same computer cannot push code into them. Forshaw got past that watch through the .NET Framework.
The framework can run a .NET program file from a plain copy in memory when the normal way of loading it, as an executable image, fails. Version 4 of the framework takes that fallback on one specific error, and the memory copy skips the image checks a loaded program would face.
The VirtualBox check returned that error for any .NET file compiled as AnyCPU, a form meant to run on any processor, so an unchanged file loaded through the path the hardening never inspects.
To get the file loaded while a virtual machine was started, he registered a COM object in the current user's settings that a protected VirtualBox process would pull in, a method known as COM hijacking. He set out the mechanism in his technical analysis.
Oracle rates the flaw, CVE-2026-87268, as a local problem that needs low privileges and no user interaction, scores it 7.8, and lists VirtualBox 7.2.16 on Windows hosts as affected. Its security advisory says a successful attack can result in the "takeover of Oracle VM VirtualBox."
The code runs inside the protected VirtualBox process. It is not a break out of a guest virtual machine onto the host, and the attacker begins as an ordinary user on that host.
The same idea worked against Windows' own code-integrity checks, which decide what user-mode code is allowed to run. There is no VirtualBox hook here, only the system call that maps a file as an image.
The researcher found that clearing a single bit in a .NET file's header, the IMAGE_FILE_EXECUTABLE_IMAGE flag, made that call reject the file while .NET still loaded and ran it.
"This single bit change is all you need to load an untrusted .NET assembly," he wrote. He tried it on Windows 11 S Mode, which enables User Mode Code Integrity (UMCI), the policy that limits which user-mode programs can run. A logic error in .NET's own policy check let the file load even with UMCI enforced.
The flaw, CVE-2026-108398, works through the .NET Framework version 4 loading path and needs a program willing to load the assembly. It is not a way to seize any Windows machine over the internet.
Microsoft rates it a local, low-privilege security-feature bypass, scores it 8.8, and fixed it on October 13. The company lists it as publicly disclosed but not used in attacks.
The same file reached a more sensitive target as well. Protected Process Light, or PPL, is a kind of Windows process that ordinary programs, even ones with administrator rights, are not meant to enter. By hijacking a COM object that WerSecureFault.exe loads, he ran his test code inside a PPL process at the highest protection level without administrator rights.
The older Protected Process type resisted the technique because the .NET runtime files lack the page hashes it requires. The October fix corrects the policy check for UMCI but does not change loading for protected processes, so that PPL route should still work, according to the researcher. It carries no separate CVE.
What to patch
On Windows hosts, update VirtualBox to a build that carries the September fixes. The affected versions are 7.2.16 and 7.2.18, and 7.2.18 shipped on September 15 with that set. An upstream code fix is not the same as a released binary, so check the running version rather than assume an older build already has it.
.NET systems need the October 13 update that matches the exact Windows and .NET Framework version in use, not one shared package. The update release notes list the right KB for each. On Windows 11 version 26H2, for example, it is KB5127694.
| Flaw | Affected | Fixed in |
|---|---|---|
| CVE-2026-87268 (VirtualBox) | VirtualBox 7.2.16, Windows hosts | Oracle's September update, build 7.2.18 |
| CVE-2026-108398 (.NET Framework) | .NET Framework 4 on Windows, UMCI case tested on Windows 11 S Mode | October 13 update, per-version KB |
Forshaw first presented the Windows code-integrity bypass at the 44Con conference in September, having judged it fell outside Microsoft's rules for what gets fixed. After .NET developers told him the behavior he had counted on was accidental, he reported it in late September. The fix arrived in October's Patch Tuesday, less than a month later.
Found this article interesting? Follow us on Google News, Twitter and LinkedIn to read more exclusive content we post.