suspicious_command_line_contains_azure_tokencachedat_as_argument_via_cmdline
Description
TokenCache.dat is a clear-text JSON file containing the AccessKey for the current Azure session. License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
(re.regex($selection.target.process.command_line, `.*TokenCache\.dat.*`) and ($selection.metadata.product_event_type = "4688" or $selection.metadata.product_event_type = "1"))
condition:
$selection