Cyber Risks · Google Project Zero

Windows Exploitation Tricks: Relaying DCOM Authentication

Summary: Google Project Zero's James Forshaw detailed a technique for relaying DCOM authentication locally, building on his 2015 issue 325 (fixed as CVE-2015-2370) and the later RottenPotato and RemotePotato exploits, the latter unpatched as of October 2021. The method abuses COM marshaling's OBJREF structure and the CoGetInstanceFromIStorage API to make a privileged service unmarshal an attacker-supplied object, then works around RPCSS's IsPortOpen firewall check by spoofing the image filename in the PEB so the process appears to be svchost.exe.

Key Takeaway: RemotePotato remained unpatched as of October 2021, and this variant removes its requirement for an external machine, letting an attacker relay privileged authentication to LDAP or SMB entirely from the same host.

Read the original at Google Project Zero ↗

Topics
Vulnerabilities & Patching
Mentions
CVE-2015-2370
Related