Skip to content
Access control Write-up Advanced

Hello: I’m your Domain Admin and I want to authenticate against you

Default DCOM permissions on Domain Controllers allow members of the Distributed COM Users or Performance Log Users groups to remotely activate a DCOM application that runs as the interactive user, coercing that user's authentication. An attacker could relay the captured authentication to another service, such as ADCS, to escalate privileges.

ap Follow

Published on decoder.cloud

Remember my previous article? My insatiable curiosity led me to explore the default DCOM permissions on Domain Controllers during a quiet evening…

ap (@decoder_it), on decoder.cloud

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the DCOM application 'sppui' (SPPUIObjectInteractive) is configured to run as the interactive user and its default launch/activation permissions allow remote members of the Distributed COM Users and Performance Log Users groups, leading to authentication coercion.

Impact

An attacker in the Distributed COM Users or Performance Log Users group could coerce and relay the authentication of a highly privileged user (such as a Domain Admin) logged on to a Domain Controller, potentially leading to domain compromise; however, the attack requires membership in these groups and a logged-on privileged user.

What the attacker needed

Membership in Distributed COM Users or Performance Log…; A privileged user logged on to the target server; Network access to the target DCOM service

The fix

Microsoft fixed this DCOM permissions bug in July 2024 Patch Tuesday with CVE-2024-38061.

How it was found

  1. Identify DCOM applications with default permissions that run as the interactive user and are remotely activatable by low-privileged groups.
  2. Use a tool (SilverPotato) to trigger the DCOM activation from a remote machine, specifying the target Domain Controller's IP and the attacker's relay IP.
  3. Capture the NTLM authentication of the user logged on to the target (e.g., a Domain Admin).
  4. Relay the captured authentication to a service without SMB signing (e.g., ADCS SMB) to dump credentials or perform further actions.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

DCOM is a Windows technology that lets programs on different computers talk to each other. Some DCOM applications run with the permissions of the user who is logged on locally. If an attacker can make such an application start remotely, it may try to authenticate to a server the attacker controls, leaking the logged-on user's credentials. The report shows that certain low-privileged groups can do this on Domain Controllers, potentially capturing a Domain Admin's authentication.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by ap

View all

5 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.