Skip to content

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

Google Project Zero 7 min read Deep dive hardMaster

Windows Exploitation Techniques: Dangling COM Object Registrations

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.

Assumes: Windows COM activationDCOM marshaling and OBJREFWindows registry ACLsWindows privilege escalation

Related posts

  • Dark Elevator: Windows Install Service Local Privilege Escalation (CVE-2026-50343)

    Calif hardMaster

    Windows 11's SYSTEM `InstallService` can be made to load an attacker-controlled DLL by chaining a user-writable `StaticPluginMap` registry key with a Windows-shipped CrossDevice COM class whose `InprocServer32` DLL path sits under `C:\ProgramData`. Writing a plugin-map entry for the CrossDevice CLSID, planting `CrossDevice.Streaming.Source.dll` at that path, and triggering plugin activation gives any normal user an interactive `NT AUTHORITY\SYSTEM` shell. The exploit is deterministic, needs no admin rights, UAC consent, reboot, or service-control permissions, and was fixed as CVE-2026-50343 on 2026-07-14.

  • Apple MIE exploitation challenge

    Calif hardMaster

    A public bypass of Apple MIE on macOS 26.4.1 chains two kernel bugs: an SMB create-context type confusion (CVE-2026-64704) in which a malicious server replies with a lease context and the parser reinterprets the client's Resolve ID object as a lease, and a WebDAV information leak (CVE-2026-64699) where the kext copies the full requested length from an uninitialized buffer after accepting an empty successful HTTP response. Together they can produce kernel read/write primitives and code execution; fixes are in macOS 26.6. The post withholds the full exploit until Black Hat USA and invites humans, AI, or human-AI teams to build a root exploit against MIE using the two bugs.

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

    Google Project Zero hardMaster

    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.

  • 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.

  • 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.

The quest for software engineering knowledge.

Look:
Layout: