A Novel Labeling Method for Intrusion Detection and Evaluating ML Model Generalizability
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
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.
Place, publisher, year, edition, pages
2024. , p. 60
Keywords [en]
Machine Learning, Intrusion Detection, Data Science, Dataset
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:mau:diva-69638OAI: oai:DiVA.org:mau-69638DiVA, id: diva2:1879656
External cooperation
European Spallation Source (ESS)
Educational program
TS Computer Science: Applied Data Science
Presentation
(English)
Supervisors
Examiners
2024-07-252024-06-282024-07-25Bibliographically approved