LoFP LoFP / legitimate use of remote powershell execution

Techniques

Sample rules

Remote PowerShell Sessions Network Connections (WinRM)

Description

Detects basic PowerShell Remoting (WinRM) by monitoring for network inbound connections to ports 5985 OR 5986

Detection logic

condition: selection
selection:
  DestPort:
  - 5985
  - 5986
  EventID: 5156
  LayerRTID: 44