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.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
François HubautCreated Wed Mar 05cdfa73b6-3c9d-4bb8-97f8-ddbd8921f5c5windows
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: selection
False Positives

Legitimate use of the library for administrative activity

Rule Metadata
Rule ID
cdfa73b6-3c9d-4bb8-97f8-ddbd8921f5c5
Status
experimental
Level
medium
Type
Detection
Created
Wed Mar 05
Path
rules/windows/powershell/powershell_script/posh_ps_potential_unconstrained_delegation_discovery.yml
Raw Tags
attack.reconnaissanceattack.discoveryattack.credential-accessattack.t1018attack.t1558attack.t1589.002
View on GitHub