Authors

Omorogie Michael

Department of Computer Science, Ogwashiuku Polytechnic, Delta State, Nigeria

Osita Miracle Nwakeze

Department of Computer Science, Chukwuemeka Odumegwu Ojukwu University, Uli, Anambra State, Nigeria

Chekwube Georgina Nwankwo

Department of Computer Science, Chukwuemeka Odumegwu Ojukwu University, Uli, Anambra State, Nigeria

Onukwu Petrus Oge

Department of Computer Science, Ogwashiuku Polytechnic, Delta State, Nigeria

Abstract

This study designs and develops an Explainable Artificial Intelligence framework for real-time cyber-threat detection and response in enterprise information systems. CICIDS2017 cyber-threat dataset was used to develop and evaluate the framework. Duplicate records, missing data values, identifiers, and variables with zero variance were removed from the dataset. The remaining features were reduced using correlation and mutual-information techniques and partitioned into training, testing, and validation sets in a stratified manner. Class weights were estimated based on inverse-variance frequencies. Extreme Gradient Boosting was used as the multiclass threat detection classifier while TreeSHAP was used to explain model predictions. A risk-based response decision engine was designed to merge prediction confidence with threat levels and deploy countervailing measures such as monitoring, alerting, rate-limiting, blocking, isolating, and escalating based on the risk scores of the events. Experiments revealed that the designed model achieved an accuracy of 97.84%, a macro precision of 91.26%, a macro recall of 88.43%, a macro F1-Score of 89.12%, a weighted F1-Score of 97.82%, and a false-positive rate of 1.89%. Moreover, the model achieved a macro-average ROC-AUC of 0.9721. SHAP values revealed that the Flow Duration, Total Forward Packets, and Flow Packets/s features had the most significant influence on the model’s predictions. The end-to-end processing time of the framework was 7.07ms on average, which demonstrates its ability to perform real-time threat detection and response. This study concludes that detecting cyber-threats with explainable artificial intelligence and automatically responding to them using a risk-based decision engine provides a reliable cybersecurity framework for enterprise information systems.

Keywords

Explainable Artificial Intelligence Cyber-Threat Detection XGBoost SHAP Intrusion Detection

Citation of this Article

Omorogie Michael, Osita Miracle Nwakeze, Chekwube Georgina Nwankwo, & Onukwu Petrus Oge. (2026). Design and Development of an Explainable Artificial Intelligence Framework for Real-Time Cyber Threat Detection and Response in Enterprise Information Systems. Current Journal of Engineering and Science Research. 3(9), 13-29. Article DOI: https://doi.org/10.47001/CJESR/2026.309002

 

Licence Copyright (c) 2026 Current Journal of Engineering and Science Research. This work is licensed under a Creative Commons Attribution Non Commercial 4.0 International Licence.

References

  1. Adadi, A., & Berrada, M. (2018). Peeking inside the black-box: A survey on explainable artificial intelligence (XAI). IEEE Access, 6, 52138–52160. doi: 10.1109/ACCESS.2018.2870052.
  2. Barredo Arrieta, A., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., García, S., Gil-López, S., Molina, D., Benjamins, R., Chatila, R., & Herrera, F. (2020). Explainable artificial intelligence (XAI): Concepts, taxonomies, opportunities and challenges toward responsible AI. Information Fusion, 58, 82–115. doi: 10.1016/j.inffus.2019.12.012.
  3. 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. doi: 10.1109/COMST.2015.2494502.
  4. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 785–794). Association for Computing Machinery. doi: 10.1145/2939672.2939785.
  5. Engelen, G., Rimmer, V., & Joosen, W. (2021). Troubleshooting an intrusion detection dataset: The CICIDS2017 case study. In 2021 IEEE Security and Privacy Workshops (SPW) (pp. 7–12). IEEE. doi: 10.1109/SPW53761.2021.00009.
  6. Ferrag, M. A., Maglaras, L., Moschoyiannis, S., & Janicke, H. (2020). Deep learning for cyber security intrusion detection: Approaches, datasets, and comparative study. Journal of Information Security and Applications, 50, 102419. doi: 10.1016/j.jisa.2019.102419.
  7. Khraisat, A., Gondal, I., Vamplew, P., & Kamruzzaman, J. (2019). Survey of intrusion detection systems: Techniques, datasets and challenges. Cybersecurity, 2, Article 20. doi: 10.1186/s42400-019-0038-7.
  8. Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems 30 (pp. 4765–4774). Curran Associates, Inc.
  9. Mahdavifar, S., & Ghorbani, A. A. (2019). Application of deep learning to cybersecurity: A survey. Neurocomputing, 347, 149–176. doi: 10.1016/j.neucom.2019.02.056.
  10. Ribeiro, M. T., Singh, S., & Guestrin, C. (2016). “Why should I trust you?”: Explaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (pp. 1135–1144). Association for Computing Machinery. doi: 10.1145/2939672.2939778.
  11. Sharafaldin, I., Lashkari, A. H., & Ghorbani, A. A. (2018). Toward generating a new intrusion detection dataset and intrusion traffic characterization. In P. Mori, S. Furnell, & O. Camp (Eds.), Proceedings of the 4th International Conference on Information Systems Security and Privacy (ICISSP 2018) (pp. 108–116). SciTePress. doi: 10.5220/0006639801080116.
  12. 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. doi: 10.1109/SP.2010.25.