[w0lff4ng@site]: ~/cheat-sheets$ ./info
File: /home/w0lff4ng/cheat-sheets/enumeracion-delegacion
Access: (0644/-rw-r--r--) Uid: (1000/w0lff4ng) Gid: (100/users)
Modify: 2026-10-21
[w0lff4ng@site]: ~/cheat-sheets$ cd enumeracion-delegacion/█
Enumeración de delegación
Advertencia
El requisito previo para la elevación mediante delegación sin restricciones es tener acceso de administrador a la máquina.
Advertencia
La delegación restringida requiere un useraccountcontrol con el valor TRUSTED_TO_AUTH_FOR_DELEGATION.
Unconstrained delegation
Servidores con delegación sin restricciones habilitada:
Get-DomainComputer -Unconstrained | select -ExpandProperty name
Get-DomainComputer -Unconstrained | select cn,logoncount,dnshostname,serviceprincipalnameConstrained delegation
Usuarios con delegación restringida habilitada:
Get-DomainUser -TrustedToAuth
Get-DomainUser -TrustedToAuth | select name,useraccountcontrol,msds-allowedtodelegateto,useraccountcontrolServidores con delegación restringida habilitada:
Get-DomainComputer -TrustedToAuth
Get-DomainComputer -TrustedToAuth | select samaccountname,samaccounttype,msds-allowedtodelegateto