When Intelligence Fails: An Empirical Study on Why LLMs Struggle with Password Cracking
Not on the map. Why?
Abstract (arXiv)
The remarkable capabilities of Large Language Models (LLMs) in natural language understanding and generation have sparked interest in their potential for cybersecurity applications, including password guessing. In this study, we conduct an empirical investigation into the efficacy of pre-trained LLMs for password cracking using synthetic user profiles. Specifically, we evaluate the performance of state-of-the-art open-source LLMs such as TinyLLaMA, Falcon-RW-1B, and Flan-T5 by prompting them to generate plausible passwords based on structured user attributes (e.g., name, birthdate, hobbies). Our results, measured using Hit@1, Hit@5, and Hit@10 metrics under both plaintext and SHA-256 hash comparisons, reveal consistently poor performance, with all models achieving less than 1.5% accuracy at Hit@10. In contrast, traditional rule-based and combinator-based cracking methods demonstrate significantly higher success rates. Through detailed analysis and visualization, we identify key limitations in the generative reasoning of LLMs when applied to the domain-specific task of password guessing. Our findings suggest that, despite their linguistic prowess, current LLMs lack the domain adaptation and memorization capabilities required for effective password inference, especially in the absence of supervised fine-tuning on leaked password datasets. This study provides critical insights into the limitations of LLMs in adversarial contexts and lays the groundwork for future efforts in secure, privacy-preserving, and robust password modeling.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 21 references that are in the map. First posted on arXiv 18 Oct 2025.
Builds on
8 of 21 references.
References · 8
- 2017PassGAN: A Deep Learning Approach for Password Guessingcited by 25
- 2021PassFlow: Guessing Passwords with Generative Flowscited by 10
- 2023PassGPT: Password Modeling and (Guided) Generation with Large Language Modelscited by 8
- 2023SE#PCFG: Semantically Enhanced PCFG for Password Analysis and Crackingcited by 4
- 2023Universal Neural-Cracking-Machines: Self-Configurable Password Models from Auxiliary Datacited by 2
- 2022On Deep Learning in Password Guessing, a Surveycited by 1
- 2024Search-based Ordered Password Generation of Autoregressive Neural Networkscited by 1
- 2024PassTSL: Modeling Human-Created Passwords through Two-Stage Learningcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Benchmarking Large Language Models for Cryptanalysis and Side-Channel Vulnerabilities
- 2025Evaluating Language Model Reasoning about Confidential Information
- 2025Paper Summary Attack: Jailbreaking LLMs through LLM Safety Papers
- 2026PassGPT+: Leveraging Linguistic Priors for Password Modeling
- 2026SoK: Robustness in Large Language Models against Jailbreak Attacks
- 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
- 2024Security and Privacy Challenges of Large Language Models: A Survey
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly