Revisiting Network Traffic Analysis: Compatible network flows for ML models
By: João Vitorino , Daniela Pinto , Eva Maia and more
Potential Business Impact:
Improves computer security by finding better attack patterns.
To ensure that Machine Learning (ML) models can perform a robust detection and classification of cyberattacks, it is essential to train them with high-quality datasets with relevant features. However, it can be difficult to accurately represent the complex traffic patterns of an attack, especially in Internet-of-Things (IoT) networks. This paper studies the impact that seemingly similar features created by different network traffic flow exporters can have on the generalization and robustness of ML models. In addition to the original CSV files of the Bot-IoT, IoT-23, and CICIoT23 datasets, the raw network packets of their PCAP files were analysed with the HERA tool, generating new labelled flows and extracting consistent features for new CSV versions. To assess the usefulness of these new flows for intrusion detection, they were compared with the original versions and were used to fine-tune multiple models. Overall, the results indicate that directly analysing and preprocessing PCAP files, instead of just using the commonly available CSV files, enables the computation of more relevant features to train bagging and gradient boosting decision tree ensembles. It is important to continue improving feature extraction and feature selection processes to make different datasets more compatible and enable a trustworthy evaluation and comparison of the ML models used in cybersecurity solutions.
Similar Papers
Generalized Encrypted Traffic Classification Using Inter-Flow Signals
Cryptography and Security
**Finds hidden internet activity even when it's secret.**
IoT Botnet Detection: Application of Vision Transformer to Classification of Network Flow Traffic
CV and Pattern Recognition
Spots computer attacks in internet traffic.
Unsupervised Dataset Cleaning Framework for Encrypted Traffic Classification
Networking and Internet Architecture
Cleans internet data for faster AI analysis.