2020-01-11 00:33:50 +01:00
|
|
|
|
title: Remote PowerShell Session
|
2021-09-21 09:48:50 +02:00
|
|
|
|
id: 96b9f619-aa91-478f-bacb-c3e50f8df575
|
2019-10-24 15:48:38 +02:00
|
|
|
|
description: Detects remote PowerShell sessions
|
2021-08-31 13:44:54 +02:00
|
|
|
|
status: test
|
2019-10-24 15:48:38 +02:00
|
|
|
|
date: 2019/08/10
|
2021-09-21 09:48:50 +02:00
|
|
|
|
modified: 2021/09/21
|
2019-10-24 15:48:38 +02:00
|
|
|
|
author: Roberto Rodriguez @Cyb3rWard0g
|
|
|
|
|
|
references:
|
2021-05-22 01:03:49 -03:00
|
|
|
|
- https://threathunterplaybook.com/notebooks/windows/02_execution/WIN-190511223310.html
|
2020-01-11 00:33:50 +01:00
|
|
|
|
tags:
|
|
|
|
|
|
- attack.execution
|
2020-06-16 14:46:08 -06:00
|
|
|
|
- attack.t1059.001
|
2021-08-22 13:57:56 +02:00
|
|
|
|
- attack.t1086 # an old one
|
2020-08-24 00:01:50 +00:00
|
|
|
|
- attack.lateral_movement
|
|
|
|
|
|
- attack.t1021.006
|
2021-08-22 13:57:56 +02:00
|
|
|
|
- attack.t1028 # an old one
|
2019-10-24 15:48:38 +02:00
|
|
|
|
logsource:
|
|
|
|
|
|
product: windows
|
|
|
|
|
|
service: powershell
|
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:
|
2021-08-31 13:44:54 +02:00
|
|
|
|
EventID: 4103
|
|
|
|
|
|
ContextInfo|contains|all:
|
|
|
|
|
|
- ' = ServerRemoteHost ' # HostName: 'ServerRemoteHost' french : Nom d’hôte =
|
|
|
|
|
|
- 'wsmprovhost.exe' # HostApplication|contains: 'wsmprovhost.exe' french Application hôte =
|
2019-10-24 15:48:38 +02:00
|
|
|
|
condition: selection
|
2021-09-21 09:48:50 +02:00
|
|
|
|
falsepositives:
|
|
|
|
|
|
- Legitimate use remote PowerShell sessions
|
|
|
|
|
|
level: high
|