Files
blue-team-tools/rules/windows/pipe_created/sysmon_alternate_powershell_hosts_pipe.yml
T
2021-11-27 11:33:14 +01:00

35 lines
920 B
YAML

title: Alternate PowerShell Hosts Pipe
id: 58cb02d5-78ce-4692-b3e1-dce850aae41a
status: test
description: Detects alternate PowerShell hosts potentially bypassing detections looking for powershell.exe
author: Roberto Rodriguez @Cyb3rWard0g
references:
- https://threathunterplaybook.com/notebooks/windows/02_execution/WIN-190815181010.html
date: 2019/09/12
modified: 2021/11/27
logsource:
product: windows
category: pipe_created
detection:
selection:
PipeName|startswith: '\PSHost'
filter1:
Image|endswith:
- '\powershell.exe'
- '\powershell_ise.exe'
filter2:
Image:
condition: selection and not filter1 and not filter2
fields:
- ComputerName
- User
- Image
- PipeName
falsepositives:
- Programs using PowerShell directly without invocation of a dedicated interpreter.
level: medium
tags:
- attack.execution
- attack.t1086 # an old one
- attack.t1059.001