代价不对称的内存硬口令散列
Cost-Asymmetric Memory Hard Password Hashing
摘要:
在过去的十年中,数十亿用户密码暴露在离线密码破解攻击的危险威胁中。窃取用户密码的加密散列的离线攻击者可以检查尽可能多的密码猜测,因为他/她只受他/她愿意投入破解密码的资源的限制。Pepper和密钥拉伸是两种通过增加猜测成本来阻止离线攻击者的技术。Pepper确保拒绝错误密码猜测的成本高于验证正确密码猜测的(预期)成本。这很有用,因为大多数离线攻击者的猜测都是不正确的。不幸的是,正如我们所观察到的,传统的peppering防御似乎与现代内存硬键拉伸算法(如Argon 2或Scrypt)不兼容。我们介绍了一种替代胡椒,我们称之为成本不对称内存硬密码认证,它受益于与经典胡椒防御相同的成本不对称性,即,拒绝不正确的密码猜测的成本大于验证正确的密码猜测的预期成本。当配置正确时,我们证明我们的机制只能减少被目标是最大化(预期)利润的理性离线攻击者破解的用户密码的百分比,即,破解密码的总价值减去总猜测成本。我们评估我们的机制对理性离线攻击者的经验密码数据集的有效性。我们的实证分析表明,我们的机制可以显着减少用户密码被破解的理性攻击者高达10%的百分比。
英文摘要:
In the past decade, billions of user passwords have been exposed to the dangerous threat of offline password cracking attacks. An offline attacker who has stolen the cryptographic hash of a user's password can check as many password guesses as s/he likes limited only by the resources that s/he is willing to invest to crack the password. Pepper and key-stretching are two techniques that have been proposed to deter an offline attacker by increasing guessing costs. Pepper ensures that the cost of rejecting an incorrect password guess is higher than the (expected) cost of verifying a correct password guess. This is useful because most of the offline attacker's guesses will be incorrect. Unfortunately, as we observe the traditional peppering defense seems to be incompatible with modern memory hard key-stretching algorithms such as Argon2 or Scrypt. We introduce an alternative to pepper which we call Cost-Asymmetric Memory Hard Password Authentication which benefits from the same cost-asymmetry as the classical peppering defense i.e., the cost of rejecting an incorrect password guess is larger than the expected cost to authenticate a correct password guess. When configured properly we prove that our mechanism can only reduce the percentage of user passwords that are cracked by a rational offline attacker whose goal is to maximize (expected) profit i.e., the total value of cracked passwords minus the total guessing costs. We evaluate the effectiveness of our mechanism on empirical password datasets against a rational offline attacker. Our empirical analysis shows that our mechanism can reduce significantly the percentage of user passwords that are cracked by a rational attacker by up to 10%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。