Detecting Malicious DNS over HTTPS Traffic Using Machine Learning
Authors:
- 20 December 2020
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Abstract
Network with the internet has grown-up very faster compared with any other technology around the world. From the beginning of the Internet, the Domain name system (DNS) is an integral and important part of it. The primary task of DNS is to redirect the users at correct computers, applications, and files by mapping IP and domain name. Due to certain security flaws of DNS, it is always a major attack target for attackers like DNSbased malware, DNS-amplification, false-positive triggering, DNS tunneling, etc. DNS over TLS (DoT) and DNS over HTTPS (DoH) are recently developed and deployed by Google and Cloudflare to prevent these types of attacks. DoT and DoH are the standard protocols which mainly designed for privacy and security by encrypting the DNS traffic between users and DNS resolver servers. This paper uses various machine learning classifiers such as (i) Naive Bayes (NB), ii) Logistic Regression (LR), iii) Random Forest (RF), (iv) K-Nearest Neighbor (KNN), and (v) Gradient Boosting (GB) to detect the malicious activity at DNS level in the DoH environment. The experiments are conducted on a benchmark MoH dataset (CIRA-CIC-DoHBrw-2020). Several features are used to develop a robust model. The experimental outcome confirmed that the RF and GB classifiers are better choices for the said problem. Since, majority of the malicious activity detected by the developed model, it can be said that the ML-based algorithms are a better option for the prevention of DNS attacks on DoH traffic.Keywords
This publication has 11 references indexed in Scilit:
- An investigation on information leakage of DNS over TLS2019
- A Survey on DNS Security Issues and Mitigation Techniques2019
- How DNS over HTTPS is Reshaping Privacy, Performance, and Policy in the Internet EcosystemSSRN Electronic Journal, 2019
- Investigating Data Exfiltration in DNS Over HTTPS Queries2019
- Design and Implementation of Traditional DNS Protocol2017
- Detection and prevention of DNS spoofing attacks2017
- DNS Privacy Considerations2015
- Use of K-Nearest Neighbor classifier for intrusion detectionComputers & Security, 2002
- Random ForestsMachine Learning, 2001
- Greedy function approximation: A gradient boosting machine.The Annals of Statistics, 2001