RDP Port Forwarding Rule Added Via Netsh.EXE
Detects the execution of netsh to configure a port forwarding of port 3389 (RDP) rule
Sigma rule (View on GitHub)
1title: RDP Port Forwarding Rule Added Via Netsh.EXE
2id: 782d6f3e-4c5d-4b8c-92a3-1d05fed72e63
3status: test
4description: Detects the execution of netsh to configure a port forwarding of port 3389 (RDP) rule
5references:
6 - https://www.fireeye.com/blog/threat-research/2019/01/bypassing-network-restrictions-through-rdp-tunneling.html
7author: Florian Roth (Nextron Systems), oscd.community
8date: 2019-01-29
9modified: 2023-02-13
10tags:
11 - attack.lateral-movement
12 - attack.command-and-control
13 - attack.t1090
14logsource:
15 category: process_creation
16 product: windows
17detection:
18 selection_img:
19 - Image|endswith: '\netsh.exe'
20 - OriginalFileName: 'netsh.exe'
21 selection_cli:
22 CommandLine|contains|all:
23 - ' i'
24 - ' p'
25 - '=3389'
26 - ' c'
27 condition: all of selection_*
28falsepositives:
29 - Legitimate administration activity
30level: high
References
Related rules
- New Port Forwarding Rule Added Via Netsh.EXE
- New PortProxy Registry Entry Added
- Connection Proxy
- OpenCanary - HTTPPROXY Login Attempt
- Potential Exploitation of RCE Vulnerability CVE-2025-33053