{"id":"8384bd26-bde6-4da9-8e5d-4174a7a47ca2","title":"Query Tor Onion Address - DNS Client","description":"Detects DNS resolution of an .onion address related to Tor routing networks","author":"Nasreddine Bencherchali (Nextron Systems)","status":"test","level":"high","date":"2022-02-20","modified":"2025-09-12","tags":["attack.command-and-control","attack.t1090.003"],"technique_ids":["T1090.003"],"logsource":{"product":"windows","service":"dns-client","definition":"Requirements: Microsoft-Windows-DNS Client Events/Operational Event Log must be enabled/collected in order to receive the events."},"falsepositives":["Unlikely"],"references":["https://www.logpoint.com/en/blog/detecting-tor-use-with-logpoint/","https://github.com/Azure/Azure-Sentinel/blob/f99542b94afe0ad2f19a82cc08262e7ac8e1428e/Detections/ASimDNS/imDNS_TorProxies.yaml"],"source_path":"rules/windows/builtin/dns_client/win_dns_client_tor_onion.yml","source_sha256":"908c924be5f93aabe6e53dd2442b26b589de56a3ae97b66487d1a8fb4522058e","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/builtin/dns_client/win_dns_client_tor_onion.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Query Tor Onion Address - DNS Client\nid: 8384bd26-bde6-4da9-8e5d-4174a7a47ca2\nrelated:\n    - id: b55ca2a3-7cff-4dda-8bdd-c7bfa63bf544\n      type: similar\n    - id: a8322756-015c-42e7-afb1-436e85ed3ff5\n      type: similar\nstatus: test\ndescription: Detects DNS resolution of an .onion address related to Tor routing networks\nreferences:\n    - https://www.logpoint.com/en/blog/detecting-tor-use-with-logpoint/\n    - https://github.com/Azure/Azure-Sentinel/blob/f99542b94afe0ad2f19a82cc08262e7ac8e1428e/Detections/ASimDNS/imDNS_TorProxies.yaml\nauthor: Nasreddine Bencherchali (Nextron Systems)\ndate: 2022-02-20\nmodified: 2025-09-12\ntags:\n    - attack.command-and-control\n    - attack.t1090.003\nlogsource:\n    product: windows\n    service: dns-client\n    definition: 'Requirements: Microsoft-Windows-DNS Client Events/Operational Event Log must be enabled/collected in order to receive the events.'\ndetection:\n    selection:\n        EventID: 3008\n        QueryName|endswith:\n            - '.hiddenservice.net'\n            - '.onion.ca'\n            - '.onion.cab'\n            - '.onion.casa'\n            - '.onion.city'\n            - '.onion.direct'\n            - '.onion.dog'\n            - '.onion.glass'\n            - '.onion.gq'\n            - '.onion.guide'\n            - '.onion.in.net'\n            - '.onion.ink'\n            - '.onion.it'\n            - '.onion.link'\n            - '.onion.lt'\n            - '.onion.lu'\n            - '.onion.ly'\n            - '.onion.mn'\n            - '.onion.network'\n            - '.onion.nu'\n            - '.onion.pet'\n            - '.onion.plus'\n            - '.onion.pt'\n            - '.onion.pw'\n            - '.onion.rip'\n            - '.onion.sh'\n            - '.onion.si'\n            - '.onion.to'\n            - '.onion.top'\n            - '.onion.ws'\n            - '.onion'\n            - '.s1.tor-gateways.de'\n            - '.s2.tor-gateways.de'\n            - '.s3.tor-gateways.de'\n            - '.s4.tor-gateways.de'\n            - '.s5.tor-gateways.de'\n            - '.t2w.pw'\n            - '.tor2web.ae.org'\n            - '.tor2web.blutmagie.de'\n            - '.tor2web.com'\n            - '.tor2web.fi'\n            - '.tor2web.io'\n            - '.tor2web.org'\n            - '.tor2web.xyz'\n            - '.torlink.co'\n    condition: selection\nfalsepositives:\n    - Unlikely\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1090.003","id":"T1090.003","name":"Multi-hop Proxy","page":"techniques/enterprise/T1090.003/"}],"data_path":"data/detection-rules/8384bd26-bde6-4da9-8e5d-4174a7a47ca2.json","kind":"sigma"}
