Detection rules › Sigma
Potential Executable Run Itself As Sacrificial Process
Detects when an executable launches an identical instance of itself, a behavior often used to create a suspended “sacrificial” process for code injection or evasion. Investigate for indicators such as the process being started in suspended mode, rapid parent termination, memory manipulation (e.g., WriteProcessMemory, CreateRemoteThread), or unsigned binaries. Review command-line arguments, process ancestry, and network activity to confirm if this is legitimate behavior or process injection activity.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Privilege Escalation | T1055 Process Injection |
| Stealth | T1055 Process Injection |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: Potential Executable Run Itself As Sacrificial Process
id: bafd07c6-3ea5-454a-b4be-058fbb073de7
status: experimental
description: |
Detects when an executable launches an identical instance of itself, a behavior often used to create a suspended “sacrificial” process for code injection or evasion.
Investigate for indicators such as the process being started in suspended mode, rapid parent termination, memory manipulation (e.g., WriteProcessMemory, CreateRemoteThread), or unsigned binaries.
Review command-line arguments, process ancestry, and network activity to confirm if this is legitimate behavior or process injection activity.
references:
- https://www.joesandbox.com/analysis/1605063/0/html
author: frack113
date: 2025-10-17
tags:
- attack.privilege-escalation
- attack.stealth
- attack.t1055
- detection.threat-hunting
logsource:
category: process_creation
product: windows
detection:
selection:
Image|fieldref: ParentImage
filter_main_path:
Image|startswith:
- 'C:\Program Files\'
- 'C:\Program Files (x86)\'
filter_main_original_fn:
OriginalFileName:
- 'Cmd.Exe'
- 'CompatTelRunner.exe'
- 'Discord.exe'
- 'electron.exe' # Vs Code
- '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_product:
Product:
- 'Avira'
- 'Evernote'
- 'Firefox'
- 'Microsoft Office'
- 'Ninite'
- 'Opera Browser Assistant Installer'
- 'Opera Installer'
- 'Sysinternals Sysmon'
condition: selection and not 1 of filter_*
falsepositives:
- Legitimate software that may launch a new instance of itself, especially updaters or installers. Investigate each alert and apply whitelisting as needed.
# Increase the level after some initial tuning in your environment
level: low
Stages and Predicates
Stage 0: condition
selection and not 1 of filter_*Stage 1: selection
selection:
Image|fieldref: ParentImage
Stage 2: not filter_*
filter_main_path:
Image|startswith:
- 'C:\Program Files\'
- 'C:\Program Files (x86)\'
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_product:
Product:
- 'Avira'
- 'Evernote'
- 'Firefox'
- 'Microsoft Office'
- 'Ninite'
- 'Opera Browser Assistant Installer'
- 'Opera Installer'
- 'Sysinternals Sysmon'
Exclusions
Top-level NOT(...) conjuncts: predicates this rule actively suppresses.
| Field | Kind | Excluded values |
|---|---|---|
Image | starts_with | C:\Program Files (x86)\ |
Image | starts_with | C:\Program Files\ |
OriginalFileName | eq | Cmd.Exe |
OriginalFileName | eq | CompatTelRunner.exe |
OriginalFileName | eq | Discord.exe |
OriginalFileName | eq | EXPLORER.EXE |
OriginalFileName | eq | IE4UINIT.EXE |
OriginalFileName | eq | MpCmdRun.exe |
OriginalFileName | eq | NGenTask.exe |
OriginalFileName | eq | OneDriveSetup.exe |
OriginalFileName | eq | PowerShell.EXE |
OriginalFileName | eq | REGSVR32.EXE |
OriginalFileName | eq | Spotify.exe |
OriginalFileName | eq | WerMgr |
OriginalFileName | eq | electron.exe |
OriginalFileName | eq | httpd.exe |
OriginalFileName | eq | mmc.exe |
OriginalFileName | eq | mscorsvw.exe |
OriginalFileName | eq | msiexec.exe |
OriginalFileName | eq | smss.exe |
Product | eq | Avira |
Product | eq | Evernote |
Product | eq | Firefox |
Product | eq | Microsoft Office |
Product | eq | Ninite |
Product | eq | Opera Browser Assistant Installer |
Product | eq | Opera Installer |
Product | eq | Sysinternals Sysmon |
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Image | cross_field_compare |
|