Cross-Domain Feature Enhancement-Based Password Guessing Method for Small Samples
Open Access
Abstract
As a crucial component of account protection system evaluation and intrusion detection, the advancement of password guessing technology encounters challenges due to its reliance on password data. In password guessing research, there is a conflict between the traditional models’ need for large training samples and the limitations on accessing password data imposed by privacy protection regulations. Consequently, security researchers often struggle with the issue of having a very limited password set from which to guess. This paper introduces a small-sample password guessing technique that enhances cross-domain features. It analyzes the password set using probabilistic context-free grammar (PCFG) to create a list of password structure probabilities and a dictionary of password fragment probabilities, which are then used to generate a password set structure vector. The method calculates the cosine similarity between the small-sample password set B from the target area and publicly leaked password sets using the structure vector, identifying the set with the highest similarity. This set is then utilized as a training set, where the features of the small-sample password set are enhanced by modifying the structure vectors of the training set. The enhanced training set is subsequently employed for PCFG password generation. The paper uses hit rate as the evaluation metric, and Experiment I reveals that the similarity between B and can be reliably measured when the size of B exceeds 150. Experiment II confirms the hypothesis that a higher similarity between and B leads to a greater hit rate of on the test set of B, with potential improvements of up to 32% compared to training with B alone. Experiment III demonstrates that after enhancing the features of , the hit rate for the small-sample password set can increase by as much as 10.52% compared to previous results. This method offers a viable solution for small-sample password guessing without requiring prior knowledge.
Keywords
Funding Information
- Sichuan Science and Technology Program (2025ZNSFSC1479)
- Science and Technology Program of Sichuan Province, China (2023YFG0264)
This publication has 11 references indexed in Scilit:
- Similarities: The Key Factors Influencing Cross-Site Password Guessing PerformanceElectronics, 2025
- PagPassGPT: Pattern Guided Password Guessing via Generative Pretrained Transformer2024
- PassGPT: Password Modeling and (Guided) Generation with Large Language Models2024
- #Segments: A Dominant Factor of Password Security to Resist against Data-driven GuessingComputers & Security, 2022
- GNPassGAN: Improved Generative Adversarial Networks For Trawling Offline Password Guessing2022
- WordMarkov: A New Password Probability Model of Semantics2022
- Efficient Password Guessing Based on a Password Segmentation Approach2019
- PassGAN: A Deep Learning Approach for Password Guessing2019
- Targeted Online Password Guessing2016
- Zero-Sum Password Cracking Game: A Large-Scale Empirical Study on the Crackability, Correlation, and Security of PasswordsIEEE Transactions on Dependable and Secure Computing, 2015