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 .
Source link







