Netinfo Security ›› 2024, Vol. 24 ›› Issue (1): 60-68.doi: 10.3969/j.issn.1671-1122.2024.01.006

Previous Articles     Next Articles

Design and Implementation of Tor Traffic Detection Algorithm Based on Federated Learning

ZHAO Jia1,2, YANG Bokai1,2(), RAO Xinyu1,2, GUO Yating1,2   

  1. 1. Intelligent Traffic Data Security and Privacy Protection Laboratory, Beijing Jiaotong University, Beijing 100044, China
    2. School of Computer Science and Information Technology, Beijing Jiaotong University, Beijing 100044, China
  • Received:2023-11-14 Online:2024-01-10 Published:2024-01-24
  • Contact: YANG Bokai E-mail:23120488@bjtu.edu.cn

Abstract:

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.

Key words: federated learning, Tor traffic, detection systems, DP-SGD, data privacy

CLC Number: