Potential DNS Tunneling via NULL or Long DNS Queries
Identifies DNS query patterns associated with tunneling, including rare NULL queries, repeated TXT queries with unusually long names, and clients generating many unique, long subdomains under one registered domain…
Description
Identifies DNS query patterns associated with tunneling, including rare NULL queries, repeated TXT queries with unusually long names, and clients generating many unique, long subdomains under one registered domain within a five-minute window.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ESXiIaaSLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 3 ATT&CK techniques it maps to.
Known benign triggers
- CDN, cloud load-balancer, software-update, and telemetry hostnames can be long and change often. Recursive resolvers, forwarders, NAT gateways, and localhost DNS listeners can also combine queries from many endpoints under one client address. DNS research, testing, and security tools can generate NULL or unusually long TXT queries. Validate the apex domain and whether the source is an endpoint before treating the activity as tunneling.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| code.kryo.se/iodine/ | 2 |
| unit42.paloaltonetworks.com/dns-tunneling-how-dns-can-be-abused-by-malicious-actors/ | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 89ed957d-609b-4b00-b8c6-a5cbd187632c
- Tagged by the source as
- Data Source: FortinetData Source: Network Packet CaptureData Source: Network TrafficData Source: ZeekDomain: NetworkResources: Investigation GuideRule Type: ES|QLTactic: Command and ControlTactic: ExfiltrationUse Case: Network Security MonitoringUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 29, 2026
- Version
- 4