Tor网络作为第二代匿名互联网通信系统,常被网络罪犯用于进行网络攻击和欺诈等恶意活动,给网络安全带来了严重的威胁和挑战.为解决该问题,文章提出一种基于联邦学习的Tor流量检测方法.目前Tor流量检测以单主机检测为主,存在效率低和无法实现数据共享的问题,文章采用联邦学习技术和DP-SGD算法确保各参与方在保护用户隐私的前提下构建全局模型,解决数据孤岛问题.实验证明,该模型在保障用户数据隐私的同时,具有 92%的整体准确率、90%的准确率和 92%的召回率.文章通过对比实验进一步验证了模型在隐私保护和分类效果上的优越性.
The Tor network,a second-gen anonymous internet communication system,has often been exploited by cybercriminals for malicious activities like network attacks and fraud,creating cybersecurity threats and challenges.In response,this paper presented a Tor traffic detection method using federated learning.Current Tor traffic detection mainly relies on single-host detection,resulting in low efficiency and data-sharing challenges.By utilizing federated learning technology and the DP-SGD algorithm,this paper empowers participants to construct a global model while safeguarding user privacy,addressing data isolation.Experimental results show the model achieves 92%overall accuracy,90%precision,and 92%recall,ensuring user data privacy.Comparative experiments further confirm the model's superiority in privacy protection and classification effectiveness.