From Graphs to Gates: DNS-HyXNet, A Lightweight and Deployable Sequential Model for Real-Time DNS Tunnel Detection
Faraz Ali, Muhammad Afaq, Mahmood Niazi, Muzammil Behzad

TL;DR
DNS-HyXNet is a lightweight, sequence-based model using xLSTM that achieves near-perfect accuracy and ultra-fast detection latency for real-time DNS tunnel detection, replacing complex graph-based methods.
Contribution
The paper introduces DNS-HyXNet, a novel lightweight xLSTM-based framework that enables efficient, real-time DNS tunnel detection without graph reconstruction, suitable for deployment on standard hardware.
Findings
Achieved up to 99.99% accuracy on benchmark datasets
Detection latency of only 0.041 ms per sample
Outperformed graph-based methods in speed and efficiency
Abstract
Domain Name System (DNS) tunneling remains a covert channel for data exfiltration and command-and-control communication. Although graph-based methods such as GraphTunnel achieve strong accuracy, they introduce significant latency and computational overhead due to recursive parsing and graph construction, limiting their suitability for real-time deployment. This work presents DNS-HyXNet, a lightweight extended Long Short-Term Memory (xLSTM) hybrid framework designed for efficient sequence-based DNS tunnel detection. DNS-HyXNet integrates tokenized domain embeddings with normalized numerical DNS features and processes them through a two-layer xLSTM network that directly learns temporal dependencies from packet sequences, eliminating the need for graph reconstruction and enabling single-stage multi-class classification. The model was trained and evaluated on two public benchmark datasets…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInternet Traffic Analysis and Secure E-voting · Network Security and Intrusion Detection · Software-Defined Networks and 5G
