Detection rules › Sigma

RDP Port Forwarding Rule Added Via Netsh.EXE

Severity
high
Author
Florian Roth (Nextron Systems), oscd.community
Source
upstream

Detects the execution of netsh to configure a port forwarding of port 3389 (RDP) rule

MITRE ATT&CK coverage

TacticTechniques
Command & ControlT1090 Proxy

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_img

or:
Image|endswith: '\netsh.exe'
OriginalFileName: netsh.exe

Stage 2: all of selection_cli

CommandLine|contains: ' c'
CommandLine|contains: ' i'
CommandLine|contains: ' p'
CommandLine|contains: '=3389'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • c
  • i corpus 2 (sigma 2)
  • p corpus 2 (sigma 2)
  • =3389
Imageends_with
  • \netsh.exe corpus 16 (sigma 16)
OriginalFileNameeq
  • netsh.exe corpus 14 (sigma 14)