Abstract
This paper formalizes the threat models for "panic passwords"—covert signals used during coerced authentication—and reveals that the standard approach of giving a user two passwords (one regular, one panic) is dangerously easy to defeat. We introduce more robust schemes, such as 2P-lock and 5-dictionary, designed to withstand sophisticated attackers who can force multiple login attempts or demand to see all known passwords.
Introduction
While panic passwords (or "duress codes") are common in home security systems and some ATM designs, they have received surprisingly little academic scrutiny. Most existing systems assume a "one-shot" threat model where an attacker watches a single login attempt. In reality, a coercive attacker—such as a thief at an ATM or a corrupt official in an e-voting scenario—can use iteration (forcing the user to log in multiple times) or forced-randomization (demanding the user reveal all passwords they know and then picking one at random to test). This paper aims to categorize these threats and design authentication schemes that remain secure even when the attacker knows exactly how the system works.
Formalizing the Threat Model
The authors build a formal threat model involving three parties: Alice (the user), Bob (the trusted server), and Oscar (the attacker). They define four pragmatic assumptions that move beyond the "one-shot" model:
- Kerckhoffs’ Principle: Oscar knows the system's mechanics.
- Observational Principle: Oscar can see the passwords Alice enters.
- Iteration Principle: Oscar can force Alice to authenticate multiple times.
- Forced-randomization Principle: Oscar can force Alice to reveal all her passwords and then choose the order in which they are entered.
As illustrated in the parameters above, the model distinguishes between persistent and non-persistent attackers and identifies the critical difference between screening (Oscar trying to detect a panic password) and signaling (Alice trying to prove she is not using one).
Proposed Authentication Schemes
Based on these principles, the paper proposes several new schemes designed to maintain security under duress:
- 2P-lock: Designed for non-persistent attackers (e.g., a mugger). It locks the account if two different passwords are used within a short time window, regardless of which was entered first. This "invariant locking" ensures the account locks based on behavior, preventing the attacker from using the lock-out itself as a screen to identify the real password.
- 5-Dictionary: Alice chooses five words for her real password. Any other combination of five dictionary words acts as a panic password. This creates an effectively "endless" supply of panic passwords to exhaust a persistent attacker.
- 5-Click: A graphical version of the dictionary scheme using image regions.
Key Insights and Results
A central finding is the vulnerability of the standard 2P (Standard) Scheme to the Iteration Attack. If an attacker simply demands a second login with a different password and it succeeds, they immediately know the first attempt was a panic code.
Key results from the proposed models include:
- 2P-lock successfully thwarts iteration attacks from non-persistent adversaries. By locking the account for a duration longer than the attacker's window of opportunity, it removes the incentive for coercion.
- 5-Dictionary provides high security (up to 73 bits of entropy) and satisfies the need for a "virtually endless" list of panic passwords. This makes it the most viable option for high-stakes, persistent threats like coerced Internet voting.
Limitations and Future Work
While mathematically sound, these schemes face practical hurdles. The paper assumes a Trustworthy Bob; if the server is corrupt, the panic signal may be ignored. Additionally, standard Password Resets act as a massive backdoor, as an attacker could force a reset to a value they control.
Finally, the authors highlight the need for usability studies. Authenticating under duress is cognitively taxing; a system that is too complex (like remembering a specific 5-word sequence vs. millions of others) might fail in practice despite its theoretical security.
Summary updated