Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Computers with unconstrained delegation count should be investigated

AD-DCOMP-01InfoActive DirectoryComputers

Part of Active Directory · Active Directory · Computers · All checks

Run this check
Invoke-Maester -TestId AD-DCOMP-01
  • Unconstrained delegation is one of the most dangerous configurations in Active Directory. When enabled on a computer, it allows services on that computer to impersonate authenticated users to ANY service on ANY computer in the domain.

Security Risks:

  • Complete Impersonation: Attackers can impersonate any user who authenticates to the computer
  • Lateral Movement: Compromising one computer with unconstrained delegation enables access to all domain resources
  • Privilege Escalation: Can be used to escalate from standard user to domain admin
  • Ticket Theft: Attackers can harvest TGTs from memory on these computers

Operational

  1. Eliminate unconstrained delegation:

    • Replace with constrained delegation or resource-based constrained delegation
    • Audit all computers with this setting
    • Prioritize non-DC computers for remediation
  2. Protect computers that require delegation:

    • Limit to absolute minimum necessary
    • Place in isolated OU with strict access controls
    • Monitor for compromise indicators
  3. Use alternatives:

    • Constrained Delegation: Limits impersonation to specific services
    • Resource-Based Constrained Delegation: More flexible and secure approach
    • Protocol Transition: When combined with constrained delegation

This test counts computers with the TrustedForDelegation flag enabled and categorizes them by:

  • Domain Controllers vs. non-DC computers
  • Total count and percentage
  • Test-MtAdComputerNonDcUnconstrainedDelegationCount - Focuses on non-DC computers (critical risk)
  • Test-MtAdComputerNonDcConstrainedDelegationCount - Reviews constrained delegation
  • Test-MtAdUserDelegationConfiguredCount - Reviews user account delegation
Every attribute of this check
FieldValue
Test IDAD-DCOMP-01
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureComputers
AreaAuthentication
Resource typeComputer
MITRE ATT&CKT1558 Steal or Forge Kerberos Tickets, T1550.003 Pass the Ticket
PowerShell testTest-MtAdComputerUnconstrainedDelegationCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty, ActiveDirectory:Ldap:nTDSDSA:ReadProperty