Skip to content

Delegation Check

Reviews Active Directory Kerberos delegation configuration and flags accounts configured with unconstrained delegation or constrained delegation with protocol transition, including any that are privileged.

ad-kit check delegation

Prerequisite

Requires a valid Standard User account (authenticated).

Commands run

ad-kit runs NetExec against the Domain Controller:

nxc ldap <dc_ip> -u <username> -p <password> --trusted-for-delegation
nxc ldap <dc_ip> -u <username> -p <password> --find-delegation

What it checks

ad-kit finds accounts configured with unconstrained delegation (--trusted-for-delegation) and accounts with constrained delegation and protocol transition (--find-delegation). It excludes Domain Controller machine accounts and the Azure AD Kerberos trust object, then flags delegated accounts that are also members of a monitored privileged group.

How it works

Kerberos delegation lets a service request tickets on behalf of a user:

  • Unconstrained delegation is the legacy mechanism. When a user authenticates to the delegated service, their Ticket Granting Ticket (TGT) is cached on the host and can be reused to request further tickets for that user. If the host is compromised, those cached TGTs can be extracted.
  • Constrained delegation limits which services the account can impersonate users to. Protocol transition (S4U2Self) lets the account first obtain a ticket for a user who has not yet authenticated to it, and then request services on their behalf.

Why it matters

Compromising a delegated account or its host can allow impersonation of the users who authenticate to it. Where a privileged user, or the delegated account itself, is privileged, this provides a path to privilege escalation and wider compromise. The preferred alternative is Resource-Based Constrained Delegation, or migrating to Group Managed Service Accounts.

Findings

Finding ID Title
DELEG-001 Unconstrained Delegation Enabled
DELEG-002 Kerberos Constrained Delegation with Protocol Transition Enabled
DELEG-003 Delegation Configured on Privileged Accounts

Tooling

References