{"id":"1fc0809e-06bf-4de3-ad52-25e5263b7623","title":"Publicly Accessible RDP Service","description":"Detects connections from routable IPs to an RDP listener. Which is indicative of a publicly-accessible RDP service.\n","author":"Josh Brower @DefensiveDepth","status":"test","level":"high","date":"2020-08-22","modified":"2024-03-13","tags":["attack.lateral-movement","attack.t1021.001"],"technique_ids":["T1021.001"],"logsource":{"product":"zeek","service":"rdp"},"falsepositives":["Although it is recommended to NOT have RDP exposed to the internet, verify that this is a) allowed b) the server has not already been compromised via some brute force or remote exploit since it has been exposed to the internet. Work to secure the server if you are unable to remove it from being exposed to the internet."],"references":[],"source_path":"rules/network/zeek/zeek_rdp_public_listener.yml","source_sha256":"62cf1e1b85ad05c19e904f537ccd7c49c94269622d5059813be0e1d759e8d5bd","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/network/zeek/zeek_rdp_public_listener.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Publicly Accessible RDP Service\nid: 1fc0809e-06bf-4de3-ad52-25e5263b7623\nstatus: test\ndescription: |\n    Detects connections from routable IPs to an RDP listener. Which is indicative of a publicly-accessible RDP service.\nauthor: Josh Brower @DefensiveDepth\ndate: 2020-08-22\nmodified: 2024-03-13\ntags:\n    - attack.lateral-movement\n    - attack.t1021.001\nlogsource:\n    product: zeek\n    service: rdp\ndetection:\n    selection:\n        id.orig_h|cidr:\n            - '::1/128'  # IPv6 loopback\n            - '10.0.0.0/8'\n            - '127.0.0.0/8'\n            - '172.16.0.0/12'\n            - '192.168.0.0/16'\n            - '169.254.0.0/16'\n            - '2620:83:8000::/48'\n            - 'fc00::/7'  # IPv6 private addresses\n            - 'fe80::/10'  # IPv6 link-local addresses\n    # approved_rdp:\n      # dst_ip:\n        # - x.x.x.x\n    condition: not selection # and not approved_rdp\nfalsepositives:\n    - Although it is recommended to NOT have RDP exposed to the internet, verify that this is a) allowed b) the server has not already been compromised via some brute force or remote exploit since it has been exposed to the internet. Work to secure the server if you are unable to remove it from being exposed to the internet.\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1021.001","id":"T1021.001","name":"Remote Desktop Protocol","page":"techniques/enterprise/T1021.001/"}],"data_path":"data/detection-rules/1fc0809e-06bf-4de3-ad52-25e5263b7623.json","kind":"sigma"}
