Sigma rule: RDP Port Forwarding Rule Added Via Netsh.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d705a58e3f64, updated 2023-02-13T00:00:00.000Z.

Rule

Title
RDP Port Forwarding Rule Added Via Netsh.EXE
Status
test
Level
high
Author
Florian Roth (Nextron Systems), oscd.community
Date
2019-01-29
Modified
2023-02-13
File
rules/windows/process_creation/proc_creation_win_netsh_port_forwarding_3389.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

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

Log source

product
windows
category
process_creation

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 (as the rule lists them)

  • Legitimate administration activity

Tags

  • attack.lateral-movement
  • attack.command-and-control
  • attack.t1090

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_netsh_port_forwarding_3389.yml

Sources and licences

  • SigmaHQ

    "RDP Port Forwarding Rule Added Via Netsh.EXE" by Florian Roth (Nextron Systems), oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_netsh_port_forwarding_3389.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: RDP Port Forwarding Rule Added Via Netsh.EXE",
entity page, dataset version ref-d705a58e3f64, updated 2023-02-13T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/782d6f3e-4c5d-4b8c-92a3-1d05fed72e63 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 782d6f3e-4c5d-4b8c-92a3-1d05fed72e63, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.