Generating Optimized Guessing Candidates toward Better Password Cracking from Multi-Dictionaries Using Relativistic GAN
Source abstract
Abstract
Despite their well-known weaknesses, passwords are still the de-facto authentication method for most online systems. Due to its importance, password cracking has been vibrantly researched both for offensive and defensive purposes. Hashcat and John the Ripper are the most popular cracking tools, allowing users to crack millions of passwords in a short time. However, their rule-based cracking has an explicit limitation of depending on password-cracking experts to come up with creative rules. To overcome this limitation, a recent trend has been to apply machine learning techniques to research on password cracking. For instance, state-of-the-art password guessing studies such as PassGAN and rPassGAN adopted a Generative Adversarial Network (GAN) and used it to generate high-quality password guesses without knowledge of password structures. However, compared with the probabilistic context-free grammar (PCFG), rPassGAN shows inferior password cracking performance in some cases. It was also observed that each password cracker has its own cracking space that does not overlap with other models. This observation led us to realize that an optimized candidate dictionary can be made by combining the password candidates generated by multiple password generation models. In this paper, we suggest a deep learning-based approach called REDPACK that addresses the weakness of the cutting-edge cracking tools based on GAN. To this end, REDPACK combines multiple password candidate generator models in an effective way. Our approach uses the discriminator of rPassGAN as the password selector. Then, by collecting passwords selectively, our model achieves a more realistic password candidate dictionary. Also, REDPACK improves password cracking performance by incorporating both the generator and the discriminator of GAN. We evaluated our system on various datasets with password candidates composed of symbols, digits, upper and lowercase letters. The results clearly show that our approach outperforms all existing approaches, including rule-based Hashcat, GAN-based PassGAN, and probability-based PCFG. The proposed model was also able to reduce the number of password candidates by up to 65%, with only 20% cracking performance loss compared to the union set of passwords cracked by multiple-generation models.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Advanced Malware Detection Techniques · Spam and Phishing Detection · User Authentication and Security Systems
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Graduate School of Information Security, Korea University, Seoul 02841, Korea
References (37)
Show source-provided references
1. Dell’ Amico, M., Michiardi, P., and Roudier, Y. (2010, January 14–19). Password Strength: An Empirical Analysis. Proceedings of the 2010 Proceedings IEEE INFOCOM, San Diego, CA, USA.10.1109/INFCOM.2010.5461951 ↗
2. Dürmuth, M., Angelstorf, F., Castelluccia, C., Perito, D., and Chaabane, A. (2015, January 4–6). OMEN: Faster Password Guessing Using an Ordered Markov Enumerator. Proceedings of the International Symposium on Engineering Secure Software and Systems, Milan, Italy.10.1007/978-3-319-15618-7_10 ↗
3. Ma, W., Campbell, J., Tran, D., and Kleeman, D. (2010, January 1–3). Password Entropy and Password Quality. Proceedings of the 2010 Fourth International Conference on Network and System Security, Victoria, Australia.10.1109/NSS.2010.18 ↗
4. (2018, July 12). John the Ripper Password Cracker. Available online: http://www.openwall.com/john/.
5. (2018, July 12). Hashcat Advanced Password Recovery. Available online: https://hashcat.net/wiki/.
6. (2018, July 12). Hashcat Rules. Available online: https://github.com/hashcat/hashcat/tree/master/rules.
7. Daniel Lowe, W. (2016, January 10–12). zxcvbn: Low-Budget Password Strength Estimation. Proceedings of the 25th {USENIX} Security Symposium ({USENIX} Security 16), Austin, TX, USA.
8. You, I. (2020). A New Password Cracking Model with Generative Adversarial Networks. Information Security Applications, Springer International Publishing.10.1007/978-3-030-39303-8 ↗
9. Hitaj, B., Gasti, P., Ateniese, G., and Perez-Cruz, F. (2017). PassGAN: A Deep Learning Approach for Password Guessing. arXiv.
10. Goodfellow, I., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014). Generative Adversarial Networks. Advances in Neural Information Processing Systems 27, Curran Associates, Inc.
11. Gulrajani, I., Ahmed, F., Arjovsky, M., Dumoulin, V., and Courville, A.C. (2017). Improved Training of Wasserstein GANs. Advances in Neural Information Processing Systems 30, Curran Associates, Inc.
12. Nam, S., Jeon, S., Kim, H., and Moon, J. (2020). Recurrent GANs Password Cracker For IoT Password Security Enhancement. Sensors, 20.10.3390/s20113106 ↗
13. Jolicoeur-Martineau, A. (2018). The relativistic discriminator: A key element missing from standard GAN. arXiv.
14. Weir, M., Aggarwal, S., Collins, M., and Stern, H. (2010, January 4–8). Testing metrics for password creation policies by attacking large sets of revealed passwords. Proceedings of the ACM Conference on Computer and Communications Security, Chicago IL, USA.10.1145/1866307.1866327 ↗
15. Ma, J., Yang, W., Luo, M., and Li, N. (2014, January 18–21). A Study of Probabilistic Password Models. Proceedings of the 2014 IEEE Symposium on Security and Privacy, Berkeley, CA, USA.10.1109/SP.2014.50 ↗
16. Bidgoli, H. (2006). Handbook of Information Security, Threats, Vulnerabilities, Prevention, Detection, and Management. Handbook of Information Security, Wiley.
17. (2018, July 12). KoreLogic’s Rules in John the Ripper. Available online: https://contest-2010.korelogic.com/rules.html.
18. (2018, July 12). Hashcat Per Position Markov Chains. Available online: https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/hashcat-per-position-markov-chains/.
19. (2018, July 12). JTR Markov Generator. Available online: https://openwall.info/wiki/john/markov.
20. (2018, October 05). Hashes.org Leaked Hashes. Available online: https://hashes.org/leaks.php.
21. Narayanan, A., and Shmatikov, V. (2005, January 7–11). Fast dictionary attacks on passwords using time-space tradeoff. Proceedings of the 12th ACM Conference on Computer and Communications Security–CCS 05, Alexandria, VA, USA.10.1145/1102120.1102168 ↗
22. Weir, M., Aggarwal, S., de Medeiros, B., and Glodek, B. (2009, January 17–20). Password Cracking Using Probabilistic Context-Free Grammars. Proceedings of the 2009 30th IEEE Symposium on Security and Privacy, Oakland, CA, USA.10.1109/SP.2009.8 ↗
23. Yazdi, S.H. (2015). Probabilistic Context-Free Grammar Based Password Cracking: Attack, Defense and Applications. [Ph.D. Thesis, Department of Computer Science, Florida State University].
24. Next Gen PCFG Password Cracking10.1109/TIFS.2015.2428671 ↗
25. Using Personal Information in Targeted Grammar-Based Probabilistic Password Attacks
26. National Institute of Standards and Technology (2017, June 10). Digital Identity Guidelines, Available online: https://pages.nist.gov/800-63-3/.
27. William, M., Blase, U., Sean M., S., Saranga, K., Lujo, B., Nicolas, C., and Lorrie Faith, C. (2016, January 10–12). Fast, Lean, and Accurate: Modeling Password Guessability Using Neural Networks. Proceedings of the 25th {USENIX} Security Symposium ({USENIX} Security 16), Austin, TX, USA.
28. Long Short-Term Memory10.1162/neco.1997.9.8.1735 ↗
29. Arjovsky, M., Chintala, S., and Bottou, L. (2017, January 6–11). {W}asserstein Generative Adversarial Networks. Proceedings of the 34th International Conference on Machine Learning, Sydney, Australia.
30. He, K., Zhang, X., Ren, S., and Sun, J. (2016, January 27–30). Deep Residual Learning for Image Recognition. Proceedings of the 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA.10.1109/CVPR.2016.90 ↗
31. Shang, W., Chiu, J., and Sohn, K. (2017, January 4–9). Exploring Normalization in Deep Residual Networks with Concatenated Rectified Linear Units. Proceedings of the Thirty-First AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v31i1.10759 ↗
32. Castelluccia, C., Dürmuth, M., and Perito, D. (2012, January 21–24). Adaptive password-strength meters from Markov models. Proceedings of the Network and Distributed System Security Symposium (NDSS), San Diego, CA, USA.
33. Cho, K., van Merrienboer, B., Gulcehre, C., Bahdanau, D., Bougares, F., Schwenk, H., and Bengio, Y. (2014, January 25–29). Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1179 ↗
34. Bellare, M., Pointcheval, D., and Rogaway, P. (2000, January 5–13). Authenticated Key Exchange Secure against Dictionary Attacks. Proceedings of the 19th International Conference on Theory and Application of Cryptographic Techniques, Bengaluru, India.10.1007/3-540-45539-6_11 ↗
35. Bellovin, S.M., and Merritt, M. (1992, January 4–6). Encrypted Key Exchange: Password-Based Protocols SecureAgainst Dictionary Attacks. Proceedings of the 1992 IEEE Symposium on Security and Privacy, Oakland, CA, USA.
36. Open key exchange: How to defeat dictionary attacks without encrypting public keys10.1007/BFb0028161 ↗
37. Katz, J., Ostrovsky, R., and Yung, M. (2001, January 6–10). Efficient Password-Authenticated Key Exchange Using Human-Memorable Passwords. Proceedings of the International Conference on the Theory and Application of Cryptographic Techniques: Advances in Cryptology, Innsbruck, Austria.10.1007/3-540-44987-6_29 ↗