Lune

S&P2018顶会

On the Economics of Offline Password Cracking

Jeremiah Blocki, Benjamin Harsha, Samson Zhou

摘要

We develop an economic model of an offline password cracker which allows us to make quantitative predictions about the fraction of accounts that a rational password attacker would crack in the event of an authentication server breach. We apply our economic model to analyze recent massive password breaches at Yahoo!, Dropbox, LastPass and AshleyMadison. All four organizations were using key-stretching to protect user passwords. In fact, LastPass' use of PBKDF2-SHA256 with 10^5 hash iterations exceeds 2017 NIST minimum recommendation by an order of magnitude. Nevertheless, our analysis paints a bleak picture: the adopted key-stretching levels provide insufficient protection for user passwords. In particular, we present strong evidence that most user passwords follow a Zipf's law distribution, and characterize the behavior of a rational attacker when user passwords are selected from a Zipf's law distribution. We show that there is a finite threshold which depends on the Zipf's law parameters that characterizes the behavior of a rational attacker — if the value of a cracked password (normalized by the cost of computing the password hash function) exceeds this threshold then the adversary's optimal strategy is always to continue attacking until each user password has been cracked. In all cases (Yahoo!, Dropbox, LastPass and AshleyMadison) we find that the value of a cracked password almost certainly exceeds this threshold meaning that a rational attacker would crack all passwords that are selected from the Zipf's law distribution (i.e., most user passwords). This prediction holds even if we incorporate an aggressive model of diminishing returns for the attacker (e.g., the total value of 500 million cracked passwords is less than 100 times the total value of 5 million passwords). On a positive note our analysis demonstrates that memory hard functions (MHFs) such as SCRYPT or Argon2i can significantly reduce the damage of an offline attack. In particular, we find that because MHFs substantially increase guessing costs a rational attacker will give up well before he cracks most user passwords and this prediction holds even if the attacker does not encounter diminishing returns for additional cracked passwords. Based on our analysis we advocate that password hashing standards should be updated to require the use of memory hard functions for password hashing and disallow the use of non-memory hard functions such as BCRYPT or PBKDF2.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Chunk-Level Password Guessing: Towards Modeling Refined Password Composition Representations 引用了 Targeted Online Password Guessing: An Underestimated Threat
  • How to Attack and Generate Honeywords 引用了 Targeted Online Password Guessing: An Underestimated Threat
  • How to Attack and Generate Honeywords 引用了 Fast, Lean, and Accurate: Modeling Password Guessability Using Neural Networks
  • Targeted Online Password Guessing: An Underestimated Threat 引用了 Who Are You? A Statistical Approach to Measuring User Authenticity
  • Targeted Online Password Guessing: An Underestimated Threat 引用了 Fast, Lean, and Accurate: Modeling Password Guessability Using Neural Networks
  • Reducing Bias in Modeling Real-world Password Strength via Deep Learning and Dynamic Dictionaries 引用了 Fast, Lean, and Accurate: Modeling Password Guessability Using Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper21

  1. How to Attack and Generate HoneywordsDing Wang, Yunkai Zou, Qiying Dong, Yuanming Song 等S&P 2022 · 45 次引用
  2. Is Real-time Phishing Eliminated with FIDO? Social Engineering Downgrade Attacks against FIDO ProtocolsEnis Ulqinaku, Hala Assal, AbdelRahman Abdou, Sonia Chiasson 等USENIX Security 2021 · 42 次引用
  3. Reducing Bias in Modeling Real-world Password Strength via Deep Learning and Dynamic DictionariesDario Pasquini, Marco Cianfriglia, Giuseppe Ateniese, Massimo BernaschiUSENIX Security 2021 · 41 次引用
  4. Chunk-Level Password Guessing: Towards Modeling Refined Password Composition RepresentationsMing Xu, Chuanwang Wang, Jitao Yu, Junjie Zhang 等CCS 2021 · 32 次引用
  5. Bandwidth-Hard Functions: Reductions and Lower BoundsJeremiah Blocki, Ling Ren, Samson ZhouCCS 2018 · 17 次引用

它引用的 Paper7

  1. Targeted Online Password Guessing: An Underestimated ThreatDing Wang, Zijian Zhang, Ping Wang, Jeff Yan 等CCS 2016 · 385 次引用
  2. Fast, Lean, and Accurate: Modeling Password Guessability Using Neural NetworksWilliam Melicher, Blase Ur, Sean M. Segreti, Saranga Komanduri 等USENIX Security 2016 · 331 次引用
  3. Who Are You? A Statistical Approach to Measuring User AuthenticityDavid Freeman, Sakshi Jain, Markus Dürmuth, Battista Biggio 等NDSS 2016 · 151 次引用
  4. Differentially Private Password Frequency ListsJeremiah Blocki, Anupam Datta, Joseph BonneauNDSS 2016 · 62 次引用
  5. An Empirical Study of Mnemonic Sentence-based Password Generation StrategiesWeining Yang, Ninghui Li, Omar Chowdhury, Aiping Xiong 等CCS 2016 · 48 次引用

相关 Paper

  1. Towards a Rigorous Statistical Analysis of Empirical Password DatasetsJeremiah Blocki, Peiyuan LiuS&P 2023
  2. Threshold Password-Hardened Encryption ServicesJulian Brost, Christoph Egger, Russell W. F. Lai, Fritz Schmid 等CCS 2020 · 24 次引用
  3. Reasoning Analytically about Password-Cracking SoftwareEnze Liu, Amanda Nakanishi, Maximilian Golla, David Cash 等S&P 2019 · 33 次引用
  4. Efficient Cryptographic Password Hardening Services from Partially Oblivious CommitmentsJonas Schneider, Nils Fleischhacker, Dominique Schröder, Michael BackesCCS 2016 · 30 次引用
  5. Zero Knowledge (About) Encryption: A Comparative Security Analysis of Three Cloud-based Password ManagersMatteo Scarlata, Giovanni Torrisi, Matilda Backendal, Kenneth G. PatersonUSENIX Security 2026
黄昏的海面,两侧是细线勾勒的悬崖