Detectionlowtest

Active Directory Computers Enumeration With Get-AdComputer

Detects usage of the "Get-AdComputer" to enumerate Computers or properties within Active Directory.

Convert In Phoenix Studio

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

Launch
François HubautCreated Thu Mar 17Updated Sat Jul 0836bed6b2-e9a0-4fff-beeb-413a92b86138windows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic2 selectors
detection:
    selection_cmdlet:
        ScriptBlockText|contains: 'Get-AdComputer '
    selection_option:
        ScriptBlockText|contains:
            - '-Filter '
            - '-LDAPFilter '
            - '-Properties '
    condition: all of selection_*
False Positives
Unknown

False positive likelihood has not been assessed. Additional context may be needed during triage.

Rule Metadata
Rule ID
36bed6b2-e9a0-4fff-beeb-413a92b86138
Status
test
Level
low
Type
Detection
Created
Thu Mar 17
Modified
Sat Jul 08
Path
rules/windows/powershell/powershell_script/posh_ps_get_adcomputer.yml
Raw Tags
attack.discoveryattack.t1018attack.t1087.002
View on GitHub