Possible Active Directory Group Enumeration With Get-AdGroup (via ps_script)
This rule detects use of the "Get-AdGroup" cmdlet to enumerate Groups within Active Directory
SigmalowWindowsv1
sigma
possible-active-directory-group-enumeration-with-get-adgroup-via-ps-script
title: Possible Active Directory Group Enumeration With Get-AdGroup (via ps_script)
id: da9f9343-d4b8-59a1-a875-c450e78339af
status: stable
description: This rule detects use of the "Get-AdGroup" cmdlet to enumerate Groups within Active Directory
references:
- https://attack.mitre.org/techniques/T1069/002/
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1018/T1018.md
author: Huntrule Team
date: 2026-01-28
tags:
- attack.discovery
- attack.t1069.002
logsource:
product: windows
category: ps_script
definition: 'Requirements: Script Block Logging must be enabled'
detection:
selection:
ScriptBlockText|contains|all:
- 'Get-AdGroup '
- '-Filter'
condition: selection
falsepositives:
- Unknown
level: low
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.