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) →

Non-DC computers with constrained delegation count should be investigated

AD-DCOMP-03InfoActive DirectoryComputers

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

Run this check
Invoke-Maester -TestId AD-DCOMP-03
  • Constrained delegation (also known as “protocol transition” or S4U2Proxy) is safer than unconstrained delegation but still carries security risks. It allows a service to impersonate a user to specific services only, rather than any service in the domain.

Security Considerations:

  • Limited Scope: Safer than unconstrained but still enables impersonation
  • Configuration Complexity: Easy to misconfigure and accidentally grant excessive permissions
  • Attack Surface: Each computer with constrained delegation expands the attack surface
  • Legacy Protocol: Some implementations may fall back to less secure methods

Operational

  1. Minimize Usage:

    • Use only where absolutely necessary
    • Regular review of all constrained delegation configurations
    • Document business justification for each instance
  2. Secure Configuration:

    • Limit to specific SPNs (Service Principal Names)
    • Use protocol transition only when required
    • Regular auditing of delegation settings
  3. Consider Modern Alternatives:

    • Resource-Based Constrained Delegation: More flexible and easier to manage
    • Group Managed Service Accounts (gMSA): Automatic password management
    • Managed Identity: For cloud and hybrid scenarios

This test counts non-DC computers with the TrustedToAuthForDelegation flag enabled, which indicates:

  • Constrained delegation is configured
  • Protocol transition may be enabled
  • Test-MtAdComputerUnconstrainedDelegationCount - Overall unconstrained delegation
  • Test-MtAdComputerNonDcUnconstrainedDelegationCount - Critical non-DC unconstrained delegation
  • Test-MtAdUserDelegationConfiguredCount - User account delegation settings
Every attribute of this check
FieldValue
Test IDAD-DCOMP-03
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureComputers
AreaAuthentication
Resource typeComputer
MITRE ATT&CKT1558 Steal or Forge Kerberos Tickets, T1550.003 Pass the Ticket
PowerShell testTest-MtAdComputerNonDcConstrainedDelegationCount
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:computer:ReadProperty, ActiveDirectory:Ldap:nTDSDSA:ReadProperty