JOURNAL ARTICLE

Darknet Traffic Classification using Machine Learning Techniques

Abstract

A Darknet is an overlay network within the Internet, and packets' traffic originating from it is usually termed as suspicious. In this paper common machine learning classification algorithms are employed to identify Darknet traffic. A ROC analysis along with a feature importance analysis for the best classifier was performed, to provide a better visualisation of the results. The experiments were conducted in the new dataset CIC-Darknet2020 and the classifiers were trained to both binary and multiclass classification. In the first classification task, there were two classes: "Benign" and "Darknet", whereas in the second there were four classes: "Tor", "Non Tor", "VPN" and "Non VPN". An average prediction accuracy of over 98% was achieved with the implementation of Random Forest algorithm for both classification tasks. This is the first work, to the best of our knowledge providing a comprehensive performance evaluation of machine learning classifiers employed for Darknet traffic classification in the new dataset CIC-Darknet2020.

Keywords:
Computer science Traffic classification Artificial intelligence Machine learning Random forest Binary classification Multiclass classification Classifier (UML) The Internet Statistical classification Network packet Data mining Support vector machine Computer network World Wide Web

Metrics

40
Cited By
4.80
FWCI (Field Weighted Citation Impact)
23
Refs
0.96
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Internet Traffic Analysis and Secure E-voting
Physical Sciences →  Computer Science →  Artificial Intelligence
Network Security and Intrusion Detection
Physical Sciences →  Computer Science →  Computer Networks and Communications
Advanced Malware Detection Techniques
Physical Sciences →  Computer Science →  Signal Processing

Related Documents

JOURNAL ARTICLE

Darknet traffic classification and adversarial attacks using machine learning

Nhien Rust-NguyenShruti SharmaMark Stamp

Journal:   Computers & Security Year: 2023 Vol: 127 Pages: 103098-103098
JOURNAL ARTICLE

A Metaheuristic Machine Learning Approach for Darknet Traffic Classification

Azza Hassan

Journal:   International Journal of Computing Year: 2025 Pages: 480-492
JOURNAL ARTICLE

Internet Traffic Classification Using Machine Learning Techniques

Debmalya Ray

Journal:   International Scientific Journal of Engineering and Management Year: 2024 Vol: 03 (03)Pages: 1-9
JOURNAL ARTICLE

Darknet Traffic Classification with Machine Learning Algorithms and SMOTE Method

Hasan KaragölOğuzhan ErdemBarkın AkbaşTuncay Soylu

Journal:   2022 7th International Conference on Computer Science and Engineering (UBMK) Year: 2022 Pages: 374-378
© 2026 ScienceGate Book Chapters — All rights reserved.