DAHash:密码散列代价的分布感知调整
DAHash: Distribution Aware Tuning of Password Hashing Costs
摘要:
入侵认证服务器并窃取所有加密密码散列的攻击者能够对每个用户的密码发起离线蛮干攻击。针对密码的离线蛮干攻击越来越普遍,并且有据可查的人类倾向于选择低熵密码和/或在多个帐户中重复使用这些密码,从而放大了这种危险。通常部署中等难度的密码散列函数,以通过增加攻击者的猜测成本来帮助保护密码免受离线攻击。然而,由于认证服务器是资源受限的,并且必须避免引入大量的认证延迟,因此可以使密码散列函数“硬”到何种程度是有限制的。观察到不同用户选择的密码强度存在很大差距,我们引入了DAHash(分布式感知密码哈希),这是一种新的机制,可以减少攻击者将破解的密码数量。我们的关键见解在于,资源受限的认证服务器可以根据用户密码的(估计)强度动态调整密码哈希函数的硬度参数。我们引入了一个Stackelberg游戏模型之间的相互作用的防御者(认证服务器)和离线攻击者。我们的模型允许防御者优化DAHash的参数,例如,指定对弱/中等/高强度密码进行哈希运算所花费的工作量。我们使用几个大规模的密码频率数据集,实证评估我们的差异化成本密码哈希机制的有效性。我们发现,使用我们的机制的防御者可以将被理性离线攻击者破解的密码减少约15%。
英文摘要:
An attacker who breaks into an authentication server and steals all of the cryptographic password hashes is able to mount an offline-brute force attack against each user's password. Offline brute-force attacks against passwords are increasingly commonplace and the danger is amplified by the well documented human tendency to select low-entropy password and/or reuse these passwords across multiple accounts. Moderately hard password hashing functions are often deployed to help protect passwords against offline attacks by increasing the attacker's guessing cost. However, there is a limit to how "hard" one can make the password hash function as authentication servers are resource constrained and must avoid introducing substantial authentication delay. Observing that there is a wide gap in the strength of passwords selected by different users we introduce DAHash (Distribution Aware Password Hashing) a novel mechanism which reduces the number of passwords that an attacker will crack. Our key insight ishat a resource-constrained authentication server can dynamically tune the hardness parameters of a password hash function based on the (estimated) strength of the user's password. We introduce a Stackelberg game to model the interaction between a defender (authentication server) and an offline attacker. Our model allows the defender to optimize the parameters of DAHash e.g., specify how much effort is spent to hash weak/moderate/high strength passwords. We use several large scale password frequency datasets to empirically evaluate the effectiveness of our differentiated cost password hashing mechanism. We find that the defender who uses our mechanism can reduce the fraction of passwords that would be cracked by a rational offline attacker by around 15%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。