2020-01-11 00:33:50 +01:00
|
|
|
title: Remote PowerShell Session
|
2019-12-19 23:56:36 +01:00
|
|
|
id: c539afac-c12a-46ed-b1bd-5a5567c9f045
|
2020-01-19 22:34:16 +01:00
|
|
|
description: Detects remote PowerShell connections by monitoring network outbount connections to ports 5985 or 5986 from not network service account
|
2019-10-24 15:48:38 +02:00
|
|
|
status: experimental
|
|
|
|
|
date: 2019/09/12
|
|
|
|
|
author: Roberto Rodriguez @Cyb3rWard0g
|
|
|
|
|
references:
|
|
|
|
|
- https://github.com/Cyb3rWard0g/ThreatHunter-Playbook/tree/master/playbooks/windows/02_execution/T1086_powershell/powershell_remote_session.md
|
2020-01-11 00:33:50 +01:00
|
|
|
tags:
|
|
|
|
|
- attack.execution
|
|
|
|
|
- attack.t1086
|
2019-10-24 15:48:38 +02:00
|
|
|
logsource:
|
|
|
|
|
product: windows
|
|
|
|
|
service: sysmon
|
|
|
|
|
detection:
|
|
|
|
|
selection:
|
|
|
|
|
EventID: 3
|
|
|
|
|
DestinationPort:
|
|
|
|
|
- 5985
|
|
|
|
|
- 5986
|
|
|
|
|
filter:
|
|
|
|
|
User: 'NT AUTHORITY\NETWORK SERVICE'
|
|
|
|
|
condition: selection and not filter
|
|
|
|
|
falsepositives:
|
2020-01-19 22:34:16 +01:00
|
|
|
- Leigitmate usage of remote PowerShell, e.g. remote administration and monitoring.
|
|
|
|
|
level: high
|