{"id":"cef24b90-dddc-4ae1-a09a-8764872f69fc","title":"Suspicious Get Local Groups Information","description":"Detects the use of PowerShell modules and cmdlets to gather local group information.\nAdversaries 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.\n","author":"frack113","status":"test","level":"low","date":"2021-12-12","modified":"2025-08-22","tags":["attack.discovery","attack.t1069.001"],"technique_ids":["T1069.001"],"logsource":{"product":"windows","category":"ps_module","definition":"0ad03ef1-f21b-4a79-8ce8-e6900c54b65b"},"falsepositives":["Administrator script"],"references":["https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1069.001/T1069.001.md"],"source_path":"rules/windows/powershell/powershell_module/posh_pm_susp_local_group_reco.yml","source_sha256":"ccc02f66a85103d1ae70f774cfab3af3a0960ea18d7c6acb0c3f5771b6a138b3","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/powershell/powershell_module/posh_pm_susp_local_group_reco.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Suspicious Get Local Groups Information\nid: cef24b90-dddc-4ae1-a09a-8764872f69fc\nrelated:\n    - id: fa6a5a45-3ee2-4529-aa14-ee5edc9e29cb\n      type: similar\nstatus: test\ndescription: |\n    Detects the use of PowerShell modules and cmdlets to gather local group information.\n    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.\nreferences:\n    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1069.001/T1069.001.md\nauthor: frack113\ndate: 2021-12-12\nmodified: 2025-08-22\ntags:\n    - attack.discovery\n    - attack.t1069.001\nlogsource:\n    product: windows\n    category: ps_module\n    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b\ndetection:\n    selection_localgroup:\n        - Payload|contains:\n              - 'get-localgroup '\n              - 'get-localgroupmember '\n        - ContextInfo|contains:\n              - 'get-localgroup '\n              - 'get-localgroupmember '\n    selection_wmi_module:\n        - Payload|contains:\n              - 'get-wmiobject '\n              - 'gwmi '\n              - 'get-ciminstance '\n              - 'gcim '\n        - ContextInfo|contains|all:\n              - 'get-wmiobject '\n              - 'gwmi '\n              - 'get-ciminstance '\n              - 'gcim '\n    selection_wmi_class:\n        - Payload|contains: 'win32_group'\n        - ContextInfo|contains: 'win32_group'\n    condition: selection_localgroup or all of selection_wmi_*\nfalsepositives:\n    - Administrator script\nlevel: low\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1069.001","id":"T1069.001","name":"Local Groups","page":"techniques/enterprise/T1069.001/"}],"data_path":"data/detection-rules/cef24b90-dddc-4ae1-a09a-8764872f69fc.json","kind":"sigma"}
