Problem
DNS telemetry analyser that scores queries on label entropy, label length, NXDOMAIN response rate, and per-zone query volume to separate domain-generation algorithms and DNS tunnelling from ordinary resolution, with tunable thresholds.
Case study
DNS telemetry analyser that scores queries on label entropy, label length, NXDOMAIN response rate, and per-zone query volume to separate domain-generation algorithms and DNS tunnelling from ordinary resolution, with tunable thresholds.
Security engineer and full-stack developer
DNS telemetry analyser that scores queries on label entropy, label length, NXDOMAIN response rate, and per-zone query volume to separate domain-generation algorithms and DNS tunnelling from ordinary resolution, with tunable thresholds.
The implementation combines the following technologies and system concerns.
No project-specific security control is documented in the current project record. The case study avoids claiming controls that were not verified.
Verified evidence
Screenshots and access
A scoped, fully functional recreation of this project's core feature runs below, live in your browser. Reset it, resize it, or expand it to full screen.
dns-sentinel.zainkhalilkhan.com
DNS Sentinel
Security platform
DNS is the channel that is almost never blocked, which makes it the channel of choice for beaconing and exfiltration. Each query is scored on per-character entropy of the leftmost label, label length, NXDOMAIN rate, and query volume to one zone, then thresholds are tuned to trade recall against alert volume.
Queries scored
9
Flagged
5
suspicious or malicious
False positives
0
benign traffic flagged
Missed
0
malicious not flagged
Clean separation at this tuning: every malicious query is flagged and no benign query is.
Client-side sandbox. State is in memory and nothing is sent to a server.