{"id":"bd8b828d-0dca-48e1-8a63-8a58ecf2644f","title":"Group Membership Reconnaissance Via Whoami.EXE","description":"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.","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"medium","date":"2023-02-28","modified":"","tags":["attack.discovery","attack.t1033"],"technique_ids":["T1033"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unknown"],"references":["https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/whoami"],"source_path":"rules/windows/process_creation/proc_creation_win_whoami_groups_discovery.yml","source_sha256":"9811f214ced5d77bc91b9ba4656513fd488a4c98e25f058fd43c3b86cb190cc1","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_whoami_groups_discovery.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Group Membership Reconnaissance Via Whoami.EXE\nid: bd8b828d-0dca-48e1-8a63-8a58ecf2644f\nstatus: test\ndescription: 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.\nreferences:\n    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/whoami\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2023-02-28\ntags:\n    - attack.discovery\n    - attack.t1033\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_img:\n        - Image|endswith: '\\whoami.exe'\n        - OriginalFileName: 'whoami.exe'\n    selection_cli:\n        CommandLine|contains:\n            - ' /groups'\n            - ' -groups'\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1033","id":"T1033","name":"System Owner/User Discovery","page":"techniques/enterprise/T1033/"}],"data_path":"data/detection-rules/bd8b828d-0dca-48e1-8a63-8a58ecf2644f.json","kind":"sigma"}
