Work

A Novel Labeling Method for Intrusion Detection and Evaluating ML Model Generalizability

Year: 2024
Type: dissertation
Abstract: This thesis explores and proposes a method for using aggregated system log messages, combined logs from multiple systems, to create realistic datasets for network intrusion detection systems (NIDS). By integrating these logs with network traffic data, a dataset was developed that enhances the training and testing of machine learning models for the anomaly-based detection component in intrusion detection systems. This work investigates the process of collecting and categorizing system logs into a structured format, facilitating the creation of activity clusters, groups of similar log messages, that aid in labeling network traffic. This approach produces datasets that not only mirror real-world data, but also align with security policies. The research further evaluates the performance of the following machine learning models in anomaly-based detection: Autoencoder, Convolutional Autoencoder, CNN, Isolation Forest, One-Class SVM, and XGBoost; using both artificial and realistic intrusion datasets. It was found that while some models, like the Isolation Forest, generalize well to unseen datasets, others exhibit a significant increase in false-positive rates. This highlights the challenges in model generalization across different datasets. The findings suggest directions for future work, including improving the generalizability of NIDS models, and the creation of realistic intrusion detection datasets using the proposed labeling method.
Authors: Rydsund, Viktor, Johan, Andersson
Institution: Malmö University
Language: English
Open Access status: green
OpenAlex ID: W7049459749
Cites: 33
Cited by: 1
Related to: 10