Skip to content

Authentication Coercion Check

Identifies Domain Controllers that expose authentication-coercion techniques and those with the Print Spooler service enabled.

ad-kit check coercion

Prerequisite

Requires a valid Standard User account (authenticated) and the Domain Controller hostname inventory from ad-kit enum.

Commands run

ad-kit runs several NetExec modules against the Domain Controller host list (dc-hostnames.txt):

nxc smb <targets> -u <username> -p <password> -M spooler
nxc smb <targets> -u <username> -p <password> -M coerce_plus
nxc smb <targets> -u <username> -p <password> -M webdav

What it checks

ad-kit reports whether the Print Spooler service is enabled (spooler), which coercion techniques are exposed (coerce_plus, such as PrinterBug, PetitPotam, DFSCoerce, and MSEven), and whether the WebClient service is enabled (webdav - WebDAV coercion).

How it works

Authentication coercion abuses legitimate Windows services and RPC interfaces to make a Domain Controller authenticate back to a host controlled by the attacker. Common techniques include PrinterBug (via the Print Spooler service), PetitPotam (via MS-EFSR), DFSCoerce (via MS-DFSNM), MSEven, and WebDAV.

Coercion by itself does not compromise the controller. Its value is the outbound NTLM authentication it produces, which can then be relayed to a service that accepts relayed authentication, such as a host without SMB signing or an Active Directory Certificate Services web enrolment endpoint.

Why it matters

A coercible Domain Controller is a source of authentication that can be turned into impersonation of its machine account through NTLM relay. When combined with a suitable relay target, this can lead to privilege escalation; for example, relaying a Domain Controller machine account to an unsecured AD CS endpoint can lead to domain compromise. Where the Print Spooler service is enabled, the PrinterBug technique is reported and Microsoft recommends disabling it on Domain Controllers.

Findings

Finding ID Title
COERCE-001 Domain Controllers Susceptible to Authentication Coercion

Tooling

References