arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.02551cs.CR
收藏

基于多维秩估计的在线密码可猜性

Online Password Guessability via Multi-Dimensional Rank Estimation

Liron David, Avishai Wool

摘要:

人工选择的密码是身份验证系统的主要形式。密码强度估计器是用来帮助用户避免挑选弱密码预测多少尝试密码破解将需要,直到它找到一个给定的密码。在本文中,我们提出了一种新的密码强度估计,称为PESrank,它准确地模拟了一个强大的密码破解的行为。PESrank按最佳可能性降序计算给定密码的等级。PESrank可以在几分之一秒内估计给定密码的等级-而不需要实际枚举密码-所以它对在线使用很实用。它的训练时间也比以前的方法短得多。此外,PESrank可以有效地进行调整,以允许在几分之一秒内进行模型个性化,而无需重新训练模型;并且它是可以解释的:它能够提供有关密码为什么具有计算等级的信息,并为用户提供如何选择更好密码的见解。我们的想法是投在侧信道密码分析中使用的概率框架中的密码秩估计的问题。我们将每个密码视为$d$维搜索空间中的一个点,并分别学习每个维度的概率分布。维度表示基本单词,加上每个可能的转换(如添加后缀或使用大写模式)的维度。使用该模型,密码强度估计类似于侧信道秩估计。我们在Python中实现了PERrank,并对其进行了广泛的评估研究。我们还将其集成到我们大学课程的注册页面中。即使使用基于9.05亿个密码的模型,响应时间也远低于1秒,等级上界和下界之间的准确性裕度高达1位。

英文摘要:

Human-chosen passwords are the a dominant form of authentication systems. Passwords strength estimators are used to help users avoid picking weak passwords by predicting how many attempts a password cracker would need until it finds a given password. In this paper we propose a novel password strength estimator, called PESrank, which accurately models the behavior of a powerful password cracker. PESrank calculates the rank of a given password in an optimal descending order of likelihood. PESrank estimates a given password's rank in fractions of a second---without actually enumerating the passwords---so it is practical for online use. It also has a training time that is drastically shorter than previous methods. Moreover, PESrank is efficiently tweakable to allow model personalization in fractions of a second, without the need to retrain the model; and it is explainable: it is able to provide information on why the password has its calculated rank, and gives the user insight on how to pick a better password. Our idea is to cast the question of password rank estimation in a probabilistic framework used in side-channel cryptanalysis. We view each password as a point in a $d$-dimensional search space, and learn the probability distribution of each dimension separately. The dimensions represent the base word, plus a dimension for each possible transformation such as adding a suffix or using a capitalization pattern. Using this model, password strength estimation is analogous to side-channel rank estimation. We implemented PERrank in Python and conducted an extensive evaluation study of it. We also integrated it into the registration page of a course at our university. Even with a model based on 905 million passwords, the response time was well under 1 second, with up to a 1-bit accuracy margin between the upper bound and the lower bound on the rank.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑