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

CASH:一种最优口令保护的代价非对称安全散列算法

CASH: A Cost Asymmetric Secure Hash Algorithm for Optimal Password Protection

Jeremiah Blocki, Anupam Datta

摘要:

已经获得用户密码的加密散列的攻击者可以发起离线攻击,通过将该散列值与可能的密码猜测的加密散列进行比较来破解密码。这种离线攻击者只受到他愿意投入的资源的限制来破解密码。密钥扩展工具可以帮助减轻离线攻击的威胁,使每个密码猜测更昂贵的对手来验证。然而,密钥拉伸增加了合法认证服务器的认证成本。我们介绍了一种新颖的Stackelberg游戏模型,它捕捉到了这种防御者和离线攻击者之间的互动的基本要素。然后,我们引入成本不对称安全哈希(CASH),一个随机密钥拉伸机制,最大限度地减少密码的比例,将被一个合理的离线攻击者破解,而不增加合法的认证服务器的摊销认证成本。CASH的动机是观察到合法的身份验证服务器通常会运行身份验证过程来验证正确的密码,而离线攻击者通常会使用不正确的密码猜测。通过使用随机化,我们可以确保运行CASH来验证正确密码猜测的摊销成本明显小于拒绝错误密码的成本。使用我们的Stackelberg游戏框架,我们可以量化质量的基础现金运行时间分布的密码,一个理性的离线对手会破解的分数。我们提供了一个有效的算法来计算高质量的现金分布的后卫。最后,我们使用两个大规模密码频率数据集的经验数据来分析CASH。我们的分析表明,现金可以显着减少(高达$50\%$)的分数密码破解一个理性的离线对手。

英文摘要:

An adversary who has obtained the cryptographic hash of a user's password can mount an offline attack to crack the password by comparing this hash value with the cryptographic hashes of likely password guesses. This offline attacker is limited only by the resources he is willing to invest to crack the password. Key-stretching tools can help mitigate the threat of offline attacks by making each password guess more expensive for the adversary to verify. However, key-stretching increases authentication costs for a legitimate authentication server. We introduce a novel Stackelberg game model which captures the essential elements of this interaction between a defender and an offline attacker. We then introduce Cost Asymmetric Secure Hash (CASH), a randomized key-stretching mechanism that minimizes the fraction of passwords that would be cracked by a rational offline attacker without increasing amortized authentication costs for the legitimate authentication server. CASH is motivated by the observation that the legitimate authentication server will typically run the authentication procedure to verify a correct password, while an offline adversary will typically use incorrect password guesses. By using randomization we can ensure that the amortized cost of running CASH to verify a correct password guess is significantly smaller than the cost of rejecting an incorrect password. Using our Stackelberg game framework we can quantify the quality of the underlying CASH running time distribution in terms of the fraction of passwords that a rational offline adversary would crack. We provide an efficient algorithm to compute high quality CASH distributions for the defender. Finally, we analyze CASH using empirical data from two large scale password frequency datasets. Our analysis shows that CASH can significantly reduce (up to $50\%$) the fraction of password cracked by a rational offline adversary.

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

↑