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

28 lines
1005 B
YAML
Raw Normal View History

title: Alternate PowerShell Hosts
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
2021-08-18 13:56:14 +02:00
status: test
2019-10-24 15:48:38 +02:00
date: 2019/08/11
2021-10-16 08:05:15 +02:00
modified: 2021/10/16
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
2019-10-24 15:48:38 +02:00
logsource:
product: windows
2021-10-16 08:05:15 +02:00
category: ps_module
2021-10-09 16:42:42 +02:00
definition: PowerShell Module Logging must be enabled
2019-10-24 15:48:38 +02:00
detection:
2020-06-16 14:46:08 -06:00
selection:
2020-02-02 12:54:56 +01:00
ContextInfo: '*'
2021-08-16 12:56:24 +02:00
filter:
2021-08-18 15:18:29 +02:00
ContextInfo|contains: 'powershell.exe' # Host Application=...powershell.exe or Application hote=...powershell.exe in French Win10 event
2021-08-16 12:56:24 +02:00
condition: selection and not filter
falsepositives:
- Programs using PowerShell directly without invocation of a dedicated interpreter
- MSP Detection Searcher
- Citrix ConfigSync.ps1
level: medium