DNS Spikes, Strikes, and The Like
summary
OpenDNS recursive logs (about 50 billion queries/day, ~12 TB uncompressed) are sliced into two‑hour windows, domains with counts per hour are joined and high‑traffic CDNs filter out, and a simple spike detector returns roughly ~20,000 spiking domains per two‑hour run. After filtering domains with <3 unique IPs, K‑means clustering (chosen via an elbow on the distortion curve at about k=12) uses K‑means with seven features including query counts, unique IPs/resolvers, rcode distribution and a Fano factor for volatility, yielding clusters like ~1,000 mail servers, high‑volume DNS amplification spikes (0→3,000), WordPress brute‑force patterns and domain shadowing seed → passive DNS pivots that uncover exploit‑kit and compromised hosting ranges.
AI-written summary · about
chapters (10)
- 0:00Introduction and motivation
- 2:06DNS basics and OpenDNS role
- 7:26Exploit kits and threat modeling
- 10:43Spike detection algorithm
- 13:54Ground truth and unsupervised learning
- 17:47Feature selection and clustering
- 23:25Choosing cluster count
- 26:59Feature importance analysis
- 31:53Results and exploit kit findings
- 36:08Q&A session
