Sigma rule: External Remote RDP Logon from Public IP

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-24c57ffccfbd, updated 2024-03-11T00:00:00.000Z.

Rule

Title
External Remote RDP Logon from Public IP
Status
test
Level
medium
Author
Micah Babinski (@micahbabinski), Zach Mathis (@yamatosecurity)
Date
2023-01-19
Modified
2024-03-11
File
rules/windows/builtin/security/account_management/win_security_successful_external_remote_rdp_login.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects successful logon from public IP address via RDP. This can indicate a publicly-exposed RDP port.

Log source

product
windows
service
security

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_empty:
    IpAddress: '-'
condition: selection and not 1 of filter_main_*

False positives (as the rule lists them)

  • Legitimate or intentional inbound connections from public IP addresses on the RDP port.

Tags

  • attack.privilege-escalation
  • attack.persistence
  • attack.initial-access
  • attack.credential-access
  • attack.stealth
  • attack.t1133
  • attack.t1078
  • attack.t1110

MITRE ATT&CK ids this rule names

Related rules

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/builtin/security/account_management/win_security_successful_external_remote_rdp_login.yml

Sources and licences

  • SigmaHQ

    "External Remote RDP Logon from Public IP" by Micah Babinski (@micahbabinski), Zach Mathis (@yamatosecurity) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/account_management/win_security_successful_external_remote_rdp_login.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: External Remote RDP Logon from Public IP",
entity page, dataset version ref-24c57ffccfbd, updated 2024-03-11T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/259a9cdf-c4dd-4fa2-b243-2269e5ab18a2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 259a9cdf-c4dd-4fa2-b243-2269e5ab18a2, 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.