What problem does it solve?
DNS tunneling lets attackers bypass firewalls and DLP controls by encoding stolen data into DNS query subdomains, and manual log review cannot reliably spot these patterns at scale. This Skill automates the analysis of Zeek dns.log files to surface exfiltration indicators before data leaves the network.
Core Features & Use Cases
- Entropy and Label Analysis: Computes Shannon entropy per subdomain label and flags labels approaching the 63-character DNS limit, catching encoded payloads from tools like dnscat2, iodine, and dns2tcp.
- Anomaly Scoring: Counts unique subdomains per parent domain, measures query volume per source IP, and combines signals into a composite risk score with a ranked JSON report.
- Detection Gap Guidance: Documents blind spots such as DoH/DoT traffic, low-and-slow tunneling, word-list encoding, and answer-side exfiltration, with pivots to ssl.log and conn.log.
- Use Case: A SOC analyst investigating a suspected compromise runs the parser over a day's dns.log and receives a JSON report flagging 'data.evil-c2.com' with 892 unique subdomains, average entropy of 4.72, and the originating internal IP for containment.
Quick Start
Analyze the attached Zeek dns.log file and report any domains showing DNS exfiltration indicators such as high-entropy subdomains or excessive unique subdomain counts.