whoami_execution_part_1
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 = "4688" and re.regex($selection.target.process.command_line, `.*\\whoami\.exe`))
condition:
$selection