Keywords:-

Keywords: Password Security, LSTM, Deep Learning, Authentication, Cybersecurity, Machine Learning, Password Strength Classification

Article Content:-

Abstract

Password-based authentication remains the primary security mechanism for protecting user accounts and sensitive information, yet weak password selection continues as a pervasive global vulnerability. Traditional rule-based password strength meters exhibit significant limitations in adapting to emerging attack strategies and identifying subtle vulnerability patterns. This study presents an intelligent Long Short-Term Memory (LSTM) based framework for password strength classification that addresses these shortcomings through advanced Deep Learning techniques. The proposed system integrates a bidirectional LSTM network with comprehensive feature extraction pipelines incorporating Shannon entropy calculations, pattern recognition metrics, and statistical analysis to assess password security across weak, medium, and strong classifications. The framework was trained and validated on a diverse dataset of 1,000,000 passwords compiled from breach databases and synthetic sources, partitioned into 70% training, 15% validation, and 15% testing sets. The experimental results for the system demonstrate exceptional performance with 96.8% accuracy, outperforming traditional rule-based systems by 23.4 percentage points and commercial password meters by 12.1-18.5 percentage points. The system achieves 98.3% recall for weak password detection with only 1.7% false negative rate, compared to 8.8-13.9% for commercial solutions. Field deployment with 500 users over 30 days validated practical impact, showing 40.7% higher password entropy, 204.3% improvement in strong password adoption, and 69.5% reduction in dictionary word usage. The lightweight architecture (4.7 MB model size, 1.8ms inference time) enables real-time integration into web applications and enterprise authentication systems. The framework provides actionable, context-aware security recommendations and achieves detection rates exceeding 94% across diverse attack vectors including dictionary attacks, keyboard patterns, sequential characters, and previously breached credentials. The study demonstrates that LSTM-based approaches significantly enhance password security assessment capabilities and effectively guide users toward adopting stronger authentication practices.

References:-

References

M. I. M. Yusop, N. H. Kamarudin, N. H. S. Suhaimi, and M. K. Hasan, "Advancing passwordless authentication: A systematic review of methods, challenges, and future directions for secure user identity," IEEE Access, 2025.

V. Komandla, "Critical Features and Functionalities of Secure Password Vaults for Fintech: An In-Depth Analysis of Encryption Standards, Access Controls, and Integration Capabilities," Access Controls, and Integration Capabilities (January 01, 2023), 2023.

X. Tian, "Unraveling the dynamics of password manager adoption: a deeper dive into critical factors," Information & Computer Security, vol. 33, pp. 117-139, 2025.

A. Orgah, S. Sudhakaran, and D. Orgah, "Passwords: An Empirical Study of Behaviors in the Social Media Era," in New Perspectives in Behavioral Cybersecurity II, ed: CRC Press, 2025, pp. 155-171.

S. Mansfield-Devine, "Who's that knocking at the door? The problem of credential abuse," Network Security, vol. 2021, pp. 6-15, 2021.

L. Rzayeva, A. Ryzhova, M. Zhaparkhanova, A. Myrzatay, O. Konakbayev, A. Imanberdi, et al., "Development of a Method for Determining Password Formation Rules Using Neural Networks," Information, vol. 16, p. 655, 2025.

M. Hachem, A. Lanfranchi, N. Clarke, and J. Kavrestad, "Optimizing Password Cracking for Digital Investigations," arXiv preprint arXiv:2504.03347, 2025.

L. Y. Por, I. O. Ng, Y.-L. Chen, J. Yang, and C. S. Ku, "A systematic literature review on the security attacks and countermeasures used in graphical passwords," IEEE Access, vol. 12, pp. 53408-53423, 2024.

F. F. Mojtahedi, N. Yousefpour, S. Chow, and M. Cassidy, "Deep learning for time series forecasting: Review and applications in geotechnics and geosciences," Archives of Computational Methods in Engineering, pp. 1-31, 2025.

I. Mahmoudi, D. E. Boubiche, S. Athmani, H. Toral-Cruz, and F. I. Chan-Puc, "Toward Generative AI-Based Intrusion Detection Systems for the Internet of Vehicles (IoV)," Future Internet, vol. 17, p. 310, 2025.

N. Chowdhury, "Analyzing password strength: A combinatorial entropy approach," in Proceedings of ACM Conference (Conference 2017), 2024.

E. Gerlitz, M. Häring, and M. Smith, "Please do not use!? _ or your license plate number: Analyzing password policies in german companies," in Seventeenth Symposium on Usable Privacy and Security (SOUPS 2021), 2021, pp. 17-36.

K. Lee, S. Sjöberg, and A. Narayanan, "Password policies of most top websites fail to follow best practices," in Eighteenth Symposium on Usable Privacy and Security (SOUPS 2022), 2022, pp. 561-580.

I. Hjelden, "Using Probabilistic Context-Free Grammar to Create Password Guessing Models," Scholarly Horizons: University of Minnesota, Morris Undergraduate Journal, vol. 10, p. 4, 2023.

X. Guo, Y. Liu, K. Tan, W. Mao, M. Jin, and H. Lu, "Dynamic markov model: Password guessing using probability adjustment method," Applied Sciences, vol. 11, p. 4607, 2021.

L. L. T. Vaughan, F. J. R. Cangue, E. dos Santos Silva, and J. A. G. de Sousa, "48-digit-binary-password authentication in high security sectors with Deep Feed Forward Neural Networks (DFFNNs)," Caderno Pedagógico, vol. 22, pp. e13850-e13850, 2025.

R. Divya, S. B. Devamane, V. Dharshini, and S. Deepika, "Performance analysis of machine learning algorithms for password strength check," in 2023 International Conference on Computational Intelligence for Information, Security and Communication Applications (CIISCA), 2023, pp. 338-343.

A. K. Kalusivalingam, A. Sharma, N. Patel, and V. Singh, "Leveraging bert and lstm for enhanced natural language processing in clinical data analysis," International Journal of AI and ML, vol. 2, 2021.

S. M. Al-Selwi, M. F. Hassan, S. J. Abdulkadir, and A. Muneer, "LSTM inefficiency in long-term dependencies regression problems," Journal of Advanced Research in Applied Sciences and Engineering Technology, vol. 30, pp. 16-31, 2023.

V. Şahin, F. Arat, and S. Akleylek, "Anomaly detection with API calls BY using machine learning: systematic literature review," Current Trends in Computing, vol. 2, pp. 60-85, 2024.

A. Nosenko, Y. Cheng, and H. Chen, "Password and passphrase guessing with recurrent neural networks," Information Systems Frontiers, vol. 25, pp. 549-565, 2023.

H. Rehman, A. Ahmed, A. Hussain, M. Umar, M. Siraj, W. Ahmed, et al., "Password Strength Classification Using Machine Learning Methods," in 2024 Global Conference on Wireless and Optical Technologies (GCWOT), 2024, pp. 1-7.

Downloads

Citation Tools

How to Cite
Nelson, D. I., Boma, C. I., Oraye, G., & B., D. F. (2026). An Intelligent Machine Learning Framework for Password Strength and Security System. International Journal Of Mathematics And Computer Research, 14(04), 6331-6338. https://doi.org/10.47191/ijmcr/v14i4.11