2021-05-20 17:02:17 +02:00
|
|
|
title: Remote PowerShell Sessions Network Connections (WinRM)
|
2019-12-19 23:56:36 +01:00
|
|
|
id: 13acf386-b8c6-4fe0-9a6e-c4756b974698
|
2022-10-09 16:54:04 +02:00
|
|
|
status: test
|
2021-05-20 17:02:17 +02:00
|
|
|
description: Detects basic PowerShell Remoting (WinRM) by monitoring for network inbound connections to ports 5985 OR 5986
|
2019-10-24 15:48:38 +02:00
|
|
|
references:
|
2023-02-07 14:33:56 +01:00
|
|
|
- https://threathunterplaybook.com/hunts/windows/190511-RemotePwshExecution/notebook.html
|
2022-10-09 16:54:04 +02:00
|
|
|
author: Roberto Rodriguez @Cyb3rWard0g
|
2024-08-12 12:02:50 +02:00
|
|
|
date: 2019-09-12
|
|
|
|
|
modified: 2022-10-09
|
2020-01-11 00:33:50 +01:00
|
|
|
tags:
|
|
|
|
|
- attack.execution
|
2020-06-16 14:46:08 -06:00
|
|
|
- attack.t1059.001
|
2019-10-24 15:48:38 +02:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
|
|
|
|
service: security
|
|
|
|
|
detection:
|
2020-06-16 14:46:08 -06:00
|
|
|
selection:
|
2019-10-24 15:48:38 +02:00
|
|
|
EventID: 5156
|
|
|
|
|
DestPort:
|
|
|
|
|
- 5985
|
|
|
|
|
- 5986
|
|
|
|
|
LayerRTID: 44
|
|
|
|
|
condition: selection
|
|
|
|
|
falsepositives:
|
2020-01-19 22:34:16 +01:00
|
|
|
- Legitimate use of remote PowerShell execution
|
|
|
|
|
level: high
|