TL;DR
This paper surveys deep learning approaches for password guessing, highlighting their ability to bypass the need for domain expertise required by traditional methods. The authors propose a novel experimental design using Improved Training of Wasserstein GANs (IWGAN) for more accurate and efficient password strength meters, aiming to improve overall password security.
What Problem Does This Paper Address?
The security of passwords, a cornerstone of digital authentication, is heavily reliant on understanding attacker strategies. However, simulating real-world password guessing tactics, like dictionary attacks, is challenging because they often require deep domain knowledge about user password construction habits. This paper addresses this gap by exploring deep learning models that can guess passwords without needing such specific domain expertise or making assumptions about user password structures. This is crucial for developing more effective password security tools and Password Strength Meters (PSMs).
Methods
The paper categorizes and compares several deep learning techniques for password guessing:
- Recurrent Neural Networks (RNNs): These models process sequential data and use internal memory. Long Short-Term Memory (LSTM) networks are a key variant, designed to handle long-term dependencies in password sequences.
- Generative Adversarial Networks (GANs): GANs consist of a generator and a discriminator that compete to create realistic synthetic data. In this context, the generator learns to produce password candidates that mimic real user passwords, while the discriminator tries to distinguish between real and generated passwords. The paper specifically mentions Improved Training of Wasserstein GANs (IWGAN) as a promising approach.
- Autoencoders: These models learn compressed representations of data. In password guessing, they can be used to learn password distributions without directly predicting them.
- Attention Mechanisms: These mechanisms allow models to focus on specific parts of the input data, improving their understanding of textual structure and potentially enhancing password guessing accuracy.
The authors propose a research experimental design using IWGAN for non-targeted, offline password guessing.
Datasets
The paper lists several publicly accessible datasets commonly used for password guessing research:
- Yahoo
- phpBB
- Rock You
- Myspace
- SkullSecurityComp
For their proposed experimental design, the authors plan to use the Rockyou dataset, with a specific focus on passwords that adhere to modern password creation policies (e.g., length between 8 and 12 characters). They also mention using a smaller dataset from GitHub. A key aspect of their experimental design is to preprocess datasets to simulate real-world password creation circumstances, considering password policies.
Key Insights and Ideas
- Deep Learning Bypasses Domain Expertise: A significant insight is that deep learning models can learn password patterns and structures without requiring manual rule creation or deep knowledge of user behavior, which is a major bottleneck for traditional methods.
- GANs for Realistic Password Generation: GANs show promise in generating highly realistic password candidates that can effectively challenge password security measures.
- Importance of Password Policies: The paper highlights that real-world password guessing must account for password policies (length, character types), which previous research often overlooked. This is crucial for developing more accurate PSMs.
- IWGAN for Stability: The use of IWGAN is suggested to address the training instability issues often encountered with vanilla GANs, particularly mode collapse.
Key Results
The paper presents a comparison of various deep learning models used for password guessing, but specific quantitative results for the proposed IWGAN experiment are not yet available as it's a proposed design. However, it references prior work:
- PassGAN (a GAN-based approach) outperformed rule-based and other machine learning methods, matching 51%-73% of passwords when combined with HashCat.
- The paper notes that even with advanced models, the best guessing accuracy reported for one-site password guessing is 51.8% after 10^10 guesses, and for cross-site guessing, it's 23% after 10^12 guesses, indicating significant room for improvement.
Limitations and Future Work
Limitations:
- Insufficiency of Training Resources: The reliance on leaked datasets, while straightforward for comparison, may not guarantee model generalizability.
- Low Guessing Success Rates: Current models still struggle to achieve very high guessing success rates, especially in cross-site scenarios.
- Outdated Data Distributions: Password patterns evolve over time, and using older datasets for training and testing might not reflect current threats.
- Lack of Password Policy Consideration: Most research has not adequately distinguished between various password policies, which significantly impacts security.
Future Work:
- Leveraging Advanced NLP/CV Techniques: Incorporating newer advancements like BERT, self-attention mechanisms, and improved GAN variants can enhance password guessing performance.
- Targeted Attacks with GANs: GANs could be conditioned on user PII for more effective targeted password guessing.
- Developing Trustworthy PSMs: Deep learning model estimations can be used to create robust PSMs that guide users to create stronger passwords.
- Custom/Site-Specific Data: Training and testing models on custom or site-specific data can help overcome resource limitations and improve generalizability.
- Considering Password Policies: Future research must explicitly consider password policies, and transfer learning can be used to adapt models to specific policy requirements.
Summary updated