Enhancing cyberattack prevention through anomaly detection ensembles and diverse training sets

A surge in global connectivity has led to an increase in cyberattacks, creating a need for improved security. A promising area of research is using machine learning to detect these attacks. Traditional two-class machine learning models can be ineffective for real-time detection, as attacks often rep...

ver descrição completa

Detalhes bibliográficos
Autores: Saleem S Alraddadi, Faisal, Lago Fernández, Luis Fernando, Rodríguez Ortiz, Francisco Borja
Formato: artículo
Fecha de publicación:2025
País:España
Recursos:Universidad Autónoma de Madrid
Repositorio:Biblos-e Archivo. Repositorio Institucional de la UAM
Idioma:inglés
OAI Identifier:oai:dnet:biblosearchi::53e800d2f4a41c8ee4615d465f831fcc
Acesso em linha:https://hdl.handle.net/10486/768280
https://dx.doi.org/10.3390/computers14110477
Access Level:acceso abierto
Palavra-chave:Security and Privacy
Neural Networks
Severe Imbalance of Attacks
Cyber Threats
Ensemble Classifier Methods
Precision–Recall Curves
Soft Voting on One-Class Classification
One-Class Classification in Ensembles
Informática
Descrição
Resumo:A surge in global connectivity has led to an increase in cyberattacks, creating a need for improved security. A promising area of research is using machine learning to detect these attacks. Traditional two-class machine learning models can be ineffective for real-time detection, as attacks often represent a minority of traffic (anomaly) and fluctuate with time. This comparative study uses an ensemble of one-class classification models. First, we employed an ensemble of autoencoders with randomly generated architectures to enhance the dynamic detection of attacks, enabling each model to learn distinct aspects of the data distribution. The term ‘dynamic’ reflects the ensemble’s superior responsiveness to different attack rates without the need for retraining, offering enhanced performance compared to a static average of individual models, which we refer to as the baseline approach. Second, for comparison with the ensemble of autoencoders, we employ an ensemble of isolation forests, which also improves dynamic attack detection. We evaluated our ensemble models using the NSL-KDD dataset, testing them without the need for retraining with varying attack ratios, and comparing the results with the baseline method. Then, we investigated the impact of training data overlap among ensemble components and its effect on the detection of extremely low attack rates. The objective is to train each model within the ensemble with the minimal amount of data necessary to detect malicious traffic across varying attack rates effectively. Based on the conclusions drawn from our initial study using the NSL-KDD dataset, we re-evaluated our strategy with a modern dataset, CIC_IoT-2023, which also achieved good performance in detecting various attack rates using an ensemble of simple autoencoder models. Finally, we have observed that when distributing normal traffic data among ensemble components with a small overlap, the results show enhanced overall performance