Enhancing intrusion detection in encrypted DoH traffic through a robust ensemble learning framework
Clinical Snapshot
PICO Framework
| P — Population | Encrypted DNS over HTTPS (DoH) network traffic datasets (CIRA-CIC-DoHBrw-2020 and DoH-Tunnel-Traffic-HKD) |
| I — Intervention | Stacked ensemble learning framework with LSTM/GRU base learners and XGBoost meta-learner |
| C — Comparator | Individual base classifiers and existing state-of-the-art intrusion detection approaches |
| O — Outcomes | Detection accuracy metrics (recall, F1-score, AUC-ROC, AUC-PR), computational efficiency (training and inference time) |
Bottom Line
This study presents a sophisticated ensemble learning framework for detecting malicious traffic in encrypted DNS over HTTPS (DoH) channels, achieving exceptional performance metrics (>99% accuracy) across multiple datasets. The approach combines LSTM and GRU neural networks with XGBoost meta-learning, demonstrating both high accuracy and computational efficiency. While the technical methodology appears robust with proper cross-validation and feature selection, the near-perfect performance metrics raise questions about potential overfitting and real-world generalisability. For Australian healthcare organisations, this framework could enhance network security for protecting patient data transmission, though local validation would be prudent before implementation. The computational efficiency makes it suitable for real-time deployment in clinical environments where encrypted DNS traffic monitoring is critical for maintaining data security and regulatory compliance.
Key Findings
P Value: Not reported
Effect Size: CIC-DoH: 0.9996 recall, 0.9999 F1-score, 1.0000 AUC-PR; HKD-DoH: 0.9998 recall, 0.9999 F1-score, 1.0000 AUC-ROC/AUC-PR
Primary Outcome: Intrusion detection accuracy in encrypted DoH traffic
Nnt Or Sensitivity: Sensitivity (recall): 99.96% (CIC-DoH), 99.98% (HKD-DoH)
Confidence Interval: Not reported
Clinical Application
High feasibility given low computational requirements (1.26s training, 0.129s inference) suitable for real-time deployment Relevant for Australian healthcare networks complying with Privacy Act 1988 and NHMRC data security guidelines, particularly for protecting patient data transmission Healthcare organisations and enterprises requiring robust network security for encrypted DNS traffic monitoring
Abstract
The DNS over HTTPS (DoH) protocol enhances user privacy by encrypting DNS queries and responses within HTTPS. However, this encryption enables attackers to tunnel malicious traffic through covert DoH channels and make detection difficult for network security and enterprises. In this study, we propose a stacked ensemble approach that employs four sequential base learners' - two Long Short-Term Memory (LSTM) and two Gated Recurrent Unit (GRU) neural networks as base classifier networks with varied hyperparameters and XGBoost (eXtreme Gradient Boosting) as the meta-learner. An XGBoost model trained on out-of-fold predictions generated by base learners supported through stratified 5-fold cross validation. We also applied Recursive Feature Elimination (RFE) with XGBoost for cross-validated feature selection and decreased high-dimensional feature spaces from 29 to 13 and 20 features on the CIRA-CIC-DoHBrw-2020 and DoH-Tunnel-Traffic-HKD datasets respectively. The proposed framework was evaluated on the CIRA-CIC-DoHBrw-2020 and DoH-Tunnel-Traffic-HKD datasets achieved 0.9996 recall, 0.9999 F1-score and 1.0000 AUC-PR on CIC-DoH dataset and 0.9998 recall, 0.9999 F1-score, and 1.0000 for both AUC-ROC and AUC-PR on HKD-DoH dataset. The proposed model outperforms all individual base classifiers, evaluated ML models, and existing state-of-the-art approaches. The proposed XGBoost meta-model needs only 1.26 seconds for training and 0.129 seconds for inference on HKD-DoH dataset, thus making the proposed framework both highly accurate and computationally efficient for real-world intrusion detection in encrypted DoH traffic.The preprocessed data and the source code supporting the findings of this study are available at: https://github.com/soreettihussein/Stacked-ensemble-meta-learning-IDS-for-DoH-network-traffic/tree/main.
Related Research
Journal of medical Internet research
Blockchain-Enabled Self-Sovereign Identity Applications in Health Care: Scoping Review
28 May 2026
PloS one
A hybrid machine learning and explainable AI framework for optimizing risk-based authentication
27 May 2026
PloS one
Design and evaluation of a resilient IBN architecture: Integrating post-quantum cryptography with adaptive threat detection using machine learning
17 May 2026
This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service