Towards Quantum Large-Scale Password Guessing on Real-World Distributions
2021Konferenz / Journal
Autor*innen
Lars Schlieper Alexander May Philipp Markert Maximilian Golla Markus Dürmuth
Research Hub
								
									Research Hub A: Kryptographie der Zukunft - CASA 1.0, 2019-2025
									
								
							
Research Challenges
										
											RC 1: Cryptography against Mass Surveillance
										
											RC 11: End-users and Usability
										
									
Abstract
Password-based authentication is a central tool for end-user security. As part of this, password hashing is used to ensure the security of passwords at rest. If quantum computers become available at sufficient size, they are able to significantly speed up the computation of preimages of hash functions. Using Grover’s algorithm, at most, a square-root speedup can be achieved, and thus it is expected that quantum password guessing also admits a square-root speedup. However, password inputs are not uniformly distributed but highly biased. Moreover, typical password attacks do not only compromise a random user’s password but address a large fraction of all users’ passwords within a database of millions of users.
In this work, we study those quantum large-scale password guessing attacks for the first time. In comparison to classical attacks, we still gain a square-root speedup in the quantum setting when attacking a constant fraction of all passwords, even considering strongly biased password distributions as they appear in real-world password breaches. We verify the accuracy of our theoretical predictions using the LinkedIn leak and derive specific recommendations for password hashing and password security for a quantum computer era.