<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx" -->

---
title: Windows Exploitation Techniques: Dangling COM Object...
description: A privilege escalation vulnerability, CVE-2026-66804, is detailed as an incomplete fix for an earlier bug dubbed 'Dark Elevator' (CVE-2026-50343). The root...
canonical: https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Windows Exploitation Techniques: Dangling COM Object Registrations | daily.dev
og:description: A privilege escalation vulnerability, CVE-2026-66804, is detailed as an incomplete fix for an earlier bug dubbed 'Dark Elevator' (CVE-2026-50343). The root...
og:url: https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx
og:image: https://api.daily.dev/og/posts/JFQ36jpZx.png
og:image:alt: Windows Exploitation Techniques: Dangling COM Object Registrations
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Windows Exploitation Techniques: Dangling COM Object Registrations

**[Project Zero](https://daily.dev/sources/projectzero)** · 9 min read · 0 upvotes · 0 comments

## Summary

A privilege escalation vulnerability, CVE-2026-66804, is detailed as an incomplete fix for an earlier bug dubbed 'Dark Elevator' (CVE-2026-50343). The root cause is a dangling COM object registration for the CrossDevice CLSID, whose registered DLL path in %PROGRAMDATA% doesn't exist and is writable by any user. The writeup walks through abusing custom COM marshaling (via a fake IMarshal implementation) to force a privileged SYSTEM process to load an attacker-controlled DLL, identifying the Shell Create Object Handler COM service as a target that permits custom marshaling, starting it via a scheduled task, and using CoGetInstanceFromIStorage with the ICreateObject interface to trigger DLL loading for privilege escalation. A PowerShell script using OleViewDotNet and NtObjectManager is provided to hunt for other dangling COM registrations system-wide.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://projectzero.google/2026/09/windows-dangling-com.html>

## Questions this post answers

### What is CVE-2026-66804 and how is it related to CVE-2026-50343?

CVE-2026-66804 is a Windows privilege escalation bug caused by an incomplete fix for CVE-2026-50343 (dubbed 'Dark Elevator'). The root cause in both cases is a dangling COM object registration for the CrossDevice CLSID {E9F83CF2-E0C0-4CA7-AF01-E90C70BEF496}, whose registered DLL at %PROGRAMDATA%\CrossDevice\CrossDevice.Streaming.Source.dll does not exist, allowing any user to plant a malicious DLL there since the InstallService abuse path used previously was patched.

_Security teams tracking incomplete patches like this rely on daily.dev to stay ahead of follow-up CVEs._

### How can custom COM marshaling be abused to load an arbitrary DLL into a privileged Windows process?

An attacker implements a custom IMarshal interface whose GetUnmarshalClass method returns the CLSID of a dangling COM registration instead of the real object's CLSID. When this Custom OBJREF is unmarshaled in the target process, the COM runtime looks up that CLSID and loads its DLL automatically before any method call, achieving code execution if the target process allows custom marshaling (does not set EOAC_NO_CUSTOM_MARSHAL or COMGLB_UNMARSHALING_POLICY_STRONG).

_Developers auditing COM-based attack surfaces can track exploitation techniques like this on daily.dev._

### How do you start and interact with the Windows Shell Create Object Handler COM service (CLSID 135fd325-45b7-4c30-89f8-4386961669f0) for testing?

This SYSTEM-level COM service is not directly instantiable via CoCreateInstance because it has no registered service; instead it must be launched via the \Microsoft\Windows\Shell\CreateObjectTask scheduled task, which any normal user can start. Before creating the object, you must also create a global named event called ShellCreateObjectTaskReadyEvent, otherwise the task exits immediately without exporting the COM service.

_Researchers reverse-engineering Windows COM services use daily.dev to keep up with techniques like this._

## Similar posts on daily.dev

- [Using DCOM objects for remote command execution](https://daily.dev/posts/using-dcom-objects-for-remote-command-execution-tiooqzacf) · Securelist · 0 upvotes · 0 comments
- [Critical Netlogon RCE Flaw Actively Exploited Against Windows Domain Controllers](https://daily.dev/posts/critical-netlogon-rce-flaw-actively-exploited-against-windows-domain-controllers-nrltrsik8) · Orca Security Blog · 0 upvotes · 0 comments
- [Exploitation of KnowledgeDeliver via ViewState Deserialization Vulnerability](https://daily.dev/posts/exploitation-of-knowledgedeliver-via-viewstate-deserialization-vulnerability-cdxn7gdbl) · Google Cloud · 0 upvotes · 0 comments
- [Researcher creates workaround for Microsoft Defender security patch](https://daily.dev/posts/researcher-creates-workaround-for-microsoft-defender-security-patch-30gt7sysk) · CSO Online · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#windows](https://daily.dev/tags/windows)

[View this post on daily.dev](https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Windows Exploitation Techniques: Dangling COM Object Registrations","url":"https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx"},"datePublished":"2026-09-21T17:15:26.231Z","dateModified":"2026-09-21T17:15:50.862Z","description":"A privilege escalation vulnerability, CVE-2026-66804, is detailed as an incomplete fix for an earlier bug dubbed 'Dark Elevator' (CVE-2026-50343). The root...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b216c784c5a6665462be9791804b24ad?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b216c784c5a6665462be9791804b24ad?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Project Zero","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Project Zero","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/36643542e8f34b1cbc6adb6494f91925","url":"https://daily.dev/sources/projectzero"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,windows","timeRequired":"PT9M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Project Zero","item":"https://daily.dev/sources/projectzero"},{"@type":"ListItem","position":3,"name":"Windows Exploitation Techniques: Dangling COM Object Registrations"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/windows-exploitation-techniques-dangling-com-object-registrations-jfq36jpzx#faq","mainEntity":[{"@type":"Question","name":"What is CVE-2026-66804 and how is it related to CVE-2026-50343?","acceptedAnswer":{"@type":"Answer","text":"CVE-2026-66804 is a Windows privilege escalation bug caused by an incomplete fix for CVE-2026-50343 (dubbed 'Dark Elevator'). The root cause in both cases is a dangling COM object registration for the CrossDevice CLSID {E9F83CF2-E0C0-4CA7-AF01-E90C70BEF496}, whose registered DLL at %PROGRAMDATA%\\CrossDevice\\CrossDevice.Streaming.Source.dll does not exist, allowing any user to plant a malicious DLL there since the InstallService abuse path used previously was patched. Security teams tracking incomplete patches like this rely on daily.dev to stay ahead of follow-up CVEs."}},{"@type":"Question","name":"How can custom COM marshaling be abused to load an arbitrary DLL into a privileged Windows process?","acceptedAnswer":{"@type":"Answer","text":"An attacker implements a custom IMarshal interface whose GetUnmarshalClass method returns the CLSID of a dangling COM registration instead of the real object's CLSID. When this Custom OBJREF is unmarshaled in the target process, the COM runtime looks up that CLSID and loads its DLL automatically before any method call, achieving code execution if the target process allows custom marshaling (does not set EOAC_NO_CUSTOM_MARSHAL or COMGLB_UNMARSHALING_POLICY_STRONG). Developers auditing COM-based attack surfaces can track exploitation techniques like this on daily.dev."}},{"@type":"Question","name":"How do you start and interact with the Windows Shell Create Object Handler COM service (CLSID 135fd325-45b7-4c30-89f8-4386961669f0) for testing?","acceptedAnswer":{"@type":"Answer","text":"This SYSTEM-level COM service is not directly instantiable via CoCreateInstance because it has no registered service; instead it must be launched via the \\Microsoft\\Windows\\Shell\\CreateObjectTask scheduled task, which any normal user can start. Before creating the object, you must also create a global named event called ShellCreateObjectTaskReadyEvent, otherwise the task exits immediately without exporting the COM service. Researchers reverse-engineering Windows COM services use daily.dev to keep up with techniques like this."}}]}
```

