{"title":"基于加权K-NN的暗网流量分层分类方法","authors":"Kaichao Shi, Baihe Ma, Yong Zeng, Xiaojie Lin, Zhe Wang, Ziwen Wang","doi":"10.1109/NaNA56854.2022.00045","DOIUrl":null,"url":null,"abstract":"In recent years, anonymous networks are used very frequently. Difficulties in tracking user's identities increase with the frequent usage of anonymity networks. This increases the difficulty of detecting cybercriminal activity. To prevent crime, darknet traffic needs to be monitored. Most of the existing dark-net researches focuses on the Tor without adequate consideration of other darknets. Moreover, most of the work content focuses on distinguishing normal traffic and darknet traffic, and lacks a fine-grained classification method for darknet traffic. This paper proposes a hierarchical classification method for the network traffic of FreeNet, one of the most frequently used darknets, which can distinguish between normal traffic and FreeNet traffic, as well as five FreeNet user behaviors. We train the classifier based on the weighted K-NN. The experimental results show that the proposed classifier distinguishes normal traffic from FreeNet traffic with an average accuracy of 99.6% and five user behaviors with an average accuracy of 95.8%. We compared our classifier with existing works such as decision tree (DT), Gaussian naive Bayes (Gaussian NB), and K-NN. The results show that the accuracy of the classifier is the highest when distinguishing user behavior. Compared with the above three models, the accuracy of the classifier is improved by 1.86%, 57.95%, and 3.10% respectively.","PeriodicalId":113743,"journal":{"name":"2022 International Conference on Networking and Network Applications (NaNA)","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Layered classification method for darknet traffic based on Weighted K-NN\",\"authors\":\"Kaichao Shi, Baihe Ma, Yong Zeng, Xiaojie Lin, Zhe Wang, Ziwen Wang\",\"doi\":\"10.1109/NaNA56854.2022.00045\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In recent years, anonymous networks are used very frequently. Difficulties in tracking user's identities increase with the frequent usage of anonymity networks. This increases the difficulty of detecting cybercriminal activity. To prevent crime, darknet traffic needs to be monitored. Most of the existing dark-net researches focuses on the Tor without adequate consideration of other darknets. Moreover, most of the work content focuses on distinguishing normal traffic and darknet traffic, and lacks a fine-grained classification method for darknet traffic. This paper proposes a hierarchical classification method for the network traffic of FreeNet, one of the most frequently used darknets, which can distinguish between normal traffic and FreeNet traffic, as well as five FreeNet user behaviors. We train the classifier based on the weighted K-NN. The experimental results show that the proposed classifier distinguishes normal traffic from FreeNet traffic with an average accuracy of 99.6% and five user behaviors with an average accuracy of 95.8%. We compared our classifier with existing works such as decision tree (DT), Gaussian naive Bayes (Gaussian NB), and K-NN. The results show that the accuracy of the classifier is the highest when distinguishing user behavior. Compared with the above three models, the accuracy of the classifier is improved by 1.86%, 57.95%, and 3.10% respectively.\",\"PeriodicalId\":113743,\"journal\":{\"name\":\"2022 International Conference on Networking and Network Applications (NaNA)\",\"volume\":\"38 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 International Conference on Networking and Network Applications (NaNA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/NaNA56854.2022.00045\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 International Conference on Networking and Network Applications (NaNA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/NaNA56854.2022.00045","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Layered classification method for darknet traffic based on Weighted K-NN
In recent years, anonymous networks are used very frequently. Difficulties in tracking user's identities increase with the frequent usage of anonymity networks. This increases the difficulty of detecting cybercriminal activity. To prevent crime, darknet traffic needs to be monitored. Most of the existing dark-net researches focuses on the Tor without adequate consideration of other darknets. Moreover, most of the work content focuses on distinguishing normal traffic and darknet traffic, and lacks a fine-grained classification method for darknet traffic. This paper proposes a hierarchical classification method for the network traffic of FreeNet, one of the most frequently used darknets, which can distinguish between normal traffic and FreeNet traffic, as well as five FreeNet user behaviors. We train the classifier based on the weighted K-NN. The experimental results show that the proposed classifier distinguishes normal traffic from FreeNet traffic with an average accuracy of 99.6% and five user behaviors with an average accuracy of 95.8%. We compared our classifier with existing works such as decision tree (DT), Gaussian naive Bayes (Gaussian NB), and K-NN. The results show that the accuracy of the classifier is the highest when distinguishing user behavior. Compared with the above three models, the accuracy of the classifier is improved by 1.86%, 57.95%, and 3.10% respectively.