Sigma rule: Potential Unconstrained Delegation Discovery Via Get-ADComputer - ScriptBlock
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-17f7571cd311, updated 2025-03-05T00:00:00.000Z.
Rule
- Title
- Potential Unconstrained Delegation Discovery Via Get-ADComputer - ScriptBlock
- Status
- experimental
- Level
- medium
- Author
- frack113
- Date
- 2025-03-05
- File
- rules/windows/powershell/powershell_script/posh_ps_potential_unconstrained_delegation_discovery.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the use of the "Get-ADComputer" cmdlet in order to identify systems which are configured for unconstrained delegation.
Log source
- product
- windows
- category
- ps_script
- definition
- Requirements: Script Block Logging must be enable
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 (as the rule lists them)
- Legitimate use of the library for administrative activity
Tags
- attack.reconnaissance
- attack.discovery
- attack.credential-access
- attack.t1018
- attack.t1558
- attack.t1589.002
MITRE ATT&CK ids this rule names
References
- https://pentestlab.blog/2022/03/21/unconstrained-delegation/
- https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adcomputer?view=windowsserver2022-ps
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_potential_unconstrained_delegation_discovery.yml
Sources and licences
SigmaHQ
"Potential Unconstrained Delegation Discovery Via Get-ADComputer - ScriptBlock" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_script/posh_ps_potential_unconstrained_delegation_discovery.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Potential Unconstrained Delegation Discovery Via Get-ADComputer - ScriptBlock",
entity page, dataset version ref-17f7571cd311, updated 2025-03-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/cdfa73b6-3c9d-4bb8-97f8-ddbd8921f5c5 (accessed 2026-11-03).
Underlying source: SigmaHQ rule cdfa73b6-3c9d-4bb8-97f8-ddbd8921f5c5, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.