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 条
  • [21] SSHCure: A Flow-Based SSH Intrusion Detection System
    Hellemons, Laurens
    Hendriks, Luuk
    Hofstede, Rick
    Sperotto, Anna
    Sadre, Ramin
    Pras, Aiko
    DEPENDABLE NETWORKS AND SERVICES, 2012, 7279 : 86 - 97
  • [22] Clustering and Neural Visualization for Flow-Based Intrusion Detection
    Sanchez, Raul
    Herrero, Alvaro
    Corchado, Emilio
    INTERNATIONAL JOINT CONFERENCE: CISIS'15 AND ICEUTE'15, 2015, 369 : 333 - 345
  • [23] A Labeled Data Set for Flow-Based Intrusion Detection
    Sperotto, Anna
    Sadre, Ramin
    van Vliet, Frank
    Pras, Aiko
    IP OPERATIONS AND MANAGEMENT, PROCEEDINGS, 2009, 5843 : 39 - 50
  • [24] An efficient flow-based botnet detection using supervised machine learning
    Stevanovic, Matija
    Pedersen, Jens Myrup
    2014 INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKING AND COMMUNICATIONS (ICNC), 2014, : 797 - 801
  • [25] Intrusion Detection on QUIC Traffic: A Machine Learning Approach
    Al-Bakhat, Lama
    Almuhammadi, Sultan
    2022 7TH INTERNATIONAL CONFERENCE ON DATA SCIENCE AND MACHINE LEARNING APPLICATIONS (CDMA 2022), 2022, : 194 - 199
  • [26] Review of Machine Learning-Based Intrusion Detection Techniques for MANETs
    Hamza, Fouziah
    Vigila, S. Maria Celestin
    COMPUTING AND NETWORK SUSTAINABILITY, 2019, 75
  • [27] A Survey of Machine Learning-based loT Intrusion Detection Techniques
    Long, Jing
    Fang, Fei
    Luo, Haibo
    2021 IEEE 6TH INTERNATIONAL CONFERENCE ON SMART CLOUD (SMARTCLOUD 2021), 2021, : 7 - 12
  • [28] Modelling and Evaluation of Network Intrusion Detection Systems Using Machine Learning Techniques
    Clottey, Richard Nunoo
    Yaokumah, Winfred
    Appati, Justice Kwame
    INTERNATIONAL JOURNAL OF INTELLIGENT INFORMATION TECHNOLOGIES, 2021, 17 (04)
  • [29] Evaluation of flow-based traffic signal control using advanced detection concepts
    Smaglik, Edward J.
    Bullock, Darcy M.
    Urbanik, Thomas
    Bryant, Dan
    TRAFFIC SIGNAL SYSTEMS AND REGIONAL SYSTEMS MANAGEMENT 2006, 2006, (1978): : 25 - +
  • [30] Intrusion Detection Using Machine Learning and Deep Learning Techniques
    Calisir, Sinan
    Atay, Remzi
    Pehlivanoglu, Meltem Kurt
    Duru, Nevcihan
    2019 4TH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND ENGINEERING (UBMK), 2019, : 656 - 660