Detectionhightest
RDP Port Forwarding Rule Added Via Netsh.EXE
Detects the execution of netsh to configure a port forwarding of port 3389 (RDP) rule
Convert In Phoenix Studio
Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.
Launch
Florian Roth (Nextron Systems), oscd.communityCreated Tue Jan 29Updated Mon Feb 13782d6f3e-4c5d-4b8c-92a3-1d05fed72e63windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation
Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.
Detection Logic
Detection Logic2 selectors
detection:
selection_img:
- Image|endswith: '\netsh.exe'
- OriginalFileName: 'netsh.exe'
selection_cli:
CommandLine|contains|all:
- ' i'
- ' p'
- '=3389'
- ' c'
condition: all of selection_*False Positives
Legitimate administration activity
References
MITRE ATT&CK
Rule Metadata
Rule ID
782d6f3e-4c5d-4b8c-92a3-1d05fed72e63
Status
test
Level
high
Type
Detection
Created
Tue Jan 29
Modified
Mon Feb 13
Path
rules/windows/process_creation/proc_creation_win_netsh_port_forwarding_3389.yml
Raw Tags
attack.lateral-movementattack.defense-evasionattack.command-and-controlattack.t1090