Sigma rule: Possible DNS Rebinding

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-82697a8e84ec, updated 2023-02-24T00:00:00.000Z.

Rule

Title
Possible DNS Rebinding
Status
unsupported
Level
medium
Author
Ilyas Ochkov, oscd.community
Date
2019/10/25
Modified
2023/02/24
File
unsupported/windows/dns_query_win_possible_dns_rebinding.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects several different DNS-answers by one domain with IPs from internal and external networks. Normally, DNS-answer contain TTL >100. (DNS-record will saved in host cache for a while TTL).

Log source

product
windows
category
dns_query

Detection

dns_answer:
    QueryName: '*'
    QueryStatus: '0'
filter_int_ip:
    QueryResults|startswith:
        - '(::ffff:)?10.'
        - '(::ffff:)?192.168.'
        - '(::ffff:)?172.16.'
        - '(::ffff:)?172.17.'
        - '(::ffff:)?172.18.'
        - '(::ffff:)?172.19.'
        - '(::ffff:)?172.20.'
        - '(::ffff:)?172.21.'
        - '(::ffff:)?172.22.'
        - '(::ffff:)?172.23.'
        - '(::ffff:)?172.24.'
        - '(::ffff:)?172.25.'
        - '(::ffff:)?172.26.'
        - '(::ffff:)?172.27.'
        - '(::ffff:)?172.28.'
        - '(::ffff:)?172.29.'
        - '(::ffff:)?172.30.'
        - '(::ffff:)?172.31.'
        - '(::ffff:)?127.'
timeframe: 30s
condition: (dns_answer and filter_int_ip) and (dns_answer and not filter_int_ip) | count(QueryName) by ComputerName > 3

Tags

  • attack.initial_access
  • attack.t1189

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/unsupported/windows/dns_query_win_possible_dns_rebinding.yml

Sources and licences

  • SigmaHQ

    "Possible DNS Rebinding" by Ilyas Ochkov, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/unsupported/windows/dns_query_win_possible_dns_rebinding.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: Possible DNS Rebinding",
entity page, dataset version ref-82697a8e84ec, updated 2023-02-24T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/eb07e747-2552-44cd-af36-b659ae0958e4 (accessed 2026-11-03).
Underlying source: SigmaHQ rule eb07e747-2552-44cd-af36-b659ae0958e4, 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.