4fb9821b49
win_non_interactive_powershell.yml win_remote_powershell_session.yml win_wmiprvse_spawning_process.yml powershell_alternate_powershell_hosts.yml powershell_remote_powershell_session.yml sysmon_alternate_powershell_hosts_moduleload.yml sysmon_alternate_powershell_hosts_pipe.yml sysmon_non_interactive_powershell_execution.yml sysmon_powershell_execution_moduleload.yml sysmon_powershell_execution_pipe.yml sysmon_remote_powershell_session_network.yml sysmon_remote_powershell_session_process.yml sysmon_wmi_module_load.yml sysmon_wmiprvse_spawning_process.yml
22 lines
725 B
YAML
22 lines
725 B
YAML
title: T1086 Remote PowerShell Session
|
|
description: Detects remote PowerShell seccions by monitoring network outbount connections to ports 5985 or 5986 from not network service account
|
|
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
|
|
logsource:
|
|
product: windows
|
|
service: sysmon
|
|
detection:
|
|
selection:
|
|
EventID: 3
|
|
DestinationPort:
|
|
- 5985
|
|
- 5986
|
|
filter:
|
|
User: 'NT AUTHORITY\NETWORK SERVICE'
|
|
condition: selection and not filter
|
|
falsepositives:
|
|
- Unknown
|
|
level: critical |