Detecting and Mitigating Cybersecurity Threats in Nigerian Commercial Banks Using Machine Learning: A Case Study of Selected Institutions
- Authors
-
-
Folakemi B. OYEYEMI
Author
-
Usman A. ABDURRAHMAN
Author
-
- Keywords:
- Machine Learning, Cybersecurity, Financial Fraud, Random Forest, LSTM.
- Abstract
-
Nigerian commercial banks are facing rising cybersecurity threats, with electronic fraud losses surpassing ₦5.1 billion in 2023 [1], [2]. Traditional signature-based detection systems are reactive and struggle against dynamic, advanced attacks. This study developed and tested a machine learning-based cybersecurity threat detection and automated mitigation system designed for Nigerian commercial banks, with GTBank and Access Bank as institutional case studies [3], [4]. Guided by the CRISP-DM methodology [5], [6], [7], the study built and tested three classifiers: Random Forest, Support Vector Machine (SVM), and Long Short-Term Memory (LSTM), across two benchmark datasets, the CICIDS 2017 network intrusion dataset and the IEEE-CIS Financial Fraud Detection dataset. To correct pronounced class imbalance without data leakage into the test set, SMOTE oversampling was restricted to the training partition only. The results showed that all models exceeded the minimum macro F1-score of 0.90 for network intrusion detection. Random Forest achieved near-perfect classification (macro F1: 0.9974), followed by LSTM (0.9468) and SVM (0.9203). For financial fraud detection, which presented extreme class imbalance (3.5% fraud rate), Random Forest achieved the highest macro F1-score (0.7616), while LSTM demonstrated the strongest fraud recall (0.76), highlighting its suitability for sequential threat analysis. These results are consistent with recent studies on ML-based fraud detection using imbalanced datasets [8], [9], [10], [11]. An automated mitigation module was integrated via a Flask RESTful API, enabling real-time responses. While direct experimental comparison with a deployed signature-based IDS was outside the scope of this study, the results provide strong evidence that the evaluated ensemble and deep learning models substantially exceed performance thresholds associated with rule-based detection systems documented in the literature [12], [13]. The findings therefore suggest that ensemble and deep learning models offer a superior alternative to traditional signature-based systems, providing a high-accuracy threat detection and response framework for the Nigerian financial sector.
- References
- Downloads
- Published
- 01-09-2026
- Section
- Articles
- License
-
Copyright (c) 2026 Folakemi B. OYEYEMI, Usman A. ABDURRAHMAN (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
How to Cite
Similar Articles
- Adekunle O. ADEWOLE, Ayodeji O. ARIYO, Development of an Edge-Enabled IoT Smart Energy Meter with Artificial Intelligence (AI)-Based Load Prediction for Device-Level Monitoring , FUDMA Journal of Engineering and Technology: Vol. 1 No. 2 (2025): December 2025
- Peter S. IDOKO, Iyinoluwa T. IDOWU, Emmanuel O. AYODELE, Temitope F. SHOLANKE, Peter A. IDOWU, Machine Learning Based Feature Selection for Early Detection of Thyroid Disorders in Nigeria , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Ayodele S. OLUWOLE, Olumayowa A. OJO, Olaitan AKINSANMI, Model Selection for Path Loss Prediction of Ultra High Frequency Terrestrial Television , FUDMA Journal of Engineering and Technology: Vol. 2 No. 2 (2026): December 2026
- Olusiji A. ADEYANJU, Joseph O. OLAIDE, Machine Learning Models for Predicting Flow Rate for Niger Delta Oil Wells , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Shamsuddeen J. AHMAD, Saifullahi S. SADI, Muhammad M. AHMAD, Abdullahi D. UMAR, Shamsuddeen USMAN, Comparative Analysis of Machine Learning Algorithms for the Detection and Classification of Suspicious Emails , FUDMA Journal of Engineering and Technology: Vol. 1 No. 2 (2025): December 2025
- Caleb A. ABORISADE, Jide E.T. AKINSOLA, Ifeoluwa M. OLANIYI, Fathia O. ONIPEDE, Emmanuel A. OLAJUBU, Ganiyu A. ADEROUNMU, Machine Learning-Based Polycystic Ovary Syndrome Generative Modelling via Ensemble Learning and Neural Networks for Infertility Prediction , FUDMA Journal of Engineering and Technology: Vol. 1 No. 1 (2025): July 2025
- Oluwayinka. G. AKINWAMIDE, Olugbenga O. AMU, Christopher FAPOHUNDA, Prediction of International Roughness Index of Flexible Pavement Using Machine Learning-Based Predictive Framework in Ekiti State , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
- Mohammed K. BASHIR, Sanusi A. DARMA, Usman MAHMUD, Mansir ABUBAKAR, Enhanced Breast Cancer Classification Using Ensemble Learning and Data Resampling Techniques: A Machine Learning Approach , FUDMA Journal of Engineering and Technology: Vol. 2 No. 2 (2026): December 2026
- Olatunde A. AKANO, Wariz A. ISMAEL, Ayomikun A. AWOSEYI, Femi AYO, Ifeoluwa M. OLANIYI, Jide E.T. AKINSOLA, Short Messaging Service Spam Detection Model Using Natural Language Processing and Deep Learning Techniques , FUDMA Journal of Engineering and Technology: Vol. 1 No. 2 (2025): December 2025
- Murtala ISMAIL, Mohammed S. ISMAIL, Eli A. JIYA, Machine Learning-Driven Recruitment Recommendation System for Employment in Nigerian Universities , FUDMA Journal of Engineering and Technology: Vol. 2 No. 1 (2026): June 2026
You may also start an advanced similarity search for this article.
