密码破解:Hash函数偏差对平均猜测的影响
Password Cracking: The Effect of Hash Function Bias on the Average Guesswork
摘要:
现代认证系统使用密码散列函数存储用户密码的散列值。因此,要破解密码,攻击者需要猜测映射到散列值的散列函数输入,而不是密码本身。我们调用一个哈希函数,它将相同数量的输入映射到每个bin,如\textbf{unbiased}。然而,使用中的密码散列函数尚未被证明是无偏的(即,它们可以具有映射到不同仓的不相等数量的输入)。加密散列函数具有计算上难以找到映射到bin的输入的特性。在这项工作中,我们引入了一个有偏见的哈希函数的结构化概念,我们分析了在某些类型的蛮干攻击的平均猜测。这项工作表明,安全级别取决于有效用户的散列值集以及散列函数的统计配置文件,这是由偏见造成的。我们研究了以散列值集为条件的平均猜测,并通过映射到bin的输入数量的经验分布来建模统计配置文件。特别是,我们专注于一类统计配置文件(捕获偏差),我们称之为类型类统计配置文件,具有经验分布的类型的方法中定义的类型类的概率。对于这样的配置文件,我们表明,平均猜测有关的基本措施,如熵和发散信息论。我们用这个来表明,偏见的影响的条件平均猜测是有限的相比,其他系统参数,如有效的用户存储在系统中的散列密码的数量。
英文摘要:
Modern authentication systems store hashed values of passwords of users using cryptographic hash functions. Therefore, to crack a password an attacker needs to guess a hash function input that is mapped to the hashed value, as opposed to the password itself. We call a hash function that maps the same number of inputs to each bin, as \textbf{unbiased}. However, cryptographic hash functions in use have not been proven to be unbiased (i.e., they may have an unequal number of inputs mapped to different bins). A cryptographic hash function has the property that it is computationally difficult to find an input mapped to a bin. In this work we introduce a structured notion of biased hash functions for which we analyze the average guesswork under certain types of brute force attacks. This work shows that the level of security depends on the set of hashed values of valid users as well as the statistical profile of a hash function, resulting from bias. We examine the average guesswork conditioned on the set of hashed values, and model the statistical profile through the empirical distribution of the number of inputs that are mapped to a bin. In particular, we focus on a class of statistical profiles (capturing the bias) , which we call type-class statistical profiles, that has an empirical distribution related to the probability of the type classes defined in the method of types. For such profiles, we show that the average guesswork is related to basic measures in information theory such as entropy and divergence. We use this to show that the effect of bias on the conditional average guesswork is limited compared to other system parameters such as the number of valid users who store their hashed passwords in the system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。