Knock Yourself Out: Secure Authentication with Short Re-Usable Passwords

Benjamin Güldenring, Volker Röth, Lars Ries2015

TL;DR

This paper introduces Knock Yourself Out (KYO), a novel client-side password generator that allows users to securely authenticate with short, reusable master passwords. KYO provides robust security against both client and multiple server breaches, even with computationally unbounded adversaries, by leveraging fast, non-cryptographic hash functions.

What Problem Does This Paper Address?

The paper tackles the perennial problem of password security and usability. Traditional advice emphasizes long, unique passwords, which users struggle to remember, leading to insecure practices like password reuse. This reuse creates a significant vulnerability: a breach on one service can compromise accounts on others. Existing solutions often introduce complexity, performance overhead, or don't adequately address the simultaneous risk of client-side compromise (e.g., a compromised user device) and multiple server breaches. The authors aim to provide a system that is both highly secure and user-friendly, allowing for short, memorable passwords that can be reused across services without compromising security.

Methods

KYO is a client-side password generator that uses a master password and a set of seeds to derive unique secrets for different services. The core idea is to use a family of hash functions, denoted as $F_\sigma$, where $\sigma$ is a seed. For a given master password $p$, KYO can generate a secret $y = F_\sigma(p)$ for a specific service.

Key aspects of the method include:

  • Client-Side Management: All password generation and secret derivation happen on the client, meaning servers only receive the derived secrets, not the master password.
  • Non-Cryptographic Hash Functions: KYO is designed to work with fast, non-cryptographic hash functions (like SHA-256 or 2-universal hash functions), which are computationally efficient. This is a significant departure from many security systems that rely on computationally expensive cryptographic primitives.
  • Mathematical Security Analysis: The authors provide a rigorous mathematical analysis of KYO's security in a random hash function model, proving its resilience against computationally unbounded adversaries.
  • Safety and Security Distinction: The paper clearly defines and analyzes both "safety" (preventing incorrect password entries from being accepted) and "security" (preventing an adversary from impersonating a user).
  • Password Reuse and Management: KYO allows a single master password to be used for multiple services. It also supports changing master passwords or individual service secrets without affecting the other.

Datasets

Not discussed in the paper. The authors focus on theoretical analysis and empirical evaluation using simulated data and parameters.

Key Insights and Ideas

  • Short Passwords Can Be Secure: The most striking insight is that surprisingly short passwords (e.g., 4 characters) can offer high security against unbounded adversaries when combined with KYO's mechanism, challenging the conventional wisdom that only very long passwords are secure.
  • Non-Cryptographic Hashes for Security: The paper demonstrates that fast, non-cryptographic hash functions, often dismissed for security-critical applications, can be effectively used for authentication when employed within a well-designed system like KYO. This opens up possibilities for more efficient security solutions.
  • Unified Approach to Client and Server Breaches: KYO uniquely addresses the simultaneous risks of client compromise and multiple server breaches in a single framework, a problem often tackled in isolation by prior work.
  • Flexibility in Password Management: The system offers significant flexibility, allowing users to manage secrets and passwords independently, change them without affecting other services, and even synchronize secrets with service providers.

Key Results

  • Mathematical Guarantees: KYO is proven secure in an information-theoretic setting against computationally unbounded adversaries.
  • Practical Performance: Empirical evaluations show that KYO is highly practical, with seed generation taking fractions of a second on commodity hardware.
  • Security vs. Usability Trade-off: The paper quantifies the trade-off between password length, digest length, and the number of breaches an account can withstand. For instance, a 13-bit digest length and a 26-bit password can provide better-than-baseline security against multiple breaches.
  • Comparison to ATM Security: The paper illustrates that KYO can achieve safety levels superior to ATM PIN entry with a reasonable number of password attempts.

Limitations and Future Work

  • Assumptions: The security analysis relies on the assumption of a random hash function model. While practical hash functions are analyzed, the theoretical guarantees are strongest under this ideal model.
  • Practical Hash Function Efficiency: The paper notes that for larger security parameters, more efficient hash functions that allow for faster pre-image enumeration would be beneficial for empirical analysis.
  • User Behavior Modeling: The analysis of safety (preventing lockouts) relies on assumptions about user input errors, which can be influenced by various factors (keyboard layout, device type).
  • Future Work: The authors suggest exploring hash functions that are more amenable to efficient simultaneous inversion for multiple images, enabling more thorough empirical analysis with larger security parameters. They also propose enabling users to test concrete security levels for their chosen passwords rather than relying solely on average-case guarantees.

Summary updated

Abstract

Author(s): Benjamin Guldenring, Volker Roth, Lars Ries Download: Paper (PDF) Date: 7 Feb 2015 Document Type: Briefing Papers Additional Documents: Slides Associated Event: NDSS Symposium 2015 Abstract: We present Knock Yourself Out (KYO), a password generator that enables secure authentication against a computationally unbounded adversary. Master passwords can be surprisingly short and may be re-used … Continued
BibTeX
@misc{guldenring2015knock,
  author = {Benjamin Güldenring and Volker Röth and Lars Ries},
  title = {{Knock Yourself Out: Secure Authentication with Short Re-Usable Passwords}},
  year = {2015},
  doi = {10.14722/ndss.2015.23261},
}
Figure