Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyzes DNS query logs to detect data exfiltration and DNS tunneling via subdomain length, entropy, and volume patterns.
5% 41%+36 ptsof test cases passed
Passed 9 of 22 test cases with the skill, and 1 of 22 without it.
3 of 3 safety checks passed
Not used yet
Use this skill when:
Do not use for standard DNS troubleshooting or availability monitoring — this skill focuses on security-relevant DNS abuse detection.
Stream:DNS, dns sourcetype, or Zeek DNS logs)math and collections libraries for entropy calculationDNS tunneling encodes data in subdomain labels, creating unusually long queries:
index=dns sourcetype="stream:dns" query_type IN ("A", "AAAA", "TXT", "CNAME", "MX")
| eval domain_parts = split(query, ".")
| eval subdomain = mvindex(domain_parts, 0, mvcount(domain_parts)-3)
| eval subdomain_str = mvjoin(subdomain, ".")
| eval subdomain_len = len(subdomain_str)
| eval tld = mvindex(domain_parts, -1)
| eval registered_domain = mvindex(domain_parts, -2).".".tld
| where subdomain_len > 50
| stats count AS queries, dc(query) AS unique_queries,
avg(subdomain_len) AS avg_subdomain_len,
max(subdomain_len) AS max_subdomain_len,
values(src_ip) AS sources
by registered_domain
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.