On the Evaluation of Sequential Machine Learning for Network Intrusion Detection
- Andrea Corsini,
- ,
- Giovanni Apruzzese
- University of Modena and Reggio Emilia,
- Rochester Institute of Technology,
- University of Liechtenstein
Open access
Abstract
Recent advances in deep learning renewed the research interests in machine learning for Network Intrusion Detection Systems (NIDS). Specifically, attention has been given to sequential learning models, due to their ability to extract the temporal characteristics of network traffic flows (NetFlows), and use them for NIDS tasks. However, the applications of these sequential models often consist of transferring and adapting methodologies directly from other fields, without an in-depth investigation on how to leverage the specific circumstances of cybersecurity scenarios; moreover, there is a lack of comprehensive studies on sequential models that rely on NetFlow data, which presents significant advantages over traditional full packet captures. We tackle this problem in this paper. We propose a detailed methodology to extract temporal sequences of NetFlows that denote patterns of malicious activities. Then, we apply this methodology to compare the efficacy of sequential learning models against traditional static learning models. In particular, we perform a fair comparison of a ĝ€sequential' Long Short-Term Memory (LSTM) against a ĝ€static' Feedforward Neural Networks (FNN) in distinct environments represented by two well-known datasets for NIDS: the CICIDS2017 and the CTU13. Our results highlight that LSTM achieves comparable performance to FNN in the CICIDS2017 with over 99.5% F1-score; while obtaining superior performance in the CTU13, with 95.7% F1-score against 91.5%. This paper thus paves the way to future applications of sequential learning models for NIDS.
Access to documents
Bibliographic Information
Output type
Original language
EnglishArticle number
3470065Publication milestones
- Published - 17/08/2021
Publication status
Publisher
Association for Computing Machinery, IncPublication series
- Publication series name: ACM International Conference Proceeding Series
ISBN (Electronic)
9781450390514Publication IDs
- Scopus: 85113232575
