Sigma rule: Group Membership Reconnaissance Via Whoami.EXE
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3f94d7d1c445, updated 2023-02-28T00:00:00.000Z.
Rule
- Title
- Group Membership Reconnaissance Via Whoami.EXE
- Status
- test
- Level
- medium
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-02-28
- File
- rules/windows/process_creation/proc_creation_win_whoami_groups_discovery.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the execution of whoami.exe with the /group command line flag to show group membership for the current user, account type, security identifiers (SID), and attributes.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\whoami.exe'
- OriginalFileName: 'whoami.exe'
selection_cli:
CommandLine|contains:
- ' /groups'
- ' -groups'
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.discovery
- attack.t1033
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/process_creation/proc_creation_win_whoami_groups_discovery.yml
Sources and licences
SigmaHQ
"Group Membership Reconnaissance Via Whoami.EXE" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_whoami_groups_discovery.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Group Membership Reconnaissance Via Whoami.EXE",
entity page, dataset version ref-3f94d7d1c445, updated 2023-02-28T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/bd8b828d-0dca-48e1-8a63-8a58ecf2644f (accessed 2026-11-03).
Underlying source: SigmaHQ rule bd8b828d-0dca-48e1-8a63-8a58ecf2644f, 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.