Evaluation of Machine Learning Techniques for Traffic Flow-Based Intrusion Detection

被引:13
|
作者
Rodriguez, Maria [1 ]
Alesanco, Alvaro [1 ]
Mehavilla, Lorena [1 ]
Garcia, Jose [1 ]
机构
[1] Univ Zaragoza, Aragon Inst Engn Res I3A, Zaragoza 50018, Spain
关键词
CICIDS2017; datasets; intrusion detection; machine learning; traffic flows; Weka; Zeek; SYSTEMS;
D O I
10.3390/s22239326
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
Cybersecurity is one of the great challenges of today's world. Rapid technological development has allowed society to prosper and improve the quality of life and the world is more dependent on new technologies. Managing security risks quickly and effectively, preventing, identifying, or mitigating them is a great challenge. The appearance of new attacks, and with more frequency, requires a constant update of threat detection methods. Traditional signature-based techniques are effective for known attacks, but they are not able to detect a new attack. For this reason, intrusion detection systems (IDS) that apply machine learning (ML) techniques represent an alternative that is gaining importance today. In this work, we have analyzed different machine learning techniques to determine which ones permit to obtain the best traffic classification results based on classification performance measurements and execution times, which is decisive for further real-time deployments. The CICIDS2017 dataset was selected in this work since it contains bidirectional traffic flows (derived from traffic captures) that include benign traffic and different types of up-to-date attacks. Each traffic flow is characterized by a set of connection-related attributes that can be used to model the traffic and distinguish between attacks and normal flows. The CICIDS2017 also contains the raw network traffic captures collected during the dataset creation in a packet-based format, thus permitting to extract the traffic flows from them. Various classification techniques have been evaluated using the Weka software: naive Bayes, logistic, multilayer perceptron, sequential minimal optimization, k-nearest neighbors, adaptive boosting, OneR, J48, PART, and random forest. As a general result, methods based on decision trees (PART, J48, and random forest) have turned out to be the most efficient with F1 values above 0.999 (average obtained in the complete dataset). Moreover, multiclass classification (distinguishing between different types of attack) and binary classification (distinguishing only between normal traffic and attack) have been compared, and the effect of reducing the number of attributes using the correlation-based feature selection (CFS) technique has been evaluated. By reducing the complexity in binary classification, better results can be obtained, and by selecting a reduced set of the most relevant attributes, less time is required (above 30% of decrease in the time required to test the model) at the cost of a small performance loss. The tree-based techniques with CFS attribute selection (six attributes selected) reached F1 values above 0.990 in the complete dataset. Finally, a conventional tool like Zeek has been used to process the raw traffic captures to identify the traffic flows and to obtain a reduced set of attributes from these flows. The classification results obtained using tree-based techniques (with 14 Zeek-based attributes) were also very high, with F1 above 0.997 (average obtained in the complete dataset) and low execution times (allowing several hundred thousand flows/s to be processed). These classification results obtained on the CICIDS2017 dataset allow us to affirm that the tree-based machine learning techniques may be appropriate in the flow-based intrusion detection problem and that algorithms, such as PART or J48, may offer a faster alternative solution to the RF technique.
引用
收藏
页数:30
相关论文
共 50 条
  • [31] A flow-based intrusion detection framework for internet of things networks
    Santos, Leonel
    Goncalves, Ramiro
    Rabadao, Carlos
    Martins, Jose
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2023, 26 (01): : 37 - 57
  • [32] Gap, techniques and evaluation: traffic flow prediction using machine learning and deep learning
    Razali, Noor Afiza Mat
    Shamsaimon, Nuraini
    Ishak, Khairul Khalil
    Ramli, Suzaimah
    Amran, Mohd Fahmi Mohamad
    Sukardi, Sazali
    JOURNAL OF BIG DATA, 2021, 8 (01)
  • [33] Performance Analysis of Machine Learning Techniques in Intrusion Detection
    Tungjaturasopon, Praiya
    Piromsopa, Krerk
    PROCEEDINGS OF 2018 VII INTERNATIONAL CONFERENCE ON NETWORK, COMMUNICATION AND COMPUTING (ICNCC 2018), 2018, : 6 - 10
  • [34] Machine learning techniques for web intrusion detection - a comparison
    Truong Son Pham
    Tuan Hao Hoang
    Van Canh Vu
    2016 EIGHTH INTERNATIONAL CONFERENCE ON KNOWLEDGE AND SYSTEMS ENGINEERING (KSE), 2016, : 291 - 297
  • [35] Machine Learning Techniques for Intrusion Detection: A Comparative Analysis
    Hamid, Yasir
    Sugumaran, M.
    Journaux, Ludovic
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATICS AND ANALYTICS (ICIA' 16), 2016,
  • [36] Gap, techniques and evaluation: traffic flow prediction using machine learning and deep learning
    Noor Afiza Mat Razali
    Nuraini Shamsaimon
    Khairul Khalil Ishak
    Suzaimah Ramli
    Mohd Fahmi Mohamad Amran
    Sazali Sukardi
    Journal of Big Data, 8
  • [37] Cooperative Machine Learning Techniques for Cloud Intrusion Detection
    Chkirbene, Zina
    Hamila, Ridha
    Erbad, Aiman
    Kiranyaz, Serkan
    Al-Emadi, Nasser
    Hamdi, Mounir
    IWCMC 2021: 2021 17TH INTERNATIONAL WIRELESS COMMUNICATIONS & MOBILE COMPUTING CONFERENCE (IWCMC), 2021, : 837 - 842
  • [38] Machine Learning Techniques for Intrusion Detection on Public Dataset
    Thanthrige, Udaya Sampath K. Perera Miriya
    Samarabandu, Jagath
    Wang, Xianbin
    2016 IEEE CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING (CCECE), 2016,
  • [39] Network Intrusion Detection Using Machine Learning Techniques
    Almutairi, Yasmeen
    Alhazmi, Bader
    Munshi, Amr
    ADVANCES IN SCIENCE AND TECHNOLOGY-RESEARCH JOURNAL, 2022, 16 (03) : 193 - 206
  • [40] Performance Analysis Of Machine Learning Techniques In Intrusion Detection
    Kaya, Cetin
    Yildiz, Oktay
    Ay, Sinan
    2016 24TH SIGNAL PROCESSING AND COMMUNICATION APPLICATION CONFERENCE (SIU), 2016, : 1473 - 1476