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.

On the Evaluation of Sequential Machine Learning for Network Intrusion Detection / Corsini, Andrea; Yang, Shanchieh Jay; Apruzzese, Giovanni. - (2021), pp. 1-10. (Intervento presentato al convegno 16th International Conference on Availability, Reliability and Security, ARES 2021 tenutosi a aut nel 2021) [10.1145/3465481.3470065].

On the Evaluation of Sequential Machine Learning for Network Intrusion Detection

Corsini, Andrea;Apruzzese, Giovanni
2021

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.
2021
16th International Conference on Availability, Reliability and Security, ARES 2021
aut
2021
1
10
Corsini, Andrea; Yang, Shanchieh Jay; Apruzzese, Giovanni
On the Evaluation of Sequential Machine Learning for Network Intrusion Detection / Corsini, Andrea; Yang, Shanchieh Jay; Apruzzese, Giovanni. - (2021), pp. 1-10. (Intervento presentato al convegno 16th International Conference on Availability, Reliability and Security, ARES 2021 tenutosi a aut nel 2021) [10.1145/3465481.3470065].
File in questo prodotto:
File Dimensione Formato  
2106.07961v1.pdf.pdf

Open access

Tipologia: AAM - Versione dell'autore revisionata e accettata per la pubblicazione
Licenza: [IR] other-oa
Dimensione 953.31 kB
Formato Adobe PDF
953.31 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

Licenza Creative Commons
I metadati presenti in IRIS UNIMORE sono rilasciati con licenza Creative Commons CC0 1.0 Universal, mentre i file delle pubblicazioni sono rilasciati con licenza Attribuzione 4.0 Internazionale (CC BY 4.0), salvo diversa indicazione.
In caso di violazione di copyright, contattare Supporto Iris

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11380/1379308
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 13
  • ???jsp.display-item.citation.isi??? 12
social impact