Detectionlowtest

Active Directory Group Enumeration With Get-AdGroup

Detects usage of the "Get-AdGroup" cmdlet to enumerate Groups within Active Directory

Open in Detection LabConvert ruleBuild Package
François HubautCreated 2022-03-17Updated 2022-11-178c3a6607-b7dc-4f0d-a646-ef38c00b76eewindows
Log Source
WindowsPowerShell Script
ProductWindows← raw: windows
CategoryPowerShell Script← raw: ps_script

Definition

Requirements: Script Block Logging must be enabled

Detection Logic
Detection Logic1 selector
detection:
    selection:
        ScriptBlockText|contains|all:
            - 'Get-AdGroup '
            - '-Filter'
    condition: selection
False Positives
Unknown

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

MITRE ATT&CK
Rule Metadata
Rule ID
8c3a6607-b7dc-4f0d-a646-ef38c00b76ee
Status
test
Level
low
Type
Detection
Created
2022-03-17
Modified
2022-11-17
Path
rules/windows/powershell/powershell_script/posh_ps_get_adgroup.yml
Raw Tags
attack.discoveryattack.t1069.002
View on GitHub