Offline Dictionary Attack on Password Authentication Schemes Using Smart Cards

Ding Wang, Ping Wang

This paper, presented at ISC 2013, provides a sobering reality check for the world of two-factor authentication (2FA). While smart-card-based password schemes are designed to provide a "double lock" on security, the authors demonstrate that even the most modern proposals often collapse into a single point of failure.

TL;DR

Researchers Ding Wang and Ping Wang demonstrate that two prominent smart-card authentication schemes (Hsieh-Leu and PSCAV) are vulnerable to offline dictionary attacks. They introduce a realistic "returned stolen token" adversary model, proving that if an attacker gets temporary access to your smart card, they can crack your password in minutes using a standard laptop.

What Problem Does This Paper Address?

Password-only authentication is notoriously fragile; if a server's password file is leaked, every user is compromised. To fix this, the security community moved toward two-factor authentication (2FA), combining "something you know" (a password) with "something you have" (a smart card).

The "crux" of modern research is how to maintain security even if the smart card is non-tamper-resistant. Since 2004, cryptographers have assumed that a sophisticated attacker can extract data from a smart card using side-channel attacks (like monitoring power consumption). The goal is to design a protocol where, even if the attacker extracts the card's secrets, they still can't guess the user's password. This paper proves that two leading schemes failed to reach this goal.

Methods

The authors employ classical cryptanalysis against two specific protocols:

  1. Hsieh-Leu’s Scheme (2012): The authors show that by intercepting a single login transcript from the public network and combining it with data extracted from the victim's smart card, an attacker can run an offline brute-force search.
  2. Wang’s PSCAV Scheme (2012): This was considered one of the strongest models (Type III). The authors developed a new attack strategy where the attacker acts as a "man-in-the-middle." By intercepting the login request and sending a malicious response back to the card, the attacker forces the card to leak information that makes the password guessable offline.

The paper also provides a formal comparison between smart cards and common memory devices (like USB sticks), defining specific adversary capabilities ($S(i)$ through $S(v)$) to justify why smart cards are still preferred despite their vulnerabilities.

Datasets

As a theoretical cryptanalysis paper, it does not use traditional training datasets. Instead, it evaluates the computational complexity of the attacks. To prove the attacks are practical, the authors benchmarked cryptographic operations (Hash, XOR, and Modular Exponentiation) using the MIRACL C/C++ library on three common laptop processors (Intel T5870, E5500, and i5-3210). They assumed a standard password dictionary space ($D_{pw}$) of $10^6$ entries.

Key Insights and Ideas

  • The "Precious" Two-Factor Myth: A truly secure 2FA scheme should require both factors to be compromised to break the system. The authors show these schemes are "intrinsically not two-factor" because compromising the card (the first factor) directly enables the cracking of the password (the second factor).
  • The "Returned Stolen Token" Scenario: This is the paper's most significant contribution to adversary modeling. Most models assume a card is either "stolen" (and gone) or "secure." The authors highlight a more insidious reality: an attacker (like a co-worker) takes your card for two hours, extracts the data, and puts it back. You continue using the "exposed" card, unaware that your password is now being cracked offline.
  • Conditional Tamper Resistance: The authors answer a fundamental question: If smart cards can be tampered with, why not just use a $1 USB stick? Their insight is that smart cards offer "conditional" resistance. While a USB stick can be cloned by malware in seconds while the user is present, a smart card requires a "relatively long period of time" (hours) and physical access to extract data, making it significantly more secure in a hostile terminal environment.

Key Results

  • Hsieh-Leu’s Scheme is Broken: The attack complexity is $O(|D_{pw}| * (2T_H + 3T_X))$. On a standard PC, the password can be recovered in seconds.
  • PSCAV Scheme is Broken: Despite being designed for the "harshest" security model, it falls to the new attack scenario with a complexity of $O(|D_{pw}| * (3T_E + T_S + 3T_H))$.
  • Practicality: For a dictionary of one million passwords, an attacker can recover the victim's credentials in minutes on a common laptop.
  • Adversary Modeling: The paper successfully gave rise to a new, stronger security model known as Type III-r, which accounts for the "returned token" attack.

Limitations and Future Work

The authors acknowledge that while they broke these specific schemes, they did not propose a new, "unbreakable" protocol in this specific paper. Their work is primarily destructive (cryptanalysis) rather than constructive.

They suggest that future work should focus on designing practical schemes that can survive the Type III-r model—specifically, schemes that use asymmetric (public-key) techniques more effectively to prevent the "card-to-password" collapse, as symmetric-key techniques (like simple Hashes and XORs) appear inherently unable to resist these offline dictionary attacks once the card is exposed.

Summary updated

BibTeX
@inproceedings{wang2013offline,
  author = {Ding Wang and Ping Wang},
  title = {{Offline Dictionary Attack on Password Authentication Schemes Using Smart Cards}},
  booktitle = {ISC},
  year = {2013},
  doi = {10.1007/978-3-319-27659-5\_16},
}
Figure