Detection rules › Sigma

Default RDP Port Changed to Non Standard Port

Severity
high
Author
frack113
Source
upstream

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).

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1547.010 Boot or Logon Autostart Execution: Port Monitors
Privilege EscalationT1547.010 Boot or Logon Autostart Execution: Port Monitors

Event coverage

ProviderEvent IDTitle
Sysmon13RegistryEvent (Value Set)

Stages and Predicates

Stage 1: selection

TargetObject|endswith: '\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber'

Stage 2: not 1 of filter_main_port

Details: 'DWORD (0x00000d3d)'

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
Detailseq
  • DWORD (0x00000d3d)
TargetObjectends_with
  • \Control\Terminal Server\WinStations\RDP-Tcp\PortNumber