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 条
  • [1] Flow-based intrusion detection: Techniques and challenges
    Umer, Muhammad Fahad
    Sher, Muhammad
    Bi, Yaxin
    COMPUTERS & SECURITY, 2017, 70 : 238 - 254
  • [2] Intrusion Detection Using Flow-Based Analysis of Network Traffic
    David, Jisa
    Thomas, Ciza
    ADVANCES IN NETWORKS AND COMMUNICATIONS, PT II, 2011, 132 : 391 - 399
  • [3] An accurate evaluation of machine learning algorithms for flow-based P2P traffic detection
    Soysal, Murat
    Schmidt, Ece G.
    2007 22ND INTERNATIONAL SYMPOSIUM ON COMPUTER AND INFORMATION SCIENCES, 2007, : 393 - +
  • [4] Evaluation of Machine Learning Techniques for Network Intrusion Detection
    Zaman, Marzia
    Lung, Chung-Horng
    NOMS 2018 - 2018 IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, 2018,
  • [5] Ensemble Learning Approach for Flow-based Intrusion Detection System
    Zwane, Skhumbuzo
    Tarwireyi, Paul
    Adigun, Matthew
    2019 IEEE AFRICON, 2019,
  • [6] Machine learning algorithms for accurate flow-based network traffic classification: Evaluation and comparison
    Soysal, Murat
    Schmidt, Ece Guran
    PERFORMANCE EVALUATION, 2010, 67 (06) : 451 - 467
  • [7] Flow-based Features for a Robust Intrusion Detection System Targeting Mobile Traffic
    Elrawy, Mohammed Faisal
    Awad, Ali Ismail
    Hamed, Hesham F. A.
    2016 23RD INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS (ICT), 2016,
  • [8] FlowGANAnomaly: Flow-Based Anomaly Network Intrusion Detection with Adversarial Learning
    Li, Zeyi
    Wang, Pan
    Wang, Zixuan
    Zhan, De-chuan
    CHINESE JOURNAL OF ELECTRONICS, 2024, 33 (01) : 58 - 71
  • [9] FlowGANAnomaly: Flow-Based Anomaly Network Intrusion Detection with Adversarial Learning
    Zeyi LI
    Pan WANG
    Zixuan WANG
    Chinese Journal of Electronics, 2024, 33 (01) : 58 - 71
  • [10] Flow-Based Intrusion Detection Systems: A Survey
    Al-Bakaa, Aliaa
    Al-Musawi, Bahaa
    APPLICATIONS AND TECHNIQUES IN INFORMATION SECURITY (ATIS 2021), 2022, 1554 : 121 - 137