NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Extended HTTP Digest Access Authentication

Henning Klevjer, Kent Are Varmedal, Audun JøsangIFIP 2013 · OpenAlex

Abstract

User authentication to a server is typically done by presenting a username and a password in some protected form to the server, and having the server verify that those credentials correspond to an identity previously registered and authorized for access. It is crucial that attackers never get access to operational passwords, which typically is achieved by encryption in transit, or through a challenge-response protocol between the client and server computer platforms. However, these mechanisms do not protect passwords at the moment when they are entered into the client computer, which leaves the password exposed to attacks by malware on the client. We present a method for protecting passwords from being exposed on client platforms. The method is an extension of the well-known HTTP Digest Access Authentication which is a challenge-response protocol specified as part of HTTP. The method relies on an external mostly offline personal authentication device called OffPAD which communicates with the client platform. We show how the presented authentication scheme increases security as well as enhances usability with regard to identity management. In addition to describing the OffPAD device, we argue that the HTTP Digest Access Authentication standard does not conform to today’s best practices, and suggest improvements.

Introduction: The Vulnerability of the Modern Client

Modern web security relies heavily on protecting credentials during transit, typically via HTTPS or challenge-response protocols like HTTP Digest Access Authentication (DAA). However, a significant security gap remains: the "Vulnerable PC" problem. Even if a protocol is secure over the wire, the password remains exposed the moment it is entered into a browser or stored in a software-based password manager.

Malware, such as keyloggers and RAM-scraping Trojans, can intercept credentials directly from the client's memory or input stream. According to the threat model established in this research, standard DAA fails in these scenarios because the client machine must handle the cleartext password to calculate the necessary cryptographic hashes. To address this, we propose Extended HTTP Digest Access Authentication (XDAA), a protocol that moves the "secret" part of the login process to a dedicated, external hardware device.

The XDAA Architecture and the OffPAD

The core innovation of XDAA is the introduction of the OffPAD (Offline Personal Authentication Device). This is a secure, external hardware element—potentially a specialized token or a mobile phone in a hardened state—that communicates with the host PC via limited-range technologies like NFC.

By relocating cryptographic calculations to the OffPAD, XDAA ensures that cleartext passwords never touch the client computer's memory. The process follows a specific workflow:

  1. The server sends an authentication challenge to the browser.
  2. The browser passes this challenge to the OffPAD via NFC.
  3. The OffPAD, which stores the user's credentials securely, performs the hashing locally.
  4. The OffPAD returns only the final "response" value to the PC, which is then forwarded to the server.

This "mostly offline" approach minimizes the attack surface. Because the OffPAD only activates to sign specific authentication requests and lacks a persistent high-bandwidth connection (like Wi-Fi), it is significantly harder to compromise than a general-purpose computer.

Addressing the MD5 Speed Trap

A critical weakness in the original HTTP DAA (RFC 2617) is its reliance on MD5. While MD5 was once standard, it is now computationally "too fast." Modern hardware, such as GPU clusters, can calculate upwards of 180 billion MD5 hashes per second.

Our analysis shows that an 8-character ASCII password hashed with MD5 can be cracked in approximately 10.3 hours using brute-force methods. To mitigate this, XDAA proposes the integration of modern Key Derivation Functions (KDFs) like bcrypt or scrypt. By intentionally introducing a computational workload that takes roughly 100ms per attempt, the time required for a dictionary attack increases from hours to years, making brute-force attempts computationally infeasible for most attackers.

Security and Usability Benefits

XDAA provides several key advantages over traditional authentication methods:

  • Elimination of Local Exposure: Cleartext passwords are never present on the potentially compromised client platform.
  • Identity Management: The OffPAD acts as a hardware-based, zero-exposure password manager, reducing the "identity overload" that leads users to reuse weak passwords.
  • Backwards Compatibility: In its basic form, XDAA can function with existing HTTP servers without requiring server-side changes, although full implementation of KDFs would require updates to both browsers and server modules.

Limitations and Future Work

While XDAA effectively secures the client, it does not address server-side vulnerabilities. If a server's password database is breached, the stored credentials (even if hashed) remain at risk. Furthermore, widespread adoption requires modifications to web browsers to support the hand-off to external hardware.

Future iterations of the OffPAD could expand its role, serving as a full-fledged identity provider (similar to a hardware-based OpenID) or providing encryption and signing capabilities for secure communications beyond simple web authentication.

Summary updated

BibTeX
@inproceedings{klevjer2013extended,
  author = {Henning Klevjer and Kent Are Varmedal and Audun Jøsang},
  title = {{Extended HTTP Digest Access Authentication}},
  booktitle = {IFIP},
  year = {2013},
  doi = {10.1007/978-3-642-37282-7\_7},
}
Figure