possible_cobaltstrike_psexec_filenames_via_audit_part_1
Description
CobaltStrike uses a executables with 7 random alphanumeric characters by default (i.e. 28a3fe2.exe) License: https://github.com/Neo23x0/sigma/blob/master/LICENSE.Detection.Rules.md.
Query · yara_l
events:
((re.regex($logsource.target.process.command_line, `\..*\\\\[A-Za-z0-9]{7}\\\.[Ee][Xx][Ee]`) and re.regex($logsource.target.process.command_line, `\..*\\\\\..*[0-9]\..*\\\.[Ee][Xx][Ee]`) and $logsource.metadata.product_event_type = "7045") and not (re.regex($logsource.target.process.command_line, `\..*64\\\.[Ee][Xx][Ee]`)))
condition:
$logsource