PassTSL:通过两阶段学习建模人类创建的密码
PassTSL: Modeling Human-Created Passwords through Two-Stage Learning
AI总结:
本文提出PassTSL,一种基于预训练-微调两阶段学习的密码建模方法,在六个大型泄露密码数据库上显著优于五种SOTA破解方法,并实现了更准确的密码强度评估。
摘要:
文本密码仍然是最广泛使用的用户认证机制。由于文本密码与自然语言之间的紧密联系,自然语言处理(NLP)和机器学习(ML)中的先进技术可用于对密码进行建模,以达到不同目的,例如研究人类密码创建行为和开发更先进的密码破解方法,以帮助制定更好的防御机制。在本文中,我们提出了PassTSL(通过两阶段学习建模人类创建的密码),其灵感来自NLP和深度学习(DL)中流行的预训练-微调框架。我们报告了不同的预训练设置如何影响PassTSL,并通过将其应用于六个大型泄露密码数据库证明了其有效性。实验结果表明,在密码猜测方面,它显著优于五种最先进的(SOTA)密码破解方法,最大提升幅度从4.11%到64.69%不等。基于PassTSL,我们还实现了一个密码强度计(PSM),实验表明,在产生相同比例的安全错误(低估密码强度)时,它能够更准确地估计密码强度,导致比另外两个SOTA PSM(一个基于神经网络的方法和zxcvbn)更少的不安全错误(高估密码强度)。此外,我们探索了多种微调设置,评估结果显示,即使少量的额外训练数据,例如仅占预训练数据的0.1%,平均也能在密码猜测方面带来超过3%的提升。我们还提出了一种基于JS(Jensen-Shannon)散度选择微调密码的启发式方法,实验结果验证了其有效性。总之,我们的贡献展示了将先进的NLP和ML方法应用于密码建模和破解的潜力和可行性。
英文摘要:
Textual passwords are still the most widely used user authentication mechanism. Due to the close connections between textual passwords and natural languages, advanced technologies in natural language processing (NLP) and machine learning (ML) could be used to model passwords for different purposes such as studying human password-creation behaviors and developing more advanced password cracking methods for informing better defence mechanisms. In this paper, we propose PassTSL (modeling human-created Passwords through Two-Stage Learning), inspired by the popular pretraining-finetuning framework in NLP and deep learning (DL). We report how different pretraining settings affected PassTSL and proved its effectiveness by applying it to six large leaked password databases. Experimental results showed that it outperforms five state-of-the-art (SOTA) password cracking methods on password guessing by a significant margin ranging from 4.11% to 64.69% at the maximum point. Based on PassTSL, we also implemented a password strength meter (PSM), and our experiments showed that it was able to estimate password strength more accurately, causing fewer unsafe errors (overestimating the password strength) than two other SOTA PSMs when they produce the same rate of safe errors (underestimating the password strength): a neural-network based method and zxcvbn. Furthermore, we explored multiple finetuning settings, and our evaluations showed that, even a small amount of additional training data, e.g., only 0.1% of the pretrained data, can lead to over 3% improvement in password guessing on average. We also proposed a heuristic approach to selecting finetuning passwords based on JS (Jensen-Shannon) divergence and experimental results validated its usefulness. In summary, our contributions demonstrate the potential and feasibility of applying advanced NLP and ML methods to password modeling and cracking.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。