Sigma rule: DNS Query Tor .Onion Address - Sysmon

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7a14d9548cd1, updated 2025-09-12T00:00:00.000Z.

Rule

Title
DNS Query Tor .Onion Address - Sysmon
Status
test
Level
high
Author
frack113
Date
2022-02-20
Modified
2025-09-12
File
rules/windows/dns_query/dns_query_win_tor_onion_domain_query.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects DNS queries to an ".onion" address related to Tor routing networks

Log source

product
windows
category
dns_query

Detection

selection:
    QueryName|endswith:
        - '.hiddenservice.net'
        - '.onion.ca'
        - '.onion.cab'
        - '.onion.casa'
        - '.onion.city'
        - '.onion.direct'
        - '.onion.dog'
        - '.onion.glass'
        - '.onion.gq'
        - '.onion.ink'
        - '.onion.it'
        - '.onion.link'
        - '.onion.lt'
        - '.onion.lu'
        - '.onion.nu'
        - '.onion.pet'
        - '.onion.plus'
        - '.onion.rip'
        - '.onion.sh'
        - '.onion.to'
        - '.onion.top'
        - '.onion'
        - '.s1.tor-gateways.de'
        - '.s2.tor-gateways.de'
        - '.s3.tor-gateways.de'
        - '.s4.tor-gateways.de'
        - '.s5.tor-gateways.de'
        - '.t2w.pw'
        - '.tor2web.ae.org'
        - '.tor2web.blutmagie.de'
        - '.tor2web.com'
        - '.tor2web.fi'
        - '.tor2web.io'
        - '.tor2web.org'
        - '.tor2web.xyz'
        - '.torlink.co'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.command-and-control
  • attack.t1090.003

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/dns_query/dns_query_win_tor_onion_domain_query.yml

Sources and licences

  • SigmaHQ

    "DNS Query Tor .Onion Address - Sysmon" by frack113 (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/dns_query/dns_query_win_tor_onion_domain_query.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: DNS Query Tor .Onion Address - Sysmon",
entity page, dataset version ref-7a14d9548cd1, updated 2025-09-12T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/b55ca2a3-7cff-4dda-8bdd-c7bfa63bf544 (accessed 2026-11-03).
Underlying source: SigmaHQ rule b55ca2a3-7cff-4dda-8bdd-c7bfa63bf544, 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.