Intelligent Password Guessing Using Feature-Guided Diffusion †
Abstract
1. Introduction
2. Related Work
3. Methodology
3.1. Diffusion Process
3.2. Autoencoder
3.3. PassLDiffusion-Mask
4. Results and Discussion
4.1. Dataset
4.2. Comparison of the Models
- PassGAN-Mask [5]: This model employs a generative adversarial network (GAN) that uses partially masked password data as conditional input, aiming to learn the conditional probability distribution of real-world passwords. The architecture consists of two components: a generator, which produces candidate passwords, and a discriminator, which determines whether a given sample is real or generated.
- PassBERT [6]: This model is based on the BERT architecture and is designed for password-guessing tasks. It leverages BERT’s strength in capturing contextual relationships within sequences. During fine-tuning, it is adapted for other tasks such as training additional guessing models or analyzing password strength.
4.3. Model Validation and Guessing Success Rate
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Haller, N.; Metz, C. A One-Time Password System. Internet Engineering Task Force. RFC 1938, May 1996. Web Document. Available online: http://www.ietf.org/rfc/rfc1938.txt (accessed on 19 July 2025).
- Dhanalakshmi, R.; Vijayaraghavan, N.; Narasimhan, S.; Basha, S. Password Manager with Multi-Factor Authentication. In Proceedings of the 2023 International Conference on Networking and Communications (ICNWC), Chennai, India, 5–6 April 2023; pp. 1–5. [Google Scholar]
- Rombach, R.; Blattmann, A.; Lorenz, D.; Esser, P.; Ommer, B. High-Resolution Image Synthesis with Latent Diffusion Models. In Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 18–24 June 2022. [Google Scholar]
- Lovelace, J.; Kishore, V.; Wan, C.; Shekhtman, E.; Weinberger, K.Q. Latent Diffusion for Language Generation. In Proceedings of the 37th International Conference on Neural Information Processing Systems, New Orleans, LA, USA, 10–16 December 2023. [Google Scholar]
- Hitaj, B.; Gasti, P.; Ateniese, G.; Perez-Cruz, F. PassGAN: A Deep Learning Approach for Password Guessing. In Applied Cryptography and Network Security. ACNS 2019; Springer: Cham, Switzerland, 2019. [Google Scholar]
- Xu, M.; Yu, J.; Zhang, S.; Wu, H.; Han, W. Improving Real-World Password Guessing Attacks via Bi-Directional Transformers. In Proceedings of the 32nd USENIX Conference on Security Symposium, Anaheim, CA, USA, 9–11 August 2023. [Google Scholar]
- Vaithyasubramanian, S.; Christy, A. A Scheme to Create Secured Random Password Using Markov Chain. In Proceedings of the Artificial Intelligence and Evolutionary Algorithms in Engineering Systems; Suresh, L.P., Dash, S.S., Panigrahi, B.K., Eds.; Springer India: New Delhi, India, 2015; pp. 809–814. [Google Scholar]
- Weir, M.; Aggarwal, S.; de Medeiros, B.; Glodek, B. Password Cracking Using Probabilistic Context-Free Grammars. In Proceedings of the 2009 30th IEEE Symposium on Security and Privacy, Oakland, CA, USA, 17–20 May 2009; pp. 391–405. [Google Scholar]
- Radford, A.; Narasimhan, K.; Salimans, T.; Sutskever, I. Improving Language Understanding by Generative Pre-Training. Available online: https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf (accessed on 19 July 2025).
- Devlin, J.; Chang, M.-W.; Lee, K.; Toutanova, K. BERT: Pre-Training of Deep Bidirectional Transformers for Language Understanding. arXiv 2019, arXiv:1810.04805. [Google Scholar] [CrossRef]
- Goodfellow, I.J.; Pouget-Abadie, J.; Mirza, M.; Xu, B.; Warde-Farley, D.; Ozair, S.; Courville, A.; Bengio, Y. Generative Adversarial Networks. Commun. ACM 2014, 63, 139–144. [Google Scholar] [CrossRef]
- Papamakarios, G.; Nalisnick, E.; Rezende, D.J.; Mohamed, S.; Lakshminarayanan, B. Normalizing Flows for Probabilistic Modeling and Inference. J. Mach. Learn. Res. 2021, 22, 2617–2680. [Google Scholar]
- Ho, J.; Jain, A.; Abbeel, P. Denoising Diffusion Probabilistic Models. In Proceedings of the 34th International Conference on Neural Information Processing Systems, Vancouver, BC, Canada, 6–12 December 2020. [Google Scholar]
- Pagnotta, G.; Hitaj, D.; De Gaspari, F.; Mancini, L.V. PassFlow: Guessing Passwords with Generative Flows. arXiv 2021, arXiv:2105.06165. [Google Scholar] [CrossRef]
- Rando, J.; Perez-Cruz, F.; Hitaj, B. PassGPT: Password Modeling and (Guided) Generation with Large Language Models. In Computer Security—ESORICS 2023; Springer: Cham, Switzerland, 2023. [Google Scholar]
- Guo, S.; Duan, M.; Du, Y.; Wang, W.; Guo, L. PassDiff: A New Approach for Password Guessing Using Diffusion Model. In Proceedings of the 13th International Conference on Computer Engineering and Networks; Zhang, Y., Qi, L., Liu, Q., Yin, G., Liu, X., Eds.; Lecture Notes in Electrical Engineering; Springer Nature: Singapore, 2024; Volume 1125, pp. 29–40. ISBN 978-981-99-9238-6. [Google Scholar]








Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Huang, Y.-C.; Lin, J.-W. Intelligent Password Guessing Using Feature-Guided Diffusion. Eng. Proc. 2025, 120, 51. https://doi.org/10.3390/engproc2025120051
Huang Y-C, Lin J-W. Intelligent Password Guessing Using Feature-Guided Diffusion. Engineering Proceedings. 2025; 120(1):51. https://doi.org/10.3390/engproc2025120051
Chicago/Turabian StyleHuang, Yi-Ching, and Jhe-Wei Lin. 2025. "Intelligent Password Guessing Using Feature-Guided Diffusion" Engineering Proceedings 120, no. 1: 51. https://doi.org/10.3390/engproc2025120051
APA StyleHuang, Y.-C., & Lin, J.-W. (2025). Intelligent Password Guessing Using Feature-Guided Diffusion. Engineering Proceedings, 120(1), 51. https://doi.org/10.3390/engproc2025120051

