Windows Exploitation Techniques: Dangling COM Object Registrations
A Microsoft bug, dubbed "Dark Elevator," allows privilege escalation on Windows systems. This vulnerability stems from a dangling COM object registration for the CrossDevice COM object, where a server DLL is missing. Microsoft has since fixed this issue, but a workaround exists: abusing custom COM marshaling. By sending a malicious COM object with a fake marshaler, an attacker can force an arbitrary DLL to be loaded into a privileged process, leading to code execution. The original vulnerability was exploited by a service called Shell Create Object Handler, which runs as SYSTEM but doesn't enable custom marshaling by default. A PowerShell script is provided to identify other potential dangling COM servers.
Summary written automatically in our own words from the original article, which belongs to its publisher and remains the reference. It may contain errors. Sources & data
