Skip to content
Open access

A Machine Learning-Based Approach for Detecting DNS Tunneling and Data Exfiltration in Network Traffic

Aug 2026 · International journal of computer information systems and industrial management applications · Vol 18, pp. 350-361 · 0 citations

TL;DR

This paper presents a comprehensive machine learning-based framework for detecting DNS tunneling and data exfiltration activity in network traffic and demonstrates that combining automatically learned representations with engineered statistical features substantially improves detection of low-and-slow exfiltration and previously unseen tunneling tools.

Abstract

The Domain Name System (DNS) is a foundational protocol of the Internet, and its near-universal permission through firewalls makes it an attractive covert channel for attackers seeking to tunnel data or exfiltrate sensitive information. DNS tunneling techniques encode arbitrary data inside DNS queries and responses, allowing adversaries to bypass conventional perimeter defenses that focus on HTTP, HTTPS, and other well-monitored protocols. Signature-based intrusion detection systems struggle to keep pace with the diversity of tunneling tools and obfuscation strategies, motivating the application of machine learning (ML) to this problem. This paper presents a comprehensive machine learning-based framework for detecting DNS tunneling and data exfiltration activity in network traffic. We extract a rich set of statistical, lexical, and temporal features from DNS query streams and evaluate nine classification approaches, including Logistic Regression, Decision Tree, k-Nearest Neighbors, Naive Bayes, Support Vector Machine, Random Forest, XGBoost, Long Short-Term Memory (LSTM) networks, and a proposed hybrid Convolutional Neural Network-Random Forest (CNN-RF) ensemble. Experiments conducted on a labeled dataset of benign and tunneled DNS traffic show that the proposed hybrid model achieves 98.4% accuracy, 98.1% precision, 98.7% recall, and an F1-score of 98.4%, outperforming all baseline classifiers and prior published approaches. The results demonstrate that combining automatically learned representations with engineered statistical features substantially improves detection of low-and-slow exfiltration and previously unseen tunneling tools.

Read PDF

Similar papers

Conference Sep 2026

Network Intrusion Detection Using SNMP MIB Data: A Multi-Device Machine Learning Approach

The increasing complexity and volume of network traffic have made the accurate and timely detection of cyber-attacks a critical challenge. This study proposes a machine learning-based intrusion detection approach using Simple Network Management Protocol - Management Information Base (SNMP-MIB) data collected from four...

Emirhan Erdem, M. Karakose, Kürşat İnce · 0 citations

Real-time detection of cryptographic key misuse in software-defined networks using incremental learning

An incremental learning based framework to detect anomalous traffic patterns which may indicate any key misuse in Software-Defined Networks in dynamic and real-time environments in modern SDN environments is proposed.

Gineeth Rajeshkhanna, Tamilarasi Kathirvel Murugan, Logeswari Govindaraj et al. · 0 citations
#edge computing Open access Oct 2026

A Real-Time Machine Learning-Based Intrusion Detection and Prevention System for Decentralized Networks using Random Forest and Isolation Forest

Decentralized networks—spanning Internet-of-Things deployments, edge computing platforms and peer-to-peer systems—offer improved scalability, resilience and the elimination of single points of failure. At the same time, their distributed structure makes continuous monitoring and timely intrusion response substantially...

I. Achi, F. O. Ogbunude · 0 citations
#machine learning Preprint Oct 2026

AIRO: A Streaming-Based Machine Learning Framework for Threat Detection and Security in Industrial Internet of Things

This paper presents AIRO (Autonomous Intelligence-Driven Cybersecurity Risk Re- duction System), an efficient framework for IIoT monitoring and response that combines Apache Kafka streaming, attack- specific feature extraction, machine learning (ML) inference, confidence-based decision logic and risk reduction measures...

Raima Deb, P. Pawar, Mithun Mukherjee et al. · 0 citations
Open access Sep 2026

Real-Traffic Enrichment for Improved Minority Web Attack Detection in Network Intrusion Detection

This study enriches CICIDS2017 with authentic SQL Injection, Cross-Site Scripting (XSS), and Web Brute Force (WBF) traffic captured from a controlled DVWA/XAMPP environment, processed with CICFlowMeter to match the original feature space.

Zeyneb Berkat, Amina Fatima Zahra Yahiaoui, Mahfoud Aliouat et al. · 0 citations
Open access 2026

Orion 2026: An IP Flow Dataset for Network Traffic Analysis and DDoS Intrusion Detection

The development of robust, modern network threat detection models is often hindered by the limitations of existing benchmark datasets. These often suffer from traffic class imbalance, poor documentation, and pervasive mislabeling. To address the identified gaps, this article introduces the Orion 2026, a novel benchmark...

V. Schiavon, Matheus Riki Nakanishi, Gustavo Hideyuki Kitamura Nishikawa et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.