Neural network-based encrypted traffic classification and application categorization framework for the tor network

IF 2.2 4区 计算机科学 Q3 TELECOMMUNICATIONS
Tahira Mahboob, Min Young Chung
{"title":"Neural network-based encrypted traffic classification and application categorization framework for the tor network","authors":"Tahira Mahboob,&nbsp;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.

Abstract Image

基于神经网络的加密流量分类与应用分类框架
流分类在网络监控、服务质量管理和入侵检测中非常有用。最近,应用程序的数量和类型都在增长,需要新的协议。传统的流分类方法不能很好地适应这种情况,对于加密的流分类问题更加严重。由于对用户隐私需求的增加,运营商必须对大多数网络流量进行加密。提出了一种基于深度学习的加密流量分类和应用服务分类方法。两个著名的神经网络,即深度神经网络(DNN)和卷积神经网络(CNN),在考虑时间特征的情况下实现分类。我们研究了不同特征选择方法(FSM)和不同TCP流量超时下深度学习模型的性能。提出了软件定义无线网络(SDWN)中加密流分类的用例方案。结果表明,使用信息增益(IG)和TCP超时60秒的DNN模型在训练阶段为加密和良性流量分类提供了100%的准确率和0.001的泛化差距(GG)。测试精度为99.9%,测试损耗为0.01。在使用相关性(Corr)的CNN模型中,TCP超时120 s在训练阶段的准确率为90%,GG为0.7。测试精度和损耗分别达到84.2%和0.81。流量分类和应用服务分类的执行时间步分别为30µs和220µs。与现有工作相比,DL模型在f1得分、精度和召回值方面分别提高了86%、64%和21%。源代码可在github存储库:https://github.com/tmahboob/ToR-Traffic-Classification-using-Neural-Networks。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Annals of Telecommunications
Annals of Telecommunications 工程技术-电信学
CiteScore
5.20
自引率
5.30%
发文量
37
审稿时长
4.5 months
期刊介绍: 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.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书