多方协作检测加密域名攻击,保护隐私且实时高效。
CO-DEFEND: Continuous Decentralized Federated Learning for Secure DoH-Based Threat Detection
- 采用去中心化联邦学习,各机构本地训练模型并共享参数更新。
- 在CIRA-CIC-DoHBrw-2020数据集上准确率达98.7%,优于传统神经网络。
- 使用决策树与随机森林作模型选择,兼顾可解释性与性能提升。
攻击者利用加密的DNS over HTTPS(DoH)隧道隐藏恶意行为,使传统监测系统难以发现,严重威胁网络安全。尽管机器学习可用于检测此类隧道,但其效果依赖于包含良性与恶意流量的大规模数据集,而跨机构共享数据面临隐私挑战。本文提出CO-DEFEND框架,实现多实体在保护数据隐私的前提下协同训练用于DoH威胁检测的分类模型,提升系统可扩展性与抗单点故障能力。该去中心化联邦学习框架支持对实时流入的DoH流量进行在线批量训练,适配现代互联网架构。我们针对支持向量机、逻辑回归、决策树与随机森林四类经典算法进行了联邦化改造,并创新性地将决策树与随机森林用作模型选择而非聚合机制,使各参与方既能保留可解释的本地最优结构,又可获得集体更新优势。基于CIRA-CIC-DoHBrw-2020数据集的实验表明,本方法在检测恶意DoH隧道方面表现优异,准确率达98.7%,同时显著优于计算复杂的神经网络模型,在效率与可扩展性上更具优势。
原文摘要 · Abstract (English)
The use of DNS over HTTPS (DoH) tunneling by an attacker to hide malicious activity within encrypted DNS traffic poses a serious threat to network security, as it allows malicious actors to bypass traditional monitoring and intrusion detection systems while evading detection by conventional traffic analysis techniques. ML techniques can be used to detect DoH tunnels; however, their effectiveness relies on large datasets containing both benign and malicious traffic. Sharing such datasets across entities is challenging due to privacy concerns. In this work, we propose CO-DEFEND framework that enables multiple entities to collaboratively train a classification machine learning model for DoH threat detection while preserving data privacy, enhancing scalability and resilience against single points of failure. The proposed DFL framework provides a realistic implementation for DoH threat detection, enabling multiple entities to train their local models online with incoming DoH flows in real-time batches as they are processed - an approach that fits naturally within modern Internet architectures. This framework adapts four classical machine learning algorithms, Support Vector Machines, Logistic Regression, Decision Trees, and Random Forest, for federated scenarios and efficient training. In addition, a key methodological feature of CO-DEFEND is the use of DT and RF as model selection rather than aggregation mechanisms, allowing each participant to retain interpretable and locally optimal decision structures while benefiting from collective updates. We compare our proposed method by using the dataset CIRA-CIC-DoHBrw-2020 with existing machine learning approaches, including more computationally complex alternatives such as neural networks, to demonstrate its effectiveness in detecting malicious DoH tunnels while improving scalability and computational efficiency.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。