Possible Unconstrained Delegation Enumeration Through Get-ADComputer - ScriptBlock (via ps_script)
This rule detects the use of the "Get-ADComputer" cmdlet to identify systems which are configured for unconstrained delegation.
SigmamediumWindowsv1
sigma
possible-unconstrained-delegation-enumeration-through-get-adcomputer-scriptblock-via-ps-script
title: Possible Unconstrained Delegation Enumeration Through Get-ADComputer - ScriptBlock (via ps_script)
id: 8f7eddd5-89d9-5983-8d90-02ea4921025a
status: stable
description: This rule detects the use of the "Get-ADComputer" cmdlet to identify systems which are configured for unconstrained delegation.
references:
- https://attack.mitre.org/techniques/T1589/002/
- https://attack.mitre.org/techniques/T1558/
- https://attack.mitre.org/techniques/T1018/
- https://pentestlab.blog/2022/03/21/unconstrained-delegation/
- https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-adcomputer?view=windowsserver2022-ps
author: Huntrule Team
date: 2026-05-21
tags:
- attack.reconnaissance
- attack.discovery
- attack.credential-access
- attack.t1018
- attack.t1558
- attack.t1589.002
logsource:
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: selection
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.