[Paper Review] Measuring Password Strength: An Empirical Analysis
This paper presents an empirical analysis of nearly 10,000 real-world passwords from an Italian instant messaging server, measuring their strength using search space size and evaluating the effectiveness of dictionary and Markov chain-based attack techniques. It finds that password strength varies widely, with diminishing returns in cracking success as attack effort increases, and shows that Markov models with k=2 and k=1 crack 91.06% and 99.71% of passwords, respectively, after ~7×10^16 and ~10^40 attempts.
We present an in-depth analysis on the strength of the almost 10,000 passwords from users of an instant messaging server in Italy. We estimate the strength of those passwords, and compare the effectiveness of state-of-the-art attack methods such as dictionaries and Markov chain-based techniques. We show that the strength of passwords chosen by users varies enormously, and that the cost of attacks based on password strength grows very quickly when the attacker wants to obtain a higher success percentage. In accordance with existing studies we observe that, in the absence of measures for enforcing password strength, weak passwords are common. On the other hand we discover that there will always be a subset of users with extremely strong passwords that are very unlikely to be broken. The results of our study will help in evaluating the security of password-based authentication means, and they provide important insights for inspiring new and better proactive password checkers and password recovery tools.
Motivation & Objective
- To analyze the actual strength of real-world passwords chosen by users without password enforcement mechanisms.
- To evaluate the effectiveness of state-of-the-art password cracking techniques—specifically dictionaries and Markov chain models—on real password datasets.
- To quantify the relationship between attack effort (number of attempts) and success rate (percentage of passwords cracked).
- To provide actionable insights for system designers on tuning password strength enforcement and key-stretching parameters.
- To assess the cost-benefit trade-off of password guessing attacks based on password strength distribution.
Proposed method
- The study uses a dataset of 9,998 unencrypted passwords collected from an Italian instant messaging server.
- Password strength is measured by estimating the size of the search space—the number of attempts required to guess a password.
- The authors apply multiple attack techniques: common password lists, language-specific dictionaries (English, Italian), and Markov chain models with varying order k (from 1 to 5).
- For higher-order Markov models (k ≥ 3), the search space is approximated using Algorithm 2 to avoid explicit enumeration.
- A multi-step attack strategy is proposed, combining dictionaries and Markov models in order of increasing search space size to maximize cracking efficiency.
- The cumulative number of attempts and the percentage of cracked passwords are recorded and analyzed across each attack phase.
Experimental results
Research questions
- RQ1What is the actual distribution of password strength in real-world systems without enforcement?
- RQ2How effective are dictionary-based attacks versus Markov chain models in cracking real user passwords?
- RQ3At what point do additional attack efforts yield diminishing returns in terms of password cracking success?
- RQ4How does the search space size correlate with the success rate of different attack techniques?
- RQ5What is the optimal multi-step strategy for an attacker seeking to maximize the number of passwords cracked within a given computational budget?
Key findings
- The strength of user-chosen passwords varies enormously, with a few users selecting extremely strong passwords that are highly resistant to guessing.
- Dictionary-based attacks are most effective against weaker passwords, cracking only 44.26% of passwords after ~40.5 million attempts.
- Markov chain models with k=5 and k=4 crack 45.05% and 46.76% of passwords, respectively, after ~41 million and ~48 million attempts.
- Markov models with k=3 and k=2 crack 58.10% and 91.06% of passwords after approximately 750 million and 7×10^16 attempts, respectively.
- The k=1 Markov model cracks 99.71% of passwords after ~10^40 attempts, indicating that even the most complex passwords are vulnerable under exhaustive search.
- The study reveals a strong diminishing returns effect: each order-of-magnitude reduction in search space yields only a modest increase in cracking success, making high-effort attacks less justifiable.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.