Detecting DNS tunneling-based data exfiltration using machine learning
| dc.contributor.author | Gautam, Saroj | |
| dc.contributor.author | Sapkota, Binod | |
| dc.contributor.author | Dawadi, Babu R. | |
| dc.contributor.author | Shukla, Utkarsha | |
| dc.date.accessioned | 2026-09-22T11:34:56Z | |
| dc.date.issued | 2026-06-01 | |
| dc.description | Journal: 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.abstract | The 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.extent | pp. 105-119 | |
| dc.identifier.citation | Gautam, 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.doi | 10.3126/jiee.v9i1.90356 | |
| dc.identifier.issn | 2594-343X | |
| dc.identifier.issn | 2773-823X | |
| dc.identifier.uri | https://elibrary.tcioe.edu.np/handle/123456789/332 | |
| dc.language.iso | en | |
| dc.publisher | Thapathali Campus, Institute of Engineering, Tribhuvan University | |
| dc.relation.ispartofseries | Journal of Innovations in Engineering Education;Vol. 9, Issue 1 (2026) | |
| dc.relation.uri | https://doi.org/10.3126/jiee.v9i1.90356 | |
| dc.relation.uri | https://www.nepjol.info/index.php/jiee/article/view/90356 | |
| dc.relation.uri | https://journal.tcioe.edu.np/articles/090d1627-760c-4811-898d-36dbaab6962c | |
| dc.rights | Copyright (c) 2026 JIEE and the authors. Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0). | |
| dc.rights.uri | https://creativecommons.org/licenses/by-nc-nd/4.0/ | |
| dc.source | Journal of Innovations in Engineering Education, Vol. 9, Issue 1 (2026), pp. 105-119 | |
| dc.subject | Convolutional Neural Network | |
| dc.subject | Data exfiltration | |
| dc.subject | DNS tunneling | |
| dc.subject | Support Vector Machine | |
| dc.subject | JIEE | |
| dc.subject | Journal of Innovations in Engineering Education | |
| dc.subject | JIEE 2026 | |
| dc.subject | JIEE Volume 9 | |
| dc.subject | Research Article | |
| dc.subject | Thapathali Campus | |
| dc.subject | TCIOE | |
| dc.subject | Institute of Engineering | |
| dc.subject | IOE | |
| dc.subject | Tribhuvan University | |
| dc.subject | Nepal | |
| dc.subject | engineering research Nepal | |
| dc.subject | peer-reviewed journal article | |
| dc.subject | open access | |
| dc.subject | Department of Electronics and Computer Engineering | |
| dc.title | Detecting DNS tunneling-based data exfiltration using machine learning | |
| dc.type | Article |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- Detecting-DNS-tunneling-based-data-exfiltration-using-machine-learning.pdf
- Size:
- 3.95 MB
- Format:
- Adobe Portable Document Format

