The Role of Artificial Intelligence in Strengthening Privacy and Security in the Era of Cyber Crime and Digital Forensics
Victoria Abosede Ogunsanya, Rianat Abbas, Laticbe Elijah, Joy Awoleye, Adetomiwa Adesokan, Kumbirai Bernard Muhwati, & Average Guma
Cybersecurity Analyst, University of Bradford, UK
Information Systems, Baylor University, Texas, USA
Cybersecurity, Yeshiva University, New York, USA
Cybersecurity, Yeshiva University, New York, USA
Computer Science, Yeshiva University, New York, USA
Cybersecurity, Yeshiva University, New York, USA
DOI – http://doi.org/10.37502/IJSMR.2025.8515
Abstract
This study explores the role of Artificial Intelligence (AI) in strengthening privacy and security amidst the growing challenges of cybercrime and digital forensics. As cyber-attacks become more sophisticated, traditional methods of securing sensitive data and investigating digital crimes are increasingly inadequate. This research examines the use of machine learning algorithms, particularly Random Forest Classifier (RFC) and Gradient Boosting Classifier (GBC), in detecting network anomalies and enhancing the detection of cyberattacks. The study also highlights the critical need for AI-driven techniques to support digital forensic investigations by providing more accurate and efficient methods of identifying malicious activities. Using a dataset of network traffic features, the study reveals the class imbalance between normal and attack traffic, which can hinder detection accuracy. Despite this imbalance, both RFC and GBC achieved perfect classification with AUC scores of 1.00. GBC, however, outperformed RFC in accuracy (91.3%), precision (91.4%), and recall (91.3%), demonstrating its superior ability to identify attack traffic while preserving privacy. Feature importance analysis found that Average Packet Size and Fwd Packets Length were the most significant indicators of attack behavior. The findings underscore the importance of AI in enhancing cybersecurity systems, ensuring robust privacy protections, and advancing digital forensic capabilities. The study also emphasizes the need for continuous model retraining, class balancing, and hyperparameter tuning to adapt to evolving threats. These AI-driven approaches have the potential to transform the landscape of digital forensics and cybersecurity, offering more resilient defenses against cybercrime and safeguarding privacy in an increasingly digital world.
Keywords: Artificial Intelligence, Cybercrime, Digital Forensics, Privacy Protection, Machine Learning, Random Forest Classifier, Gradient Boosting Classifier, Cybersecurity, Attack Detection, Feature Importance, Model Evaluation
References
- Abbas, R., Ogunsanya, V. A., Nwanyim, S. J., Afolabi, R., Kagame, R., Akinsola, A., & Clement, T. (2025). Leveraging Machine Learning to Strengthen Network Security and Improve Threat Detection in Blockchain for Healthcare Systems. International Journal of Scientific and Management Research, 8(2), 147-165. doi: http://doi.org/10.37502/IJSMR.2025.8211
- Akhtar, M. S., & Feng, T. (2022). Malware analysis and detection using machine learning algorithms. Symmetry.
- Alam, S. (2021). Adult Delinquency and Victimization: A Test of Differential Association Theory with New Data. West Virginia University.
- Alghamdi, M. I. (2020). Digital Forensics in Cyber Security—Recent Trends, Threats, and Opportunities. IntechOpen. doi:10.5772/intechopen.94452
- Ali, A., Septyanto, A. W., Chaudhary, I., Al Hamadi, H., Alzoubi, H. M., & Khan, Z. F. (2022). Applied Artificial Intelligence as Event Horizon Of Cyber Security. International Conference on Business Analytics for Technology and Security (ICBATS), 1-14.
- Analo, J. (2023). Integration of Artificial Intelligence in Cyber-Physical Systems. Journal of Advanced Technology and Systems, 1(1), 1-12.
- Bayan, F. M. (2024). The Ethics of AI: navigating the Moral dilemmas of Artificial Intelligence. Arab Journal for Scientific Publishing.
- Bhat, A. H., & Kolhe, D. (2024). Crime and Fraud at the Community level: Social Networking Understanding into Economic crimes and Psychology Motivations. Journal of Social Sciences and Economics, 3(2), 109-128.
- Binhammad, M., Alqaydi, S., Othman, A., & Abuljadayeu, L. H. (2024). The Role of AI in Cyber Security: Safeguarding Digital Identity. Journal of Information Security, 15(2), 245-278.
- Dearden, T. E., & Parti, K. (2021). Cybercrime, differential association, and self-control: Knowledge transmission through online social learning. American Journal of Criminal Justice, 46(6), 935-955.
- Dunsin, D., Ghanem, M. C., & Ouazzane, K. (2022). The use of artificial intelligence in digital forensics and incident response (DFIR) in a constrained environment.
- Dunsin, D., Ghanem, M. C., Ouazzane, K., & Vassilev, V. (2024). A comprehensive analysis of the role of artificial intelligence and machine learning in modern digital forensics and incident response. Forensic Science International: Digital Investigation, 48(1), 301675.
- Ezeji, C. L. (2024). Emerging technologies and cyber-crime: strategies for mitigating cyber-crime and misinformation on social media and cyber systems. . International Journal of Business Ecosystem & Strategy, 6(4), 271-284.
- Faqir, R. S. (2023). Digital Criminal Investigations in the Era of Artificial Intelligence: A Comprehensive Overview. International Journal of Cyber Criminology, 17(2), 77-94.
- Fernando, K. (2023). A Multidimensional Framework for Utilizing Big Data Analytics and AI in Strengthening Digital Forensics and Cybersecurity Investigations. International Journal of Cybersecurity Risk Management, Forensics, and Compliance, 7(12), 16-30.
- Hassan, S. K., & Ibrahim, A. (2023). The role of Artificial Intelligence in Cyber Security and. International Journal for Electronic Crime Investigation, 7(2), 49-72.
- Hope, C. (2024). Using AI-powered systems to identify and investigate cybercrimes to enhance cybersecurity in law enforcement. Issues in Information Systems, 25(1), 293-304.
- Iwuh, A. C., & Sonubi, T. (2024). Digital Forensics in Cybercrime Investigation. International Journal of Computer Applications Technology and Research, 13(10), 99-110. doi:10.7753/IJCATR1310.1010
- Jimmy, F. (2021). Emerging threats: The latest cybersecurity risks and the role of artificial intelligence in enhancing cybersecurity defenses. Valley International Journal Digital Library, 564-74.
- Jones, A. J., & Jones, B. M. (2025). Behavioral Analysis and User Profiling in Forensic Investigations. In Digital Forensics in the Age of AI. IGI Global Scientific Publishing.
- Kaur, R., Gabrijelcic, D., & Klobucar, T. (2023). Artificial intelligence for cybersecurity: Literature review and future research directions. Journal of Information Fusion, 97, 101804.
- Keshari, S., & Srivastava, M. (2024). Role of artificial intelligence (Al) in digital forensic vis-à-vis White-collar crimes. International Journal of Law, 10(2), 152-155.
- Kethireddy, R. R. (2021). Ai-Driven Encryption Techniques for Data Security in Cloud Computing. Journal of Recent Trends in Computer Science and Engineering (Jrtcse), 9(1), 27-38.
- Khalid, N., Qayyum, A., Bilal, M., Al-Fuqaha, A., & Qadir, J. (2023). Privacy-preserving artificial intelligence in healthcare: Techniques and applications. Computers in Biology and Medicine.
- Lami, B., Hussein, S. M., Rajamanickam, R., & Emmanuel, G. K. (2024). The role of artificial intelligence (AI) in shaping data privacy. International Journal of Law and Management, 1(7), 2-42. doi: https://doi.org/10.1108/IJLMA-07-2024-0242
- Madhumitha, P. S. (2024). The Role of Artificial Intelligence in Preventing Cyber Crimes – Indian and International Perspective. Indian Journal of Integrated Research in Law, 4(6), 836-846.
- Mark, D. (2024). Impact of Artificial Intelligence on Cybersecurity in Nigeria. American Journal of Computing and Engineering, 7(4), 1-11.
- Matsaung, P., & Masiloane, D. T. (2024). The role of cyber intelligence in policing cybercrime in South Africa: Insights from law enforcement officers. African Security Review, 2(4), 1-16. doi: https://doi.org/10.1080/10246029.2024.2421225
- Mohammadiounotiki, A., & Babaeitarkami, S. (2024). Cybersecurity in the Age of AI: Protecting Our Data and Privacy in a Digital World. Australian Journal of Engineering Innovative Technology, 6(4), 86-92. doi: https://doi.org/10.34104/ajeit.024.086092
- Mohammed, R. M., Alneyadi, A., Kassim, N. M., & Yin, T. S. (2022). Conceptual Framework on the Factors Influencing Users’ Intention to Adopt AI-Based Cybersecurity Systems at Workplaces in the UAE. Global Business and Management Research: An International Journal, 14(3), 1053-1064.
- Obidimma, E. O., & Ishiguzo, R. O. (2023). Artificial Intelligence and Cybercrime Investigation in Nigeria: Addressing the Legal and Technical Skills Gaps. African Journal of Criminal Law and Jurisprudence, 13(9), 30-36.
- Olabanji, S. O., Olaniyi, O. O., Adigwe, C. S., Okunleye, O. J., & Oladoyinbo, T. O. (2024). AI for Identity and Access Management (IAM) in the cloud: Exploring the potential of artificial intelligence to improve user authentication, authorization, and access control within cloud-based systems. Authorization, and Access Control within Cloud-Based.
- Patil, D. (2024). Artificial Intelligence in Cybersecurity: Enhancing Threat Detection and Prevention Mechanisms Through Machine Learning and Data Analytics.
- Priyadharshini, S. L., Abbas, R., Arafat, Y., Batool, W., Abazi, U., & Altemimi, M. A. (2025). Cybersecurity in Al-Driven IT Environments: A Study on Vulnerabilities and Mitigation Strategies. Nanotechnology Perception, 1-19.
- Roshanaei, M., Khan, M. R., & Sylvester, N. N. (2024). Enhancing Cybersecurity through AI and ML: Strategies, Challenges, and Future Directions. Journal of Information Security, 15(3), 320-339.
- Sagar, B., Niranjan, S., Nithin, K., & Sachin, D. (2019). Providing Cyber Security using Artificial Intelligence – A survey. International Conference on Computing Methodologies and Communication (ICCMC), 1-6.
- Schmitt, M. &. (2024). Digital deception: Generative artificial intelligence in social engineering and phishing. Artificial Intelligence Review, 57(12), 1-23.
- Sharma, S. (2021). Role of Artificial Intelligence in Cyber Security and Security Framework. Artificial Intelligence and Data Mining Approaches in Security Frameworks. doi: https://doi.org/10.1002/9781119760429.ch3
- Shetty, S., Choi, K. S., & Park, I. (2024). Investigating the Intersection of AI and Cybercrime: Risks, Trends, and Counter measures. International Journal of Cybersecurity Intelligence & Cybercrime, 7(2), 28-53.
- Singh, U. K., & Bahuguna, R. (2023). The Role of A.I. and Cyber Forensics in Achieving SDG 5 and 16 Dealing in Specific Reference to Cyber Offences Against Women. Dehradun Law Review, 109-120.
- Stewart, H. (2023). Strengthening Cybersecurity in Digital Transformation. Doctoral dissertation, Flinders University, College of Science and Engineering.).
- Thomas, A. (2024). Digitally transforming the organization through knowledge management: a socio-technical system (STS) perspective. European Journal of Innovation Management, 27(9), 437-460.
- Vignesh Saravanan, K., Jothi Thilaga, P., Kavipriya, S., & Vijayalakshmi, K. (2023). Data protection and security enhancement in cyber-physical systems using AI and blockchain. In AI models for blockchain-based intelligent networks in IoT systems: Concepts, Methodologies, tools, and applications. Cham: Springer International Publishing.
- Yadav, R. T. (2024). AI-Driven Digital Forensics. International Journal of Scientific Research & Engineering Trends, 10(4), 1673-1681.
- Zarei, E., Biglari, B., & Yazdi, M. (2024). Safety causation analysis in sociotechnical systems. In Safety causation analysis in sociotechnical systems: advanced models and techniques. Switzerland: Cham: Springer Nature .
- Zziwa, I., Ilolo, A., Nwafor, K. C., & Ihenacho, D. O. (2024). Cloud Computing and AI in Cybersecurity Forensics: Leveraging Data Analytics for Enhanced Threat Detection and Incident Response. International Journal of Research Publication and Reviews, 5(10), 2907-2920.