DoH Tunneling Detection System for Enterprise Network Using Deep Learning Technique
Source abstract
Abstract
In spite of protection mechanisms for Domain Name System (DNS), such as IP blacklist and DNS Firewall, DNS still has privacy issues in reality, since DNS is a plain-text protocol. Recently, to resolve this problem, an encrypted DNS, called DNS-over-HTTPS (DoH), has been developed, and is becoming more widespread. As the secured version of DNS, DoH guarantees privacy and security to prevent various attacks such as eavesdropping and manipulating DNS data by using the HTTPS protocol to encrypt the data between the DoH client and the DoH-based DNS resolver. DoH is one of the best security options for an enterprise network where more sensitive data protection is required. However, DoH may cause an unintended security breach, i.e., information leakage via malicious DoH tunneling. Since the DoH traffic is encrypted and indistinguishable from other HTTPS traffic, data hidden inside DoH packets can be easily leaked out of an enterprise network. Although some countermeasures to detect DoH tunneling attacks have been proposed, they still have limitations. Previous research used Supervised Machine Learning methods to detect DoH tunneling, which required a high volume of labeled data. In practice, collecting and labeling all of the data is an impossible task, especially in DoH, when all of the data are encrypted. Furthermore, Supervised Machine Learning methods rely heavily on human-engineered feature extraction, which makes classifying encrypted DoH traffic difficult. Furthermore, no previous research has mentioned a complete functional DoH detection applied to network infrastructure. Therefore, we propose a detection system for DoH tunneling attacks based on Transformer to detect a malicious DoH tunneling and build a fully functional DoH detection system that can be integrated with the security operation system of an enterprise network. The experiment results show a significant improvement compared with previous works.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Internet Traffic Analysis and Secure E-voting · Network Security and Intrusion Detection · Advanced Malware Detection Techniques
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Information Communication, Materials and Chemistry Convergence Technology, Soongsil University, Seoul 06978, Korea
School of Electronic Engineering, Soongsil University, Seoul 06978, Korea
Funding
National Research Foundation of Korea
References (42)
Show source-provided references
1. Houser, R., Hao, S., Li, Z., Liu, D., Cotton, C., and Wang, H. (2021, January 20–23). A Comprehensive Measurement-based Investigation of DNS Hijacking. Proceedings of the 2021 40th International Symposium on Reliable Distributed Systems (SRDS), Chicago, IL, USA.10.1109/SRDS53918.2021.00029 ↗
2. Stewart, J. (2022, February 23). Dns Cache Poisoning—The Next Generation. Available online: https://www.ida.liu.se/~TDDD17/literature/dnscache.pdf.
3. Vaughn, R. (2022, February 23). DNS Amplification Attacks (Preliminary Release). Available online: http://index-of.es/Tutorials/AstalaVista/dns-amplification-attacks.pdf.
4. A comprehensive survey on DNS tunnel detection10.1016/j.comnet.2021.108322 ↗
5. (2021, December 23). OpenDNS. Available online: https://www.opendns.com/.
6. (2021, December 23). DNSFilter. Available online: https://www.dnsfilter.com/.
7. (2021, December 23). Infoblox BloxOne Threat Defense. Available online: https://www.infoblox.com/products/bloxone-threat-defense/.
8. Bieler, D., and Kindness, A. (2021, February 09). The Enterprise Network Enables Business Innovation. Available online: https://www.hughes.com/.
9. (2022, February 09). Domain Name System—Request For Comments 1034. Available online: https://tools.ietf.org/html/rfc1034.
10. Carli, F. (2022, February 09). Security Issues with DNS. Available online: https://www.sans.org/white-papers/1069/.
11. A survey of domain name system vulnerabilities and attacks
12. Guha, S., and Francis, P. (2007, January 20–22). Identity trail: Covert surveillance using DNS. Proceedings of the Internationl Workshop on Privacy Enhancing Technologies (PET), Ottawa, BC, Canada.
13. Hoffman, P., and McManus, P. (2021, May 23). RFC 8484—DNS Queries over HTTPS. October 2018. Available online: https://datatracker.ietf.org/doc/html/rfc8484.10.17487/RFC8484 ↗
14. Mockapetris, P. (2022, February 23). Domain Names—Implementation and Specification. Available online: https://datatracker.ietf.org/doc/html/rfc1035.
15. Montazeri Shatoori, M., Davidson, L., Kaur, G., and Lashkari, A.H. (2020, January 17–22). Detection of DoH Tunnels using Time-series Classification of Encrypted Traffic. Proceedings of the 2020 IEEE International Conference on Dependable, Autonomic and Secure Computing, International Conference on Pervasive Intelligence and Computing, International Conference on Cloud and Big Data Computing, International Conference on Cyber Science and Technology Congress (DASC/PiCom/CBDCom/CyberSciTech), Calgary, AB, Canada.10.1109/DASC-PICom-CBDCom-CyberSciTech49142.2020.00026 ↗
16. Liu, J.K., Katsikas, S., Meng, W., Susilo, W., and Intan, R. (2021). Identifying Malicious DNS Tunnel Tools from DoH Traffic Using Hierarchical Machine Learning Classification. Information Security. ISC 2021, Springer. Lecture Notes in Computer Science.
17. Singh, S.K., and Roy, P.K. (2020, January 20–21). Detecting Malicious DNS over HTTPS Traffic Using Machine Learning. Proceedings of the 2020 International Conference on Innovation and Intelligence for Informatics, Computing and Technologies (3ICT), Sakheer, Bahrain.10.1109/3ICT51146.2020.9312004 ↗
18. De Vries, L.J.W. (2021, December 23). Detection of DoH Tunnelling: Comparing Supervised with Unsupervised Learning. Available online: http://essay.utwente.nl/88335/.
19. Deep Learning for Encrypted Traffic Classification: An Overview10.1109/MCOM.2019.1800819 ↗
20. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., and Polosukhin, I. (2017). Attention Is All You Need. arXiv.
21. (2022, February 23). CISA Alert (TA13-088A) DNS Amplication Attacks, Available online: https://www.cisa.gov/uscert/ncas/alerts/TA13-088A.
22. Maksutov, A.A., Cherepanov, I.A., and Alekseev, M.S. (2017, January 12–13). Detection and prevention of DNS spoofing attacks. Proceedings of the 2017 Siberian Symposium on Data Science and Engineering (SSDSE), Novosibirsk, Russia.10.1109/SSDSE.2017.8071970 ↗
23. Arends, R., and Telematica Instituut (2022, February 09). “DNS Security Introduction and Requirements” RFC4033. Available online: https://datatracker.ietf.org/doc/html/rfc4033.
24. DNS tunneling detection through statistical fingerprints of protocol messages and machine learning10.1002/dac.2836 ↗
25. Bottger, T., Cuadrado, F., Antichi, G., Fernandes, E.L., Tyson, G., Castro, I., and Uhlig, S. (2019, January 21–23). An Empirical Study of the Cost of DNS-over-HTTPS. Proceedings of the Internet Measurement Conference, Amsterdam, The Netherlands.10.1145/3355369.3355575 ↗
26. Hounsel, A., Borgolte, K., Schmitt, P., Holland, J., and Feamster, N. (2019, January 22). Analyzing the costs (and benefits) of DNS, DoT, and DoH for the modern web. Proceedings of the Applied Networking Research Workshop, Montreal, QC, Canada.10.1145/3340301.3341129 ↗
27. Wijenbergh, J., Moonsamy, V., van Rijsdijk-Deij, R., and Kuijsters, D.D. (2019). Performance comparison of DNS over HTTPS to Unencrypted DNS. [Bachelor’s Thesis, Radboud University].
28. Siby, S., Juarez, M., Vallina-Rodriguez, N., and Troncoso, C. (2021, December 23). DNS Privacy not So Private: The Traffic Analysis Perspective. Available online: https://cpb-us-e1.wpmucdn.com/sites.usc.edu/dist/5/475/files/2020/01/hotpets18.pdf.
29. Siby, S., Juarez, M., Diaz, C., Vallina-Rodriguez, N., and Troncoso, C. (2019). Encrypted DNS → Privacy? A Traffic Analysis Perspective. arXiv.10.14722/ndss.2020.24301 ↗
30. Bushart, J., and Rossow, C. (2019). Padding Ain’t Enough: Assessing the Privacy Guarantees of Encrypted DNS. arXiv.
31. Lu, C., Liu, B., Li, Z., Hao, S., Duan, H., Zhang, M., Leng, C., Liu, Y., Zhang, Z., and Wu, J. (2019, January 21–23). An end-to-end, large-scale measurement of DNS-over-Encryption: How far have we come?. Proceedings of the Internet Measurement Conference, Amsterdam, The Netherlands.10.1145/3355369.3355580 ↗
32. Nijeboer, F. (2020). Detection of Https Encrypted Dns Traffic. [Bachelor’s Thesis, University of Twente].
33. Hjelm, D. (2021, December 23). A New Needle and Haystack: Detecting DNS over HTTPS Usage. Available online: https://www.sans.org/white-papers/39160/.
34. (2021, December 23). Godlua Backdoor. Available online: https://blog.netlab.360.com/an-analysis-of-godlua-backdoor-en/.
35. (2021, December 23). What Is the ELK Stack?, Available online: https://www.elastic.co/what-is/elk-stack.
36. (2021, December 23). Checkpoint SOC. Available online: https://www.checkpoint.com/cyber-hub/threat-prevention/what-is-soc/.
37. (2021, December 23). Alexa Traffic Rank. Available online: https://www.alexa.com/topsites.
38. (2021, December 23). dns2tcp. Available online: https://github.com/alex-sector/dns2tcp.
39. (2021, December 23). DNSCat2. Available online: https://github.com/iagox86/dnscat2.
40. (2021, December 23). Iodine. Available online: https://github.com/yarrick/iodine.
41. (2021, December 23). tcpdump. Available online: https://github.com/the-tcpdump-group/tcpdump.
42. (2021, December 23). CICFlowMeter. Available online: https://github.com/ahlashkari/CICFlowMeter.