2020-06-29 18:42:35 +00:00
|
|
|
title: Suspicious PowerShell Parent Process
|
2020-03-20 23:26:30 +00:00
|
|
|
id: 754ed792-634f-40ae-b3bc-e0448d33f695
|
2020-03-21 11:19:01 +00:00
|
|
|
description: Detects a suspicious parents of powershell.exe
|
2020-03-20 23:26:30 +00:00
|
|
|
status: experimental
|
|
|
|
references:
|
|
|
|
- https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse?slide=26
|
|
|
|
author: Teymur Kheirkhabarov, Harish Segar (rule)
|
|
|
|
date: 2020/03/20
|
|
|
|
tags:
|
2020-03-21 11:19:01 +00:00
|
|
|
- attack.execution
|
2020-07-18 01:53:46 +00:00
|
|
|
- attack.t1059.001
|
2020-08-28 14:14:26 +00:00
|
|
|
- attack.t1086 # an old one
|
2020-03-20 23:26:30 +00:00
|
|
|
logsource:
|
2020-06-29 18:42:35 +00:00
|
|
|
category: process_creation
|
2020-03-20 23:26:30 +00:00
|
|
|
product: windows
|
|
|
|
detection:
|
|
|
|
selection_image1:
|
2020-06-29 19:24:47 +00:00
|
|
|
- ParentImage|endswith:
|
2020-03-20 23:26:30 +00:00
|
|
|
- '\mshta.exe'
|
|
|
|
- '\rundll32.exe'
|
|
|
|
- '\regsvr32.exe'
|
|
|
|
- '\services.exe'
|
|
|
|
- '\winword.exe'
|
|
|
|
- '\wmiprvse.exe'
|
|
|
|
- '\powerpnt.exe'
|
|
|
|
- '\excel.exe'
|
|
|
|
- '\msaccess.exe'
|
|
|
|
- '\mspub.exe'
|
|
|
|
- '\visio.exe'
|
|
|
|
- '\outlook.exe'
|
|
|
|
- '\amigo.exe'
|
|
|
|
- '\chrome.exe'
|
|
|
|
- '\firefox.exe'
|
|
|
|
- '\iexplore.exe'
|
|
|
|
- '\microsoftedgecp.exe'
|
|
|
|
- '\microsoftedge.exe'
|
|
|
|
- '\browser.exe'
|
|
|
|
- '\vivaldi.exe'
|
|
|
|
- '\safari.exe'
|
|
|
|
- '\sqlagent.exe'
|
|
|
|
- '\sqlserver.exe'
|
|
|
|
- '\sqlservr.exe'
|
|
|
|
- '\w3wp.exe'
|
|
|
|
- '\httpd.exe'
|
|
|
|
- '\nginx.exe'
|
|
|
|
- '\php-cgi.exe'
|
|
|
|
- '\jbosssvc.exe'
|
2020-03-21 11:19:01 +00:00
|
|
|
- "MicrosoftEdgeSH.exe"
|
2020-06-29 19:24:47 +00:00
|
|
|
- ParentImage|contains: "tomcat"
|
|
|
|
selection_powershell:
|
2020-03-21 11:19:01 +00:00
|
|
|
- CommandLine|contains:
|
|
|
|
- "powershell"
|
|
|
|
- "pwsh"
|
|
|
|
- Description: "Windows PowerShell"
|
|
|
|
- Product: "PowerShell Core 6"
|
2020-06-29 19:24:47 +00:00
|
|
|
condition: all of them
|
2020-03-20 23:26:30 +00:00
|
|
|
falsepositives:
|
2020-03-21 11:19:01 +00:00
|
|
|
- Other scripts
|
|
|
|
level: medium
|