Comparative Classification of DNS-over-HTTPS Traffic on the CIRACIC-DoHBrw-2020 Dataset Using Logistic Regression, Random Forest and XGBoost
Ikiomoye Douglas Emmanuel
University of South Africa
Key points
From the paper's conclusion- The results demonstrate strong within-benchmark separation, but they do not establish cross-network or operational generalisation.
Abstract
DNS over HTTPS (DoH) improves the confidentiality of domain-name resolution but reduces the visibility available to enterprise monitoring and security systems because DNS is carried within encrypted HTTPS traffic. This study compares Logistic Regression, Random Forest, and XGBoost for distinguishing DoH from non-DoH HTTPS traffic while examining predictive performance, computational cost, and model interpretability. The models were evaluated using the cleaned Layer 1 representation of the CIRA-CIC-DoHBrw-2020 dataset, which contains 1,019,117 flow records and 29 statistical predictors. The controlled protocol used three repeated 80:20 stratified development-test splits (seeds 42, 52, and 62), three-fold cross-validation, class-imbalance treatment, held-out testing, execution-time measurement, and permutation importance. Random Forest produced the strongest threshold-dependent results, achieving a macro F1 of 0.9965, MCC of 0.9930, and false-positive rate of 0.0011. XGBoost obtained the highest Average Precision (0.9994) and required a mean training time of 31.40 seconds, approximately 95.8% lower than Random Forest (743.42 seconds). Logistic Regression was computationally efficient but yielded lower DoH precision and a false-positive rate of 0.1197. PacketLengthMode was the most influential feature for both tree-based models. The results demonstrate strong within-benchmark separation, but they do not establish cross-network or operational generalisation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Enhancing intrusion detection in encrypted DoH traffic through a robust ensemble learning frameworkPLoS ONE · 2026
- Fog-Deployable XGBoost Framework for DDoS Detection in IoT Networks.Sensors (Basel, Switzerland) · 2026
- The Split Protocol Decides the Result: Re-Evaluating Encrypted Traffic ClassificationarXiv · 2026
- GreenNIDS: A Benchmark Workflow and Analysis Dataset for NetFlow Intrusion Detection ExperimentsarXiv · 2026
- An optimized gradient boosting framework for IoT intrusion detection: a comprehensive evaluation on the CICIoT2023 datasetScientific Reports · 2026
- AI-driven simulated DDoS attacks in OMNeT++ using SHAP-based explainability analysisDiscover Computing · 2026