Detection rules › Sigma
Suspicious PowerShell Parent Process
Detects a suspicious or uncommon parent processes of PowerShell
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1059.001 Command and Scripting Interpreter: PowerShell |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
Stages and Predicates
Stage 1: all of selection_parent
or:
ParentImage|endswith: '\MicrosoftEdgeSH.exe'
ParentImage|endswith: '\amigo.exe'
ParentImage|endswith: '\browser.exe'
ParentImage|endswith: '\chrome.exe'
ParentImage|endswith: '\firefox.exe'
ParentImage|endswith: '\httpd.exe'
ParentImage|endswith: '\iexplore.exe'
ParentImage|endswith: '\jbosssvc.exe'
ParentImage|endswith: '\microsoftedge.exe'
ParentImage|endswith: '\microsoftedgecp.exe'
ParentImage|endswith: '\mshta.exe'
ParentImage|endswith: '\nginx.exe'
ParentImage|endswith: '\outlook.exe'
ParentImage|endswith: '\php-cgi.exe'
ParentImage|endswith: '\regsvr32.exe'
ParentImage|endswith: '\rundll32.exe'
ParentImage|endswith: '\safari.exe'
ParentImage|endswith: '\services.exe'
ParentImage|endswith: '\sqlagent.exe'
ParentImage|endswith: '\sqlserver.exe'
ParentImage|endswith: '\sqlservr.exe'
ParentImage|endswith: '\vivaldi.exe'
ParentImage|endswith: '\w3wp.exe'
ParentImage|contains: tomcat
Stage 2: all of selection_powershell
or:
CommandLine|contains: '/c powershell'
CommandLine|contains: '/c pwsh'
Description: 'Windows PowerShell'
Image|endswith: '\powershell.exe'
Image|endswith: '\pwsh.exe'
OriginalFileName: PowerShell.EXE
OriginalFileName: pwsh.dll
Product: 'PowerShell Core 6'
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 |
|
Image | ends_with |
|
OriginalFileName | eq |
|
ParentImage | ends_with |
|
ParentImage | match |
|
Product | eq |
|