Potential Suspicious Execution From GUID Like Folder Names
A Sigma rule for process creation on Windows, from SigmaHQ’s threat hunting rules, by Nasreddine Bencherchali (Nextron Systems).
low 1 ATT&CK technique 2 programs it names
What it looks for
detection:
filter_main_driver_inst:
Image: 'C:\Windows\System32\drvinst.exe'
filter_main_image_guid:
Image|contains|all:
- '\{'
- '}\'
filter_main_msiexec:
Image:
- 'C:\Windows\System32\msiexec.exe'
- 'C:\Windows\SysWOW64\msiexec.exe'
filter_main_null:
Image: null
selection_folder:
CommandLine|contains:
- '\AppData\Roaming\'
- '\AppData\Local\Temp\'
selection_guid:
CommandLine|contains|all:
- '\{'
- '}\'
condition: all of selection_* and not 1 of filter*
The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Nasreddine Bencherchali (Nextron Systems), under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.
None of the everyday examples and documented commands on CmdID’s program pages trips it. To see whether a command line does, paste it into CmdID.
Programs and files it names
ATT&CK
T1027Obfuscated Files or Information