Threat Intelligence

One Flipped Bit in a .NET File Let Attackers Slip Past Windows Code Integrity

The Hacker News · 24 Nov 2026
Key Takeaway Patch VirtualBox and .NET Framework on Windows machines now, and do not treat code integrity controls as a complete barrier against a local user.

A loading quirk in the .NET Framework let a local attacker run untrusted code past two Windows protections built to stop it, according to a write-up by Google Project Zero researcher James Forshaw. The behaviour affected Oracle VirtualBox's process hardening on Windows hosts (CVE-2026-87268) and Windows code integrity (CVE-2026-108398). Oracle fixed its flaw in September and Microsoft fixed its flaw on October 13, both before the write-up was published.

The root cause is a fallback. When the normal way of loading a .NET file as an executable image fails, version 4 of the framework can run the program from a plain copy in memory, which skips the image checks. VirtualBox's check returned the error that triggers this fallback for .NET files compiled as AnyCPU, so an unchanged file loaded through a path the hardening never inspected. Forshaw used COM hijacking, registering an object in the current user's settings, to get the file loaded. The code ran inside the protected VirtualBox process. It was not a guest-to-host escape, and the attacker started as an ordinary user.

The Windows bypass was simpler. Clearing a single bit in a .NET file's header made the system call that maps images reject the file, while .NET still loaded and ran it. Forshaw tested this on Windows 11 S Mode with User Mode Code Integrity enforced, and a logic error in .NET's policy check let the file load. Oracle scores the VirtualBox flaw 7.8 and Microsoft scores the Windows flaw 8.8. Microsoft lists it as publicly disclosed but not used in attacks.

Forshaw also ran test code inside a Protected Process Light (PPL) at the highest protection level without administrator rights. The October fix corrects the UMCI policy check but does not change loading for protected processes, so he says that route should still work. It has no separate CVE.

Why it matters

Organisations that rely on application control such as UMCI or S Mode to stop unapproved programs on shared or locked-down Windows machines had a control that a one-bit change could defeat. The assumption that a blocked file cannot run through a trusted runtime fails here, because the runtime itself loaded it. The unpatched PPL route also means the October update does not fully close the protected-process risk, so local-user compromise still needs layered defences.

What to do

  • Update VirtualBox on Windows hosts to 7.2.18 or later, which shipped on September 15 with the fixes.
  • Check the running VirtualBox version rather than assuming an older build already has the fix.
  • Install the October 13 update that matches the exact Windows and .NET Framework version in use, using the KB listed in the release notes.
  • Review the current user's COM registrations for unexpected entries, since the technique relied on COM hijacking.
Windows NET Framework VirtualBox Code Integrity Patch Management Project Zero

Summarised by CISO AI from The Hacker News, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.