2022-12-02 18:10:43 +01:00
|
|
|
title: Alternate PowerShell Hosts - Image
|
2020-10-12 15:42:34 -04:00
|
|
|
id: fe6e002f-f244-4278-9263-20e4b593827f
|
2023-06-01 23:22:35 +02:00
|
|
|
status: deprecated
|
2022-10-26 09:42:26 +02:00
|
|
|
description: Detects alternate PowerShell hosts potentially bypassing detections looking for powershell.exe
|
|
|
|
|
references:
|
2023-02-07 14:33:56 +01:00
|
|
|
- https://threathunterplaybook.com/hunts/windows/190610-PwshAlternateHosts/notebook.html
|
2022-10-26 09:42:26 +02:00
|
|
|
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
|
2020-10-12 15:42:34 -04:00
|
|
|
date: 2019/09/12
|
2023-06-01 23:22:35 +02:00
|
|
|
modified: 2023/06/01
|
2020-10-12 15:42:34 -04:00
|
|
|
tags:
|
|
|
|
|
- attack.execution
|
|
|
|
|
- attack.t1059.001
|
|
|
|
|
logsource:
|
|
|
|
|
product: windows
|
2021-05-12 09:02:04 +02:00
|
|
|
category: image_load
|
2020-10-12 15:42:34 -04:00
|
|
|
detection:
|
2021-04-08 00:32:01 +02:00
|
|
|
selection:
|
2021-05-13 06:19:04 +02:00
|
|
|
Description: 'System.Management.Automation'
|
|
|
|
|
ImageLoaded|contains: 'System.Management.Automation'
|
2022-11-08 12:05:38 +01:00
|
|
|
filter_generic:
|
2021-12-04 10:57:13 +01:00
|
|
|
- Image|endswith:
|
2021-12-03 19:02:24 +01:00
|
|
|
- '\powershell.exe'
|
|
|
|
|
- '\mscorsvw.exe'
|
2021-12-04 10:57:13 +01:00
|
|
|
- Image|startswith:
|
|
|
|
|
- 'C:\Program Files (x86)\Microsoft Visual Studio\'
|
|
|
|
|
- 'C:\Program Files\Microsoft Visual Studio\'
|
2021-12-07 10:38:10 +01:00
|
|
|
- 'C:\Windows\System32\'
|
2022-02-21 18:43:18 +01:00
|
|
|
- 'C:\Program Files\Citrix\ConfigSync\'
|
2022-11-22 01:22:36 +01:00
|
|
|
- Image: 'C:\Program Files\PowerShell\7\pwsh.exe'
|
2022-11-08 12:05:38 +01:00
|
|
|
filter_aurora:
|
|
|
|
|
# This filter is to avoid a race condition FP with this specific ETW provider in aurora
|
|
|
|
|
Image: null
|
2022-11-08 12:10:20 +01:00
|
|
|
condition: selection and not 1 of filter_*
|
2020-10-12 15:42:34 -04:00
|
|
|
falsepositives:
|
|
|
|
|
- Unknown
|
2022-10-26 09:42:26 +02:00
|
|
|
level: low
|