Suspicious Enumerate All Information With Whoami.EXE (via process_creation)
This rule detects the execution of "whoami.exe" with the "/all" flag
SigmamediumWindowsv1
sigma
suspicious-enumerate-all-information-with-whoami-exe-via-process-creation
title: Suspicious Enumerate All Information With Whoami.EXE (via process_creation)
id: 0ce91f8f-4daa-5bdd-ae38-db5507e66d51
status: stable
description: This rule detects the execution of "whoami.exe" with the "/all" flag
references:
- https://attack.mitre.org/techniques/T1033/
- https://brica.de/alerts/alert/public/1247926/agent-tesla-keylogger-delivered-inside-a-power-iso-daa-archive/
- https://app.any.run/tasks/7eaba74e-c1ea-400f-9c17-5e30eee89906/
- https://www.youtube.com/watch?v=DsJ9ByX84o4&t=6s
author: Huntrule Team
date: 2026-02-09
tags:
- attack.discovery
- attack.t1033
- car.2016-03-001
logsource:
category: process_creation
product: windows
detection:
selection_main_img:
- Image|endswith: '\whoami.exe'
- OriginalFileName: 'whoami.exe'
selection_main_cli:
CommandLine|contains|windash: ' -all'
condition: all of selection_main_*
falsepositives:
- Unknown
level: medium
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.