whoami_execution
Description
Detects the execution of whoami, which is often used by attackers after exloitation / privilege escalation but rarely used by administrators License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
($selection.metadata.product_event_type = "1" and $selection.target.process.command_line = "whoami")
condition:
$selection