Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Google Project Zero 13 min read Deep dive hardMaster

VirtualBox Process Hardening on Windows 2026 Edition: What’s a Single Bit Between Friends?

The .NET Framework v4 loader falls back from an image-section mapping (SEC_IMAGE) to a plain data mapping (FlatImageLayout) whenever NtCreateSection fails with STATUS_INVALID_IMAGE_FORMAT, so assemblies can execute without passing image-based DLL verification. In VirtualBox's hardened processes (CVE-2026-87268), the NtCreateSection hook returned exactly that status for any AnyCPU assembly, because the 32-bit x86 PE contains executable code and triggers VERR_LDR_ARCH_MISMATCH. Combined with COM hijacking, this loaded arbitrary code into the protected process. The same trick reaches Windows code integrity (WDAC, protected processes) by clearing a single bit, IMAGE_FILE_EXECUTABLE_IMAGE: the kernel then refuses to map the file as an image but .NET ignores the flag, so the attack is blocked only when a WLDP check finds UMCI or Dynamic Code Security enforced.

Assumes: Windows PE file formatWindows NT system calls and sections.NET assembly loadingCOM registration and hijacking

Related posts

  • Virtualization, Responsible Disclosure, and CVE-2026-99312

    DigitalOcean easyNovice

    A KVM flaw on AMD hosts with nested virtualization let root inside a guest read and write physical host memory. Reported by Terra Security researcher Oren Yomtov, it was demonstrated on a DigitalOcean Droplet by reading about 127 GB of host RAM, and on a bare-metal server by writing 32 chosen bytes into a live host kernel page. The root cause is a stale page-table pointer left behind when a reset pulls a vCPU out of a nested VM, a gap missed by the 2022 fix for CVE-2022-3344. Self-hosters should upgrade to kernel 7.3.5, 6.18.64 or 6.12.118, or set kvm_amd nested=0 until they can. DigitalOcean live-patched its fleet.

  • Windows Exploitation Techniques: Dangling COM Object Registrations

    Google Project Zero hardMaster

    CVE-2026-66804 is an incomplete fix for the “Dark Elevator” COM privilege-escalation bug: a dangling CrossDevice COM registration points to a missing DLL under C:\ProgramData, a writable location where any user can plant a DLL for a privileged process to load. With the earlier InstallService route fixed, the exploit instead abuses custom COM marshaling, using a fake IMarshal to return the dangling CLSID and delivering the marshaled object to the SYSTEM-hosted Shell Create Object Handler, which permits custom marshaling and unmarshals during activation through ICreateObject. Working exploit code and a PowerShell script for finding other in-process COM registrations with missing DLLs are included; the same technique can also target buggy custom unmarshalers.

  • Letting users block injected third-party DLLs in Firefox

    Mozilla Hacks hardMaster

    Firefox 110 lets Windows users block specific injected third-party DLLs from the about:third-party page, which also flags DLLs linked to past crashes. Telemetry shows over 70% of Windows users have such DLLs loaded and just over 2% of Windows crash reports land in third-party code. Blocking works because a launcher process starts the browser suspended and passes the blocklist through a file mapping handle written with WriteProcessMemory(). A homegrown hooker intercepts NtMapViewOfSection() using either a 5-byte hot-patch on x86 or a 13-byte r11 jump plus trampoline on x64, with complications around relative jumps, Control Flow Guard, unwind info and Import Address Table injection.

  • Docker patches Java4Shell and the NGINX HTTP/2 with Docker Hardened Images

    Docker mediumAdept

    Java4Shell (CVE-2026-114938) is a HotSpot memory-corruption bug in the AVX-512 VBMI Base64 decoding intrinsic that writes up to 62 bytes past a heap buffer, enabling heap disclosure and pre-auth RCE in apps like Keycloak and Jenkins on Java 17.0.6+ running on affected x86-64 CPUs. Exposure requires a vulnerable Java version, an AVX-512 VBMI host, and attacker-controlled Base64 input. The guidance covers checking CPU flags and runtime versions in shell-less images, tracking which vendor builds are fixed, and applying -XX:-UseBASE64Intrinsics as a stopgap. That flag must be set via JAVA_TOOL_OPTIONS or JDK_JAVA_OPTIONS, not JAVA_OPTS, with care around FIPS images, Java 8 and child JVMs, then verified on the running process; NGINX HTTP/2 fixes ship in 1.30.7 and 1.31.9.

  • Well, That Wasn't Fun: October 16 '26

    Fly.io mediumAdept

    A Linux kernel bug in IPv4 checksum offload validation let a guest VM direct the host to write its computed checksum into an already-trusted IPv4 header field. This enabled a firewall bypass and a 32-byte out-of-bounds read that could leak host memory or packets from neighboring VMs. XDP rules ran too early to catch the rewrite, and disabling offload required a reboot anyway, so Fly.io patched and rebooted its entire fleet in 10 hours. Reboots were sequenced in waves so no Managed Postgres cluster lost both nodes (17 waves in iad), with some hosts stuck in BIOS or lost to a failed power supply. The write-up also covers the decision to label the work as 'maintenance' rather than disclose vulnerability, the move of incident comms to the exec team, and advice to encrypt internal traffic, scope and expire agent credentials, and rehearse rotation.

The quest for software engineering knowledge.

Look:
Layout: