Detectionmediumtest
External Remote RDP Logon from Public IP
Detects successful logon from public IP address via RDP. This can indicate a publicly-exposed RDP port.
Micah Babinski, Zach MathisCreated 2023-01-19Updated 2026-11-03259a9cdf-c4dd-4fa2-b243-2269e5ab18a2windows
Log Source
Windowssecurity
ProductWindows← raw: windows
Servicesecurity← raw: security
Detection Logic
Detection Logic4 selectors
detection:
selection:
EventID: 4624
LogonType: 10
filter_main_local_ranges:
IpAddress|cidr:
- '::1/128' # IPv6 loopback
- '10.0.0.0/8'
- '127.0.0.0/8'
- '172.16.0.0/12'
- '192.168.0.0/16'
- '169.254.0.0/16'
- 'fc00::/7' # IPv6 private addresses
- 'fe80::/10' # IPv6 link-local addresses
filter_main_null:
IpAddress: null
filter_main_empty:
IpAddress:
- '-'
- ''
condition: selection and not 1 of filter_main_*False Positives
Legitimate or intentional inbound connections from public IP addresses on the RDP port.
MITRE ATT&CK
Rule Metadata
Rule ID
259a9cdf-c4dd-4fa2-b243-2269e5ab18a2
Status
test
Level
medium
Type
Detection
Created
2023-01-19
Modified
2026-11-03
Author
Path
rules/windows/builtin/security/account_management/win_security_successful_external_remote_rdp_login.yml
Raw Tags
attack.privilege-escalationattack.persistenceattack.initial-accessattack.credential-accessattack.stealthattack.t1133attack.t1078attack.t1110