{"title":"Neural network-based encrypted traffic classification and application categorization framework for the tor network","authors":"Tahira Mahboob, Min Young Chung","doi":"10.1007/s12243-025-01106-z","DOIUrl":null,"url":null,"abstract":"<div><p>Traffic classification can be useful in network monitoring, quality-of-service management, and intrusion detection. Recently, the number/types of applications have grown and new protocols are required. Conventional traffic classification methods do not adapt effectively, and the problem becomes more severe for encrypted traffic. Operators must encrypt most network traffic due to increased demand for user privacy. This paper proposes a deep learning (DL)–based encrypted traffic categorization and application service classification method. Two well-known neural networks, namely a deep neural network (DNN) and convolutional neural network (CNN), are implemented for classification while considering temporal features. We study the performance of DL models with various feature selection methods (FSM) and different TCP traffic flow timeouts. We propose use case scenario for encrypted traffic classification in a software-defined wireless network (SDWN). The results indicate DNN model using information gain (IG), and a TCP timeout of 60 s provides an accuracy of 100% and a generalization gap (GG) of 0.001 in the training phase, for encrypted and benign traffic classification. Testing accuracy and loss of 99.9% and 0.01, respectively, are achieved. In the CNN model using correlation (Corr), a TCP timeout of 120 s has accuracy of 90% and a GG of 0.7 in the training phase. Testing an accuracy and a loss up to 84.2% and 0.81, respectively, is achieved. Execution timesteps of 30 and 220µs are estimated for traffic categorization and application service classification. Compared to existing work, the DL model shows improvements of up to 86%, 64%, and 21% in F1-score, precision, and recall values, respectively. The source code is available at github repository: https://github.com/tmahboob/ToR-Traffic-Classification-using-Neural-Networks.</p></div>","PeriodicalId":50761,"journal":{"name":"Annals of Telecommunications","volume":"81 3-4","pages":"211 - 231"},"PeriodicalIF":2.2000,"publicationDate":"2025-07-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Annals of Telecommunications","FirstCategoryId":"94","ListUrlMain":"https://link.springer.com/article/10.1007/s12243-025-01106-z","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"TELECOMMUNICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
Traffic classification can be useful in network monitoring, quality-of-service management, and intrusion detection. Recently, the number/types of applications have grown and new protocols are required. Conventional traffic classification methods do not adapt effectively, and the problem becomes more severe for encrypted traffic. Operators must encrypt most network traffic due to increased demand for user privacy. This paper proposes a deep learning (DL)–based encrypted traffic categorization and application service classification method. Two well-known neural networks, namely a deep neural network (DNN) and convolutional neural network (CNN), are implemented for classification while considering temporal features. We study the performance of DL models with various feature selection methods (FSM) and different TCP traffic flow timeouts. We propose use case scenario for encrypted traffic classification in a software-defined wireless network (SDWN). The results indicate DNN model using information gain (IG), and a TCP timeout of 60 s provides an accuracy of 100% and a generalization gap (GG) of 0.001 in the training phase, for encrypted and benign traffic classification. Testing accuracy and loss of 99.9% and 0.01, respectively, are achieved. In the CNN model using correlation (Corr), a TCP timeout of 120 s has accuracy of 90% and a GG of 0.7 in the training phase. Testing an accuracy and a loss up to 84.2% and 0.81, respectively, is achieved. Execution timesteps of 30 and 220µs are estimated for traffic categorization and application service classification. Compared to existing work, the DL model shows improvements of up to 86%, 64%, and 21% in F1-score, precision, and recall values, respectively. The source code is available at github repository: https://github.com/tmahboob/ToR-Traffic-Classification-using-Neural-Networks.
期刊介绍:
Annals of Telecommunications is an international journal publishing original peer-reviewed papers in the field of telecommunications. It covers all the essential branches of modern telecommunications, ranging from digital communications to communication networks and the internet, to software, protocols and services, uses and economics. This large spectrum of topics accounts for the rapid convergence through telecommunications of the underlying technologies in computers, communications, content management towards the emergence of the information and knowledge society. As a consequence, the Journal provides a medium for exchanging research results and technological achievements accomplished by the European and international scientific community from academia and industry.