A Proactive Framework for Detecting and Preventing Zero-Day Attacks in Modern Network Environments
Main
Shareefullah Mosazai*
Ikramullah Maroof
Islahuddin Jalal
Zero-day attacks exploit software and network vulnerabilities that are unknown to vendors and defenders, leaving signature-based intrusion detection systems structurally unable to respond before damage occurs. This study proposes a proactive framework that combines unsupervised anomaly detection, ensemble supervised learning, and automated response orchestration to detect and contain previously unseen attacks in modern network environments. The framework integrates a deep autoencoder for reconstruction-based anomaly scoring, an isolation forest for density-based outlier isolation, and a gradient-boosted ensemble for supervised refinement, whose outputs are fused through a weighted threat-scoring module aligned with the MITRE ATT&CK matrix. Detected anomalies trigger an orchestration layer that automatically quarantines affected hosts, updates software-defined network rules, and redirects suspicious traffic to deception environments for analysis. The framework was evaluated on benchmark network-traffic corpora (UNSW-NB15 and CIC-IDS2017) using zero-day scenarios constructed by withholding entire attack categories from training. Results indicate that the hybrid framework achieves higher detection accuracy and a substantially lower false-positive rate than individual base learners and a conventional signature-based baseline, while maintaining detection latency compatible with near-real-time response. These findings suggest that combining complementary unsupervised and supervised models within a proactive orchestration pipeline meaningfully improves resilience against zero-day threats compared with reactive, signature-dependent defenses. The paper further discusses architectural trade-offs, deployment considerations, and directions for future work on adversarial robustness and cross-domain generalization.
Abri, F., Siami-Namini, S., Khanghah, M. A., Soltani, F. M., & Namin, A. S. (2019). Can Machine/Deep Learning Classifiers Detect Zero-Day Malware with High Accuracy? In 2019 IEEE International Conference on Big Data (Big Data) (pp. 3252–3259). IEEE. https://doi.org/10.1109/bigdata47090.2019.9006514
Agrawal, S., Sarkar, S., Aouedi, O., Yenduri, G., Piamrat, K., Alazab, M., Bhattacharya, S., Maddikunta, P. K. R., & Gadekallu, T. R. (2022). Federated Learning for intrusion detection system: Concepts, challenges and future directions. Computer Communications, 195, 346–361. https://doi.org/10.1016/j.comcom.2022.09.012
Ahmad, R., Alsmadi, I., Alhamdani, W., & Tawalbeh, L. (2022). A Deep Learning Ensemble Approach to Detecting Unknown Network Attacks. Journal of Information Security and Applications, 67, 103196. https://doi.org/10.1016/j.jisa.2022.103196
Axelsson, S. (2000). The base-rate fallacy and the difficulty of intrusion detection. ACM Transactions on Information and System Security, 3(3), 186–205. https://doi.org/10.1145/357830.357849
Bierbrauer, D. A., De Lucia, M. J., Reddy, K., Maxwell, P., & Bastian, N. D. (2023). Transfer learning for raw network traffic detection. Expert Systems with Applications, 211, 118641. https://doi.org/10.1016/j.eswa.2022.118641
Bilge, L., & Dumitraş, T. (2012). Before we knew it. In Proceedings of the 2012 ACM conference on Computer and communications security (pp. 833–844). ACM. https://doi.org/10.1145/2382196.2382284
Buczak, A. L., & Guven, E. (2016). A Survey of Data Mining and Machine Learning Methods for Cyber Security Intrusion Detection. IEEE Communications Surveys & Tutorials, 18(2), 1153–1176. https://doi.org/10.1109/comst.2015.2494502
Chandola, V., Banerjee, A., & Kumar, V. (2009). Anomaly detection. ACM Computing Surveys, 41(3), 1–58. https://doi.org/10.1145/1541880.1541882
Chen, T., & Guestrin, C. (2016). XGBoost. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). ACM. https://doi.org/10.1145/2939672.2939785
da Costa, K. A. P., Papa, J. P., Lisboa, C. O., Munoz, R., & de Albuquerque, V. H. C. (2019). Internet of Things: A survey on machine learning-based intrusion detection approaches. Computer Networks, 151, 147–157. https://doi.org/10.1016/j.comnet.2019.01.023
Guo, Y. (2023). A review of Machine Learning-based zero-day attack detection: Challenges and future directions. Computer Communications, 198, 175–185. https://doi.org/10.1016/j.comcom.2022.11.001
Hindy, H., Atkinson, R., Tachtatzis, C., Colin, J.-N., Bayne, E., & Bellekens, X. (2020). Utilising Deep Learning Techniques for Effective Zero-Day Attack Detection. Electronics, 9(10), 1684. https://doi.org/10.3390/electronics9101684
Hochreiter, S., & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
Khan, I. A., Moustafa, N., Pi, D., Haider, W., Li, B., & Jolfaei, A. (2022). An Enhanced Multi-Stage Deep Learning Framework for Detecting Malicious Activities From Autonomous Vehicles. IEEE Transactions on Intelligent Transportation Systems, 23(12), 25469–25478. https://doi.org/10.1109/tits.2021.3105834
Kwon, D., Kim, H., Kim, J., Suh, S. C., Kim, I., & Kim, K. J. (2017). A survey of deep learning-based network anomaly detection. Cluster Computing, 22(S1), 949–961. https://doi.org/10.1007/s10586-017-1117-8
Lai, Q., Xiong, C., Chen, J., Wang, W., Chen, J., Gadekallu, T. R., Cai, M., & Hu, X. (2024). Improved Transformer-Based Privacy-Preserving Architecture for Intrusion Detection in Secure V2X Communications. IEEE Transactions on Consumer Electronics, 70(1), 1810–1820. https://doi.org/10.1109/tce.2023.3324081
Li, P., Wang, Y., Li, Q., Liu, Z., Xu, K., Ren, J., Liu, Z., & Lin, R. (2023). Learning from Limited Heterogeneous Training Data: Meta-Learning for Unsupervised Zero-Day Web Attack Detection across Web Domains. In Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security (pp. 1020–1034). ACM. https://doi.org/10.1145/3576915.3623123
Liu, F. T., Ting, K. M., & Zhou, Z.-H. (2008). Isolation Forest. In 2008 Eighth IEEE International Conference on Data Mining (pp. 413–422). IEEE. https://doi.org/10.1109/icdm.2008.17
Moustafa, N., & Slay, J. (2015). UNSW-NB15: a comprehensive data set for network intrusion detection systems (UNSW-NB15 network data set). In 2015 Military Communications and Information Systems Conference (MilCIS) (pp. 1–6). IEEE. https://doi.org/10.1109/milcis.2015.7348942
Moustafa, N., & Slay, J. (2016). The evaluation of Network Anomaly Detection Systems: Statistical analysis of the UNSW-NB15 data set and the comparison with the KDD99 data set. Information Security Journal: A Global Perspective, 25(1–3), 18–31. https://doi.org/10.1080/19393555.2015.1125974
Nguyen, T. D., Marchal, S., Miettinen, M., Fereidooni, H., Asokan, N., & Sadeghi, A.-R. (2019). DÏoT: A Federated Self-learning Anomaly Detection System for IoT. In 2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS) (pp. 756–767). IEEE. https://doi.org/10.1109/icdcs.2019.00080
Nkongolo, M., & Tokmak, M. (2023). Zero-Day Threats Detection for Critical Infrastructures. In Communications in Computer and Information Science (pp. 32–47). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-39652-6_3
Ohtani, T., Yamamoto, R., & Ohzahata, S. (2024). IDAC: Federated Learning-Based Intrusion Detection Using Autonomously Extracted Anomalies in IoT. Sensors, 24(10), 3218. https://doi.org/10.3390/s24103218
Redino, C., Nandakumar, D., Schiller, R., Choi, K., Rahman, A., Bowen, E., Shaha, A., Nehila, J., & Weeks, M. (2022). Zero Day Threat Detection Using Graph and Flow Based Security Telemetry. In 2022 International Conference on Computing, Communication, and Intelligent Systems (ICCCIS) (pp. 655–662). IEEE. https://doi.org/10.1109/icccis56430.2022.10037596
Restuccia, F., D’Oro, S., & Melodia, T. (2018). Securing the Internet of Things in the Age of Machine Learning and Software-Defined Networking. IEEE Internet of Things Journal, 5(6), 4829–4842. https://doi.org/10.1109/jiot.2018.2846040
Roesch, M. (1999). Snort - Lightweight Intrusion Detection for Networks. Proceedings of the 13th USENIX Conference on System Administration, 229–238. https://doi.org/10.5555/1039834.1039864
Sabottke, C., Suciu, O., & Dumitras, T. (2015). Vulnerability Disclosure in the Age of Social Media: Exploiting Twitter for Predicting Real-World Exploits. 24th USENIX Security Symposium (USENIX Security 15), 1041–1056. https://www.usenix.org/conference/usenixsecurity15/technical-sessions/presentation/sabottke
Sarhan, M., Layeghy, S., Gallagher, M., & Portmann, M. (2023). From zero-shot machine learning to zero-day attack detection. International Journal of Information Security, 22(4), 947–959. https://doi.org/10.1007/s10207-023-00676-0
Sarhan, M., Layeghy, S., & Portmann, M. (2022). Evaluating Standard Feature Sets Towards Increased Generalisability and Explainability of ML-Based Network Intrusion Detection. Big Data Research, 30, 100359. https://doi.org/10.1016/j.bdr.2022.100359
Sedjelmaci, H., & Ansari, N. (2024). On Cooperative Federated Defense to Secure Multiaccess Edge Computing. IEEE Consumer Electronics Magazine, 13(4), 24–31. https://doi.org/10.1109/mce.2022.3167527
Sharafaldin, I., Habibi Lashkari, A., & Ghorbani, A. A. (2018). Toward Generating a New Intrusion Detection Dataset and Intrusion Traffic Characterization. In Proceedings of the 4th International Conference on Information Systems Security and Privacy (pp. 108–116). SCITEPRESS - Science and Technology Publications. https://doi.org/10.5220/0006639801080116
Shone, N., Ngoc, T. N., Phai, V. D., & Shi, Q. (2018). A Deep Learning Approach to Network Intrusion Detection. IEEE Transactions on Emerging Topics in Computational Intelligence, 2(1), 41–50. https://doi.org/10.1109/tetci.2017.2772792
Sommer, R., & Paxson, V. (2010). Outside the Closed World: On Using Machine Learning for Network Intrusion Detection. In 2010 IEEE Symposium on Security and Privacy (pp. 305–316). IEEE. https://doi.org/10.1109/sp.2010.25
Vasilomanolakis, E., Karuppayah, S., Mühlhäuser, M., & Fischer, M. (2015). Taxonomy and Survey of Collaborative Intrusion Detection. ACM Computing Surveys, 47(4), 1–33. https://doi.org/10.1145/2716260
Vinayakumar, R., Alazab, M., Soman, K. P., Poornachandran, P., Al-Nemrat, A., & Venkatraman, S. (2019). Deep Learning Approach for Intelligent Intrusion Detection System. IEEE Access, 7, 41525–41550. https://doi.org/10.1109/access.2019.2895334
Wang, Z., Fok, K. W., & Thing, V. L. L. (2022). Machine learning for encrypted malicious traffic detection: Approaches, datasets and comparative study. Computers & Security, 113, 102542. https://doi.org/10.1016/j.cose.2021.102542
Zhang, J., Liang, S., Ye, F., Hu, R. Q., & Qian, Y. (2023). Towards Detection of Zero-Day Botnet Attack in IoT Networks Using Federated Learning. In ICC 2023 - IEEE International Conference on Communications (pp. 7–12). IEEE. https://doi.org/10.1109/icc45041.2023.10279423
Zhao, P., Cao, Z., Jiang, J., & Gao, F. (2023). Practical Private Aggregation in Federated Learning Against Inference Attack. IEEE Internet of Things Journal, 10(1), 318–329. https://doi.org/10.1109/jiot.2022.3201231








