ZeroDayDetectAI for unsupervised ensemble autoencoder and clustering based detection of novel and zero day cyberattacks in heterogeneous networks
Abstract
Conventional Intrusion Detection Systems (IDSs) heavily rely on predefined signatures, labelled attack information, and fixed decision boundaries, which are challenged by fast-evolving, sophisticated cyber threats and zero-day attacks. These techniques are often inflexible and generalise poorly to traffic patterns they have not seen before. To overcome these drawbacks, this study introduces ZeroDayDetectAI, a label-assisted one-class anomaly-detection framework and an unsupervised ensemble autoencoder–clustering core that can detect anomalous and experimentally held-out zero-day attacks in heterogeneous network environments. It integrates benign-only ensemble autoencoder learning, validation-weighted reconstruction fusion, latent-space clustering, composite anomaly scoring, and adaptive threshold calibration into its core model, ZeroCluster-Net. The informative attributes are ranked using a hybrid IG–FCBF–KPCA pipeline, and redundant attributes are removed to capture nonlinear relationships in traffic. The autoencoders, clustering module, fusion weights, and threshold are trained only on benign traffic, except for the known-attack labels, which are used only during offline training of the Information Gain-based feature ranking. Additionally, a surrogate XGBoost–SHAP module explains detection decisions at the global and instance levels. The experimental results on CIC-IDS2017 (held-out zero-day class: Port Scan) indicate that ZeroCluster-Net achieves 96.78% accuracy, 97.15% precision, 95.89% recall, and 96.52% F1-score with a 2.4% False Positive Rate. The framework achieves better anomaly discrimination, interpretability, and false-positive control than One-Class SVM, Isolation Forest, and a standard Autoencoder. Not applicable.