Sigma rule: AD Groups Or Users Enumeration Using PowerShell - PoshModule

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-cbcbeac40b74, updated 2023-01-20T00:00:00.000Z.

Rule

Title
AD Groups Or Users Enumeration Using PowerShell - PoshModule
Status
test
Level
low
Author
frack113
Date
2021-12-15
Modified
2023-01-20
File
rules/windows/powershell/powershell_module/posh_pm_susp_ad_group_reco.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Adversaries may attempt to find domain-level groups and permission settings.
The knowledge of domain-level permission groups can help adversaries determine which groups exist and which users belong to a particular group.
Adversaries may use this information to determine which users have elevated permissions, such as domain administrators.

Log source

product
windows
category
ps_module
definition
0ad03ef1-f21b-4a79-8ce8-e6900c54b65b

Detection

selection_ad_principal:
    - Payload|contains: 'get-ADPrincipalGroupMembership'
    - ContextInfo|contains: 'get-ADPrincipalGroupMembership'
selection_get_aduser:
    - Payload|contains|all:
          - get-aduser
          - '-f '
          - '-pr '
          - DoesNotRequirePreAuth
    - ContextInfo|contains|all:
          - get-aduser
          - '-f '
          - '-pr '
          - DoesNotRequirePreAuth
condition: 1 of selection_*

False positives (as the rule lists them)

  • Administrator script

Tags

  • attack.discovery
  • attack.t1069.001

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_module/posh_pm_susp_ad_group_reco.yml

Sources and licences

  • SigmaHQ

    "AD Groups Or Users Enumeration Using PowerShell - PoshModule" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_module/posh_pm_susp_ad_group_reco.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: AD Groups Or Users Enumeration Using PowerShell - PoshModule",
entity page, dataset version ref-cbcbeac40b74, updated 2023-01-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/815bfc17-7fc6-4908-a55e-2f37b98cedb4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 815bfc17-7fc6-4908-a55e-2f37b98cedb4, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.