Detection rules › Sigma
HackTool - PPID Spoofing SelectMyParent Tool Execution
Detects the use of parent process ID spoofing tools like Didier Stevens tool SelectMyParent
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Privilege Escalation | T1134.004 Access Token Manipulation: Parent PID Spoofing |
| Stealth | T1134.004 Access Token Manipulation: Parent PID Spoofing |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: HackTool - PPID Spoofing SelectMyParent Tool Execution
id: 52ff7941-8211-46f9-84f8-9903efb7077d
status: test
description: Detects the use of parent process ID spoofing tools like Didier Stevens tool SelectMyParent
references:
- https://pentestlab.blog/2020/02/24/parent-pid-spoofing/
- https://www.picussecurity.com/resource/blog/how-to-detect-parent-pid-ppid-spoofing-attacks
- https://www.ired.team/offensive-security/defense-evasion/parent-process-id-ppid-spoofing
- https://www.virustotal.com/gui/search/filename%253A*spoof*%2520filename%253A*ppid*/files
author: Florian Roth (Nextron Systems)
date: 2022-07-23
modified: 2024-11-23
tags:
- attack.privilege-escalation
- attack.stealth
- attack.t1134.004
logsource:
category: process_creation
product: windows
detection:
selection:
- Image|endswith: '\SelectMyParent.exe'
- CommandLine|contains:
- 'PPID-spoof'
- 'ppid_spoof'
- 'spoof-ppid'
- 'spoof_ppid'
- 'ppidspoof'
- 'spoofppid'
- 'spoofedppid'
- ' -spawnto '
- OriginalFileName|contains:
- 'PPID-spoof'
- 'ppid_spoof'
- 'spoof-ppid'
- 'spoof_ppid'
- 'ppidspoof'
- 'spoofppid'
- 'spoofedppid'
- Description: 'SelectMyParent'
- Hashes|contains:
- 'IMPHASH=04D974875BD225F00902B4CAD9AF3FBC'
- 'IMPHASH=A782AF154C9E743DDF3F3EB2B8F3D16E'
- 'IMPHASH=89059503D7FBF470E68F7E63313DA3AD'
- 'IMPHASH=CA28337632625C8281AB8A130B3D6BAD'
condition: selection
falsepositives:
- Unlikely
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
- Image|endswith: '\SelectMyParent.exe'
- CommandLine|contains:
- 'PPID-spoof'
- 'ppid_spoof'
- 'spoof-ppid'
- 'spoof_ppid'
- 'ppidspoof'
- 'spoofppid'
- 'spoofedppid'
- ' -spawnto '
- OriginalFileName|contains:
- 'PPID-spoof'
- 'ppid_spoof'
- 'spoof-ppid'
- 'spoof_ppid'
- 'ppidspoof'
- 'spoofppid'
- 'spoofedppid'
- Description: 'SelectMyParent'
- Hashes|contains:
- 'IMPHASH=04D974875BD225F00902B4CAD9AF3FBC'
- 'IMPHASH=A782AF154C9E743DDF3F3EB2B8F3D16E'
- 'IMPHASH=89059503D7FBF470E68F7E63313DA3AD'
- 'IMPHASH=CA28337632625C8281AB8A130B3D6BAD'
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 |
|---|---|---|
CommandLine | match |
|
Description | eq |
|
Hashes | match |
|
Image | ends_with |
|
OriginalFileName | match |
|