Sigma rule: Default RDP Port Changed to Non Standard Port
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-6097b7fb0d8c, updated 2024-03-25T00:00:00.000Z.
Rule
- Title
- Default RDP Port Changed to Non Standard Port
- Status
- test
- Level
- high
- Author
- frack113
- Date
- 2022-01-01
- Modified
- 2024-03-25
- File
- rules/windows/registry/registry_set/registry_set_change_rdp_port.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects changes to the default RDP port.
Remote desktop is a common feature in operating systems. It allows a user to log into a remote system using an interactive session with a graphical user interface.
Microsoft refers to its implementation of the Remote Desktop Protocol (RDP) as Remote Desktop Services (RDS).
Log source
- product
- windows
- category
- registry_set
Detection
selection:
TargetObject|endswith: '\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber'
filter_main_port:
Details: DWORD (0x00000d3d) # 3389
condition: selection and not 1 of filter_main_*False positives (as the rule lists them)
- Unknown
Tags
- attack.privilege-escalation
- attack.persistence
- attack.t1547.010
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/registry/registry_set/registry_set_change_rdp_port.yml
Sources and licences
SigmaHQ
"Default RDP Port Changed to Non Standard Port" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_change_rdp_port.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Default RDP Port Changed to Non Standard Port",
entity page, dataset version ref-6097b7fb0d8c, updated 2024-03-25T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/509e84b9-a71a-40e0-834f-05470369bd1e (accessed 2026-11-03).
Underlying source: SigmaHQ rule 509e84b9-a71a-40e0-834f-05470369bd1e, 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.