Sigma rule: Suspicious Get Local Groups Information

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e60076646a6e, updated 2025-08-22T00:00:00.000Z.

Rule

Title
Suspicious Get Local Groups Information
Status
test
Level
low
Author
frack113
Date
2021-12-12
Modified
2025-08-22
File
rules/windows/powershell/powershell_module/posh_pm_susp_local_group_reco.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the use of PowerShell modules and cmdlets to gather local group information.
Adversaries may use local system permission groups to determine which groups exist and which users belong to a particular group such as the local administrators group.

Log source

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

Detection

selection_localgroup:
    - Payload|contains:
          - 'get-localgroup '
          - 'get-localgroupmember '
    - ContextInfo|contains:
          - 'get-localgroup '
          - 'get-localgroupmember '
selection_wmi_module:
    - Payload|contains:
          - 'get-wmiobject '
          - 'gwmi '
          - 'get-ciminstance '
          - 'gcim '
    - ContextInfo|contains|all:
          - 'get-wmiobject '
          - 'gwmi '
          - 'get-ciminstance '
          - 'gcim '
selection_wmi_class:
    - Payload|contains: 'win32_group'
    - ContextInfo|contains: 'win32_group'
condition: selection_localgroup or all of selection_wmi_*

False positives (as the rule lists them)

  • Administrator script

Tags

  • attack.discovery
  • attack.t1069.001

MITRE ATT&CK ids this rule names

Related rules

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_local_group_reco.yml

Sources and licences

  • SigmaHQ

    "Suspicious Get Local Groups Information" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/powershell/powershell_module/posh_pm_susp_local_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: Suspicious Get Local Groups Information",
entity page, dataset version ref-e60076646a6e, updated 2025-08-22T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/cef24b90-dddc-4ae1-a09a-8764872f69fc (accessed 2026-11-03).
Underlying source: SigmaHQ rule cef24b90-dddc-4ae1-a09a-8764872f69fc, 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.