Detectionmediumexperimental
Potential Unconstrained Delegation Discovery Via Get-ADComputer - ScriptBlock
Detects the use of the "Get-ADComputer" cmdlet in order to identify systems which are configured for unconstrained delegation.
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script
Definition
Requirements: Script Block Logging must be enable
Detection Logic
Detection Logic1 selector
detection:
selection:
ScriptBlockText|contains:
- '-Properties*TrustedForDelegation'
- '-Properties*TrustedToAuthForDelegation'
- '-Properties*msDS-AllowedToDelegateTo'
- '-Properties*PrincipalsAllowedToDelegateToAccount'
- '-LDAPFilter*(userAccountControl:1.2.840.113556.1.4.803:=524288)'
condition: selectionFalse Positives
Legitimate use of the library for administrative activity
MITRE ATT&CK
Rule Metadata
Rule ID
cdfa73b6-3c9d-4bb8-97f8-ddbd8921f5c5
Status
experimental
Level
medium
Type
Detection
Created
2025-03-05
Author
Path
rules/windows/powershell/powershell_script/posh_ps_potential_unconstrained_delegation_discovery.yml
Raw Tags
attack.reconnaissanceattack.discoveryattack.credential-accessattack.t1018attack.t1558attack.t1589.002