We examine the issue of password length leakage via encrypted traffic i.e., bicycle attacks. We aim to quantify both the prevalence of password length leakage bugs as well as the potential harm to users. In an observational study, we find that {\em most} of the Alexa top 100 rates sites are vulnerable to bicycle attacks meaning that an eavesdropping attacker can infer the exact length of a password based on the length the encrypted packet containing the password. We discuss several ways in which an eavesdropping attacker could link this password length with a particular user account e.g., a targeted campaign against a smaller group of users or via DNS hijacking for larger scale campaigns. We next use a decision-theoretic model to quantify the extent to which password length leakage might help an attacker to crack user passwords. In our analysis, we consider three different levels of password attackers: hacker, criminal and nation-state. In all cases, we find that such an attacker who knows the length of each user password gains a significant advantage over one without knowing the password length. As part of this analysis, we also release a new differentially private password frequency dataset from the 2016 LinkedIn breach using a differentially private algorithm of Blocki et al. (NDSS 2016) to protect user accounts. The LinkedIn frequency corpus is based on over 170 million passwords making it the largest frequency corpus publicly available to password researchers. While the defense against bicycle attacks is straightforward (i.e., ensure that passwords are always padded before encryption), we discuss several practical challenges organizations may face when attempting to patch this vulnerability. We advocate for a new W3C standard on how password fields are handled which would effectively eliminate most instances of password length leakage.
翻译:我们通过加密交通(即自行车袭击)检查密码长度渗漏问题。我们的目标是量化密码长度渗漏的流行程度以及用户可能受到的伤害。在一项观察研究中,我们发现Alexa100最高比率站点中的大多数都容易受到自行车袭击。这意味着窃听攻击者可以根据包含密码的加密包长度推断密码的确切长度。我们讨论一个窃听攻击者可以将这一密码长度与一个特定的用户账户联系起来的几种方法,例如,针对一个较小的用户群体进行有目标的密码长度渗漏错误运动,或者通过DNS劫机进行更大规模的运动。我们接下来使用一个决定理论模型来量化密码渗漏可能帮助攻击者破解用户密码的限度。在我们的分析中,一个窃听者可以根据包含密码的加密包长度推断出密码攻击者的确切长度。我们发现,这样一个知道每个用户密码长度的攻击者可以在不知晓密码长度的情况下获得显著的优势。作为这项分析的一部分,我们还发布了一个新的决定-理论理论理论模型, 使用一个新的私人频率的密码流数据流数据流 。在2016年的私人密码流数据流中,我们可以最接近一个新的密码流。