Integration of GenAI and Behavioral Analysis in an Authentication System
DOI:
https://doi.org/10.70862/CSIR.2025.0202-17Keywords:
generative artificial intelligence , GenAI, behavioral security, reactive architecture, anomaly detection, authenticationAbstract
This paper presents a model of a security-enhanced web authentication system that combines behavioral analysis, generative artificial intelligence, and an event-driven architecture. The aim of the study is to develop a dynamic monitoring and alerting mechanism capable of identifying unusual activity based on contextual and behavioral indicators, without imposing additional authentication steps on the user. The system leverages Redis with Pub/Sub and TTL notifications for reactive event processing, generative AI for automatic summarization of logs into a human-readable format, and the Isolation Forest algorithm for experimental detection of behavioral anomalies. The results demonstrate that the proposed architecture can effectively identify suspicious sessions, provide interpretable textual explanations of user actions, and react to key events in real time while maintaining low latency.
References
Manyika, J., & Roxburgh, C. (2011). The great transformer: The impact of the Internet on economic growth and prosperity. McKinsey Global Institute, 1(0360-8581), 1-9.
OECD. (2023). Country digital education ecosystems and governance: A companion to Digital Education Outlook. OECD Publishing. https://doi.org/10.1787/906134d4-en
Liu, Y., & Qiang, Z. (2023). Digital progress and trends report 2023 (English). World Bank Group. Retrieved from http://documents.worldbank.org/curated/en/099031924192524293
Sahin, S., & Li, F. (2021). Don’t forget the stuffing! Revisiting the security impact of typo-tolerant password authentication. In Proceedings of the ACM SIGSAC Conference on Computer and Communications Security. https://doi.org/10.1145/3460120.3484791
Otta, S. P., et al. (2023). A systematic survey of multi-factor authentication for cloud infrastructure. Future Internet, 15(4), 146. https://doi.org/10.3390/fi15040146
Rabzelj, M., & Sedlar, U. (2025). Beyond the leak: Analyzing the real-world exploitation of stolen credentials using honeypots. Sensors, 25(12), 3676. https://doi.org/10.3390/s25123676
Matzen, A., et al. (2025). Challenges and potential improvements for passkey adoption—A literature review with a user-centric perspective. Applied Sciences, 15(8), 4414. https://doi.org/10.3390/app15084414
Verizon (DBIR). (2024). Data breach investigations report. Retrieved November 8, 2025, from https://www.verizon.com/business/resources/reports/2024-dbir-data-breach-investigations-report.pdf
Baig, A. F., & Eskeland, S. (2021). Security, privacy, and usability in continuous authentication: A survey. Sensors, 21(17), 5967. https://doi.org/10.3390/s21175967
Verma, A., Moghaddam, V., & Anwar, A. (2022). Data-driven behavioural biometrics for continuous and adaptive user verification using smartphone and smartwatch. Sustainability, 14(12), 7362. https://doi.org/10.3390/su14127362
Papaioannou, M., et al. (2023). A survey on quantitative risk estimation approaches for secure and usable user authentication on smartphones. Sensors, 23(6), 2979. https://doi.org/10.3390/s23062979
Bonneau, J., et al. (2015). Passwords and the evolution of imperfect authentication. Communications of the ACM, 58(7), 78–87. https://doi.org/10.1145/2699390
Ometov, A., et al. (2018). Multi-factor authentication: A survey. Cryptography, 2(1), 1. https://doi.org/10.3390/cryptography2010001
Hasan, S. S., et al. (2025). A review on secure authentication mechanisms for mobile security. Sensors, 25(3), 700. https://doi.org/10.3390/s25030700
IBM. (2024). Cost of a data breach report 2025: The AI oversight gap – Top insights, AI impact, and risk reduction best practices. IBM. Retrieved November 8, 2025, from https://ibm.webcasts.com/starthere.jsp?ei=1726278
Bułat, R., & Ogiela, M. R. (2023). Personalized context-aware authentication protocols in IoT. Applied Sciences, 13(7), 4216. https://doi.org/10.3390/app13074216
Ryu, R., Yeom, S., Herbert, D., & Dermoudy, J. (2023). A comprehensive survey of context-aware continuous implicit authentication in online learning environments. IEEE Access, 11, 24561–24573. https://doi.org/10.1109/ACCESS.2023.3253484
Saleem, J., et al. (2025). Machine learning-enhanced attribute-based authentication for secure IoT access control. Sensors, 25(9), 2779. https://doi.org/10.3390/s25092779
de Almeida, M. G., & Canedo, E. D. (2022). Authentication and authorization in microservices architecture: A systematic literature review. Applied Sciences, 12(6), 3023. https://doi.org/10.3390/app12063023
Sharif, A., et al. (2022). The eIDAS regulation: A survey of technological trends for European electronic identity schemes. Applied Sciences, 12(24), 12679. https://doi.org/10.3390/app122412679
Han, A. H., & Lee, D. H. (2023). Detecting risky authentication using the OpenID Connect token exchange time. Sensors, 23(19), 8256. https://doi.org/10.3390/s23198256
Venčkauskas, A., et al. (2023). Enhancing microservices security with token-based access control method. Sensors, 23(6), 3363. https://doi.org/10.3390/s23063363
Wang, Y., Zhang, X., & Hu, H. (2023). Continuous user authentication on multiple smart devices. Information, 14(5), 274. https://doi.org/10.3390/info14050274
Bansal, P., & Ouda, A. (2024). Continuous authentication in the digital age: An analysis of reinforcement learning and behavioral biometrics. Computers, 13(4), 103. https://doi.org/10.3390/computers13040103
Wang, S., et al. (2021). Machine learning in network anomaly detection: A survey. IEEE Access, 9, 152379–152396. https://doi.org/10.1109/ACCESS.2021.3126834
Kyaw, P. H., Gutierrez, J., & Ghobakhlou, A. (2024). A systematic review of deep learning techniques for phishing email detection. Electronics, 13(19), 3823. https://doi.org/10.3390/electronics13193823
Wilk-Jakubowski, J. L., et al. (2025). Machine learning and neural networks for phishing detection: A systematic review (2017–2024). Electronics, 14(8), 3744. https://doi.org/10.3390/electronics14183744
Balogh, Š. (2024). Using generative AI models to support cybersecurity analysts. Electronics, 13(23), 4718. https://doi.org/10.3390/electronics13234718
Lee, J., et al. (2025). LogRESP-Agent: A recursive AI framework for context-aware log anomaly detection and TTP analysis. Applied Sciences, 15(13), 7237. https://doi.org/10.3390/app15137237
Palma, G., et al. (2025). Leveraging large language models for scalable and explainable cybersecurity log analysis. Journal of Cybersecurity and Privacy, 5(3), 55. https://doi.org/10.3390/jcp5030055
Zhu, S., et al. (2022). An optimized algorithm for dangerous driving behavior identification based on unbalanced data. Electronics, 11(10), 1557. https://doi.org/10.3390/electronics11101557
Chen, J., et al. (2023). An anomaly detection method for wireless sensor networks based on the improved isolation forest. Applied Sciences, 13(2), 702. https://doi.org/10.3390/app13020702
Villegas-Ch., et al. (2023). IoT anomaly detection to strengthen cybersecurity in the critical infrastructure of smart cities. Applied Sciences, 13(19), 10977. https://doi.org/10.3390/app131910977
Chua, W., et al. (2024). Web traffic anomaly detection using isolation forest. Informatics, 11(4), 83. https://doi.org/10.3390/informatics11040083
Alboqmi, R., & Gamble, R. F. (2025). Enhancing microservice security through vulnerability-driven trust in the service mesh architecture. Sensors, 25(3), 914. https://doi.org/10.3390/s25030914
Mushtaq, S., Mohsin, M., & Mushtaq, M. M. (2025). A systematic literature review on the implementation and challenges of zero trust architecture across domains. Sensors, 25(19), 6118. https://doi.org/10.3390/s25196118
Downloads
Published
Issue
Section
Categories
License
Copyright (c) 2025 Georgi Atanasov, Kostadin Yotov, Emil Hadzhikolev (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.