Files
blue-team-tools/rules/windows/powershell/powershell_alternate_powershell_hosts.yml
T

45 lines
1.2 KiB
YAML
Raw Normal View History

action: global
title: Alternate PowerShell Hosts
2019-12-19 23:56:36 +01:00
id: 64e8e417-c19a-475a-8d19-98ea705394cc
2019-10-24 15:48:38 +02:00
description: Detects alternate PowerShell hosts potentially bypassing detections looking for powershell.exe
status: experimental
date: 2019/08/11
modified: 2021/06/01
2019-10-24 15:48:38 +02:00
author: Roberto Rodriguez @Cyb3rWard0g
references:
2021-05-22 01:03:23 -03:00
- https://threathunterplaybook.com/notebooks/windows/02_execution/WIN-190815181010.html
tags:
- attack.execution
2020-06-16 14:46:08 -06:00
- attack.t1059.001
- attack.t1086 # an old one
falsepositives:
- Programs using PowerShell directly without invocation of a dedicated interpreter
- MSP Detection Searcher
- Citrix ConfigSync.ps1
level: medium
detection:
filter:
- ContextInfo: 'powershell.exe'
- Message: 'powershell.exe'
# Both fields contain key=value pairs where the key HostApplication is relevant but
# can't be referred directly as event field.
condition: selection and not filter
---
2019-10-24 15:48:38 +02:00
logsource:
product: windows
service: powershell
detection:
2020-06-16 14:46:08 -06:00
selection:
2019-10-24 15:48:38 +02:00
EventID:
- 4103
2020-02-02 12:54:56 +01:00
ContextInfo: '*'
---
logsource:
product: windows
service: powershell-classic
detection:
selection:
EventID:
- 400
ContextInfo: '*'