Home > Published Issues > 2025 > Volume 16, No. 9, 2025 >
JAIT 2025 Vol.16(9): 1264-1276
doi: 10.12720/jait.16.9.1264-1276

Machine Learning Approach for Predicting Cyberattacks Using a Bayesian Network Model

Sulaiman Al Amro 1,* and Mafawez Thewiban Alharbi 2
1. Department of Computer Science, College of Computer, Qassim University, Buraydah 51452, Saudi Arabia
2. Unit of Scientific Research, Applied College, Qassim University, Buraydah 51452, Saudi Arabia
Email: samro@qu.edu.sa (S.A.); maft.alharbi@qu.edu.sa (M.T.A.)
*Corresponding author

Manuscript received February 9, 2025; revised March 24, 2025; accepted June 17, 2025; published September 12, 2025.

Abstract—The increasing complexity and sophistication of cyber threats requires advanced, proactive strategies for information security. Traditional defensive measures are no longer sufficient, prompting organizations to adopt Artificial Intelligence (AI) and machine learning techniques for threat detection and risk management. In this context, Bayesian Networks (BNs) have emerged as a powerful tool to model probabilistic relationships among key behavioral and environmental factors influencing cybersecurity. This study presents a Bayesian Network-based approach to assess individual cybersecurity awareness and predict potential vulnerabilities based on user behavior. Using survey data collected from 102 participants, the model evaluates user responses to risk-related behaviors—such as the use of multifactor authentication, application sources, update practices, and email handling—to generate a predictive risk score. A weighted scoring system that incorporates interaction terms was employed to account for compound risk scenarios. The model achieved a strong performance with an overall accuracy of 92.6%, recall of 88.9%, precision of 57.1%, and an F1-Score of 0.696. These results demonstrate the proposed model’s capability to effectively identify users with high-risk behavior patterns, thereby providing valuable support for organizational cybersecurity awareness programs and decision-making processes.
 
Keywords—cyberattack, Bayesian network, probabilistic prediction, machine learning

Cite: Sulaiman Al Amro and Mafawez Thewiban Alharbi, "Machine Learning Approach for Predicting Cyberattacks Using a Bayesian Network Model," Journal of Advances in Information Technology, Vol. 16, No. 9, pp. 1264-1276, 2025. doi: 10.12720/jait.16.9.1264-1276

Copyright © 2025 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions