Potential Executable Run Itself As Sacrificial Process
A Sigma rule for process creation on Windows, from SigmaHQ’s threat hunting rules, by frack113.
low 1 ATT&CK technique 15 programs it names
What it looks for
detection:
filter_main_original_fn:
OriginalFileName:
- 'Cmd.Exe'
- 'CompatTelRunner.exe'
- 'Discord.exe'
- 'electron.exe'
- 'EXPLORER.EXE'
- 'httpd.exe'
- 'IE4UINIT.EXE'
- 'mmc.exe'
- 'MpCmdRun.exe'
- 'mscorsvw.exe'
- 'msiexec.exe'
- 'NGenTask.exe'
- 'OneDriveSetup.exe'
- 'PowerShell.EXE'
- 'REGSVR32.EXE'
- 'smss.exe'
- 'Spotify.exe'
- 'WerMgr'
filter_main_path:
Image|startswith:
- 'C:\Program Files\'
- 'C:\Program Files (x86)\'
filter_main_product:
Product:
- 'Avira'
- 'Evernote'
- 'Firefox'
- 'Microsoft Office'
- 'Ninite'
- 'Opera Browser Assistant Installer'
- 'Opera Installer'
- 'Sysinternals Sysmon'
selection:
Image|fieldref: 'ParentImage'
condition: 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 frack113, 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
T1055Process Injection