对经验密码数据集的严格统计分析
Towards a Rigorous Statistical Analysis of Empirical Password Datasets
摘要:
密码安全性的一个主要挑战是描述攻击者的猜测曲线,即,攻击者在第一次$G$猜测中破解随机用户密码的概率是多少。一个关键的挑战是,猜测曲线取决于攻击者的猜测策略和用户密码的分布,这两者都是未知的。在这项工作中,我们的目标是遵循Kerckhoffs的原则和分析的最佳攻击者谁知道密码分布的性能。让$λ_G$表示这样的攻击者可以在$G$猜测范围内破解随机用户密码的概率。我们开发了几种统计上严格的技术,上限和下限$λ_G$给定$N$独立样本从未知的分布。我们表明,我们的边界具有很高的信心,并应用我们的技术来分析八个密码数据集。我们的实证分析表明,即使是最先进的密码破解模型往往是显着低于猜测效率比攻击者谁可以优化其攻击的基础上,其(部分)知识的密码分布。我们还应用我们的技术重新检查经验密码分布和齐普夫定律。我们发现,当$G$不是太大时,经验分布与我们在$λ_G$上的界限紧密匹配,即,$G \ll N$。然而,对于较大的$G$值,我们的经验分析严格地证明了经验分布(分别为Zipf定律)高估了攻击者的成功率。我们应用我们的技术上/下限的有效性的密码节流机制(密钥拉伸),用于减少攻击者猜测$G$的数量。最后,如果我们对用户对密码限制的反应方式做一个额外的假设,我们可以使用我们的技术来评估限制用户可能选择的密码的密码组合策略的有效性。
英文摘要:
A central challenge in password security is to characterize the attacker's guessing curve i.e., what is the probability that the attacker will crack a random user's password within the first $G$ guesses. A key challenge is that the guessing curve depends on the attacker's guessing strategy and the distribution of user passwords both of which are unknown to us. In this work we aim to follow Kerckhoffs' principle and analyze the performance of an optimal attacker who knows the password distribution. Let $λ_G$ denote the probability that such an attacker can crack a random user's password within $G$ guesses. We develop several statistically rigorous techniques to upper and lower bound $λ_G$ given $N$ independent samples from the unknown distribution. We show that our bounds hold with high confidence and apply our techniques to analyze eight password datasets. Our empirical analysis shows that even state-of-the-art password cracking models are often significantly less guess efficient than an attacker who can optimize its attack based on its (partial) knowledge of the password distribution. We also apply our techniques to re-examine the empirical password distribution and Zipf's Law. We find that the empirical distribution closely matches our bounds on $λ_G$ when $G$ is not too large i.e., $G \ll N$. However, for larger values of $G$ our empirical analysis rigorously demonstrates that the empirical distribution (resp. Zipf's Law) overestimates the attacker's success rate. We apply our techniques to upper/lower bound the effectiveness of password throttling mechanisms (key-stretching) which are used to reduce the number of attacker guesses $G$. Finally, if we make an additional assumption about the way users respond to password restrictions, we can use our techniques to evaluate the effectiveness of password composition policies which restrict the passwords users may select.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。