Tribhuvan University, Institute of Engineering, Thapathali Campus
UGC Nepal accreditation badge
Accredited by UGC NepalUniversity Grants CommissionQuality Education Since 1967 A.D.

Detecting DNS tunneling-based data exfiltration using machine learning

dc.contributor.authorGautam, Saroj
dc.contributor.authorSapkota, Binod
dc.contributor.authorDawadi, Babu R.
dc.contributor.authorShukla, Utkarsha
dc.date.accessioned2026-09-22T11:34:56Z
dc.date.issued2026-06-01
dc.descriptionJournal: Journal of Innovations in Engineering Education (JIEE), ISSN 2594-343X (print), 2773-823X (online) Volume/Issue: Vol. 9, Issue 1 (2026), pages 105-119 Article type: Research Article Published: 2026-06-01 DOI: https://doi.org/10.3126/jiee.v9i1.90356 Authors and affiliations: - Saroj Gautam (Department of Electronics and Computer Engineering, Thapathali Campus, Tribhuvan University, Kathmandu, Nepal) - Binod Sapkota (Department of Electronics and Computer Engineering, Thapathali Campus, Tribhuvan University, Kathmandu, Nepal) - Babu R. Dawadi (Department of Electronics and Computer Engineering, Pulchowk Campus, Tribhuvan University, Kathmandu, Nepal) - Utkarsha Shukla (Department of Electronics and Computer Engineering, Thapathali Campus, Tribhuvan University, Kathmandu, Nepal) TCIOE department(s): Department of Electronics and Computer Engineering Publisher: Thapathali Campus, Institute of Engineering, Tribhuvan University License: Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0), https://creativecommons.org/licenses/by-nc-nd/4.0/ Journal website: https://journal.tcioe.edu.np/articles/090d1627-760c-4811-898d-36dbaab6962c NepJOL: https://www.nepjol.info/index.php/jiee/article/view/90356
dc.description.abstractThe misuse of DNS tunneling for covert data exfiltration is a significant threat to network security because DNS traffic is typically trusted and allowed through firewalls without deep inspection. Attackers exploit this protocol by embedding encoded payloads within DNS queries and responses, enabling them to bypass traditional security mechanisms that struggle to identify such stealthy, low-and-slow exfiltration patterns. This paper presents a hybrid detection framework that combines a one dimensional Convolutional Neural Network (1D CNN) for automated feature extraction with a Support Vector Machine (SVM) classifier for robust decision-making. The model is trained and evaluated on the BCCC-CIC-Bell-DNS-EXFdataset, which contains diverse benign, light, and heavy exfiltration samples generated using real tunneling tools such as Iodine. Experimental results demonstrate high effectiveness, with the CNN+SVM approach achieving up to 99.91% accuracy, minimal false positives, and consistent performance under 5-fold cross-validation. Furthermore, an NFQUEUE-based real-time prototype demonstrates live DNS packet interception and online feature computation, and enables low latency (millisecond-level) decision-making using a baseline SVM classifier trained on entropy feature(s) in our test environment (approximately 1.4–2.4 ms per query). Overall, this paper provides an effective approach for DNS tunneling detection and establishes a foundation for future work, including integration of the proposed model into real-time operation and extensions to encrypted DNS protocols and explainable detection.
dc.format.extentpp. 105-119
dc.identifier.citationGautam, S., Sapkota, B., Dawadi, B. R., & Shukla, U. (2026). Detecting DNS tunneling-based data exfiltration using machine learning. Journal of Innovations in Engineering Education, 9(1), 105-119. https://doi.org/10.3126/jiee.v9i1.90356
dc.identifier.doi10.3126/jiee.v9i1.90356
dc.identifier.issn2594-343X
dc.identifier.issn2773-823X
dc.identifier.urihttps://elibrary.tcioe.edu.np/handle/123456789/332
dc.language.isoen
dc.publisherThapathali Campus, Institute of Engineering, Tribhuvan University
dc.relation.ispartofseriesJournal of Innovations in Engineering Education;Vol. 9, Issue 1 (2026)
dc.relation.urihttps://doi.org/10.3126/jiee.v9i1.90356
dc.relation.urihttps://www.nepjol.info/index.php/jiee/article/view/90356
dc.relation.urihttps://journal.tcioe.edu.np/articles/090d1627-760c-4811-898d-36dbaab6962c
dc.rightsCopyright (c) 2026 JIEE and the authors. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0).
dc.rights.urihttps://creativecommons.org/licenses/by-nc-nd/4.0/
dc.sourceJournal of Innovations in Engineering Education, Vol. 9, Issue 1 (2026), pp. 105-119
dc.subjectConvolutional Neural Network
dc.subjectData exfiltration
dc.subjectDNS tunneling
dc.subjectSupport Vector Machine
dc.subjectJIEE
dc.subjectJournal of Innovations in Engineering Education
dc.subjectJIEE 2026
dc.subjectJIEE Volume 9
dc.subjectResearch Article
dc.subjectThapathali Campus
dc.subjectTCIOE
dc.subjectInstitute of Engineering
dc.subjectIOE
dc.subjectTribhuvan University
dc.subjectNepal
dc.subjectengineering research Nepal
dc.subjectpeer-reviewed journal article
dc.subjectopen access
dc.subjectDepartment of Electronics and Computer Engineering
dc.titleDetecting DNS tunneling-based data exfiltration using machine learning
dc.typeArticle

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Detecting-DNS-tunneling-based-data-exfiltration-using-machine-learning.pdf
Size:
3.95 MB
Format:
Adobe Portable Document Format