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%.
翻译:侵入认证服务器并窃取所有密码密码的攻击者能够对每个用户的密码进行离线粗力攻击。 对密码的离线粗力攻击越来越普遍,而且由于有详细记录的人类选择低渗透密码和(或)再利用这些密码的多种账户的趋势,这种危险更加严重。 中等硬性密码散列功能常常被部署,通过提高攻击者的猜测成本来帮助保护密码不受离线攻击。 然而, 一个人如何使密码的“ 硬性” 功能成为“ 硬性” 功能, 因为认证服务器受到资源差异化的频率限制, 并且必须避免大量认证延迟。 观察不同用户选择的密码的强度存在很大差距, 我们引入了DAHash( 分散感知密码) 的新机制, 减少攻击者破解的密码数量。 我们的关键洞察力是, 受资源限制的验证服务器可以动态地调和密码的硬性参数。 基于( 估计的) 用户攻击变速服务器的较强的频率, 并且必须避免大量认证。 我们引入了Stacelger 游戏游戏游戏的游戏游戏到一个比重的服务器比重的游戏比值 。 我们的游戏比重数据比重 。