Abstract This paper investigates the cryptographic soundness of Dolev-Yao (DY) symbolic models for hash functions within the framework of Reactive Simulatability (RS) and Universal Composability (UC). While DY models treat hash functions as perfect symbolic operators, real-world implementations process bitstrings. We demonstrate that achieving a sound mapping between these worlds is generally impossible in the standard model of cryptography when arbitrary payloads are hashed. However, we provide positive results showing that soundness is achievable in the Random Oracle Model (ROM) or by strictly limiting the structure of hashed data.
Introduction
In computer security, protocol verification often relies on Dolev-Yao (DY) models. These models abstract cryptography into a "term algebra" where messages are symbolic trees—for instance, a hash is represented simply as a node labeled hash(m). This abstraction enables automated tools like model checkers to verify complex protocols efficiently.
For a DY model to be considered "sound," any attack possible against a real-world bitstring implementation must be representable within the abstract symbolic model. This property, known as Reactive Simulatability (RS) or Universal Composability (UC), ensures that proofs in the abstract world carry over to the real world. While previous work established soundness for encryption and digital signatures, the status of hash functions has remained a significant theoretical gap.
The Simulation Framework
The authors utilize a formal framework to compare an ideal system (the abstract DY model) with a real system (the cryptographic implementation). The goal is to prove the existence of a "simulator" that can translate between the two worlds such that an adversary cannot distinguish between them.
In this framework, the simulator acts as a bridge. If a real adversary performs an action on bitstrings, the simulator must perform a corresponding action on symbolic terms that produces the same observable result for the environment (the "Host").
The Commitment Barrier
The core challenge identified by the authors is the Commitment Problem. In the real world, a hash $h = \text{hash}(m)$ commits the sender to the message $m$. Even if $m$ is hidden, the bitstring $h$ is fixed. In the abstract DY model, the simulator often has to provide a bitstring for $h$ to the adversary before the symbolic model has determined what $m$ is (e.g., if $m$ is a payload chosen later).
As shown in the trace above, in the standard model of cryptography, it is mathematically impossible for a simulator to "guess" a bitstring $h$ that will perfectly match the hash of a message $m$ that is only revealed later. If the simulator picks $h$ early, and the environment later reveals $m$, the simulator cannot retroactively ensure that $h = \text{hash}(m)$ without breaking the collision resistance or one-wayness of the underlying hash function.
Key Results and Soundness Conditions
The paper presents several landmark theorems regarding the limits of these models:
- General Impossibility (Standard Model): It is impossible to securely implement a standard DY hash model in the standard model of cryptography if arbitrary "payloads" (user-defined data) can be hashed. This is because payloads are external to the system's control, preventing the simulator from predicting them.
- Nonce-List Impossibility: Even if payloads are forbidden, hashing long lists of random nonces still leads to impossibility, as the combinatorial space makes simulation inconsistent.
- Soundness in the Random Oracle Model (ROM): The authors prove that the DY model for hashes is perfectly sound if one assumes the Random Oracle Model. In the ROM, the simulator can "program" the oracle. When $m$ is eventually revealed, the simulator can retroactively define the random string it picked earlier for $h$ as the output for $\text{hash}(m)$.
- Restricted Standard Model Soundness: Soundness can be recovered in the standard model if hashing is restricted to:
- Individual nonces (useful for specific primitives like one-time signatures).
- Terms of a fixed, constant size.
Conclusion
The findings suggest that the common practice of using "free" symbolic hashes in automated proofs is technically unsound in the standard model for most general-purpose protocols. To maintain formal rigor, researchers must either adopt the Random Oracle Model or strictly limit the types of data being hashed. Future work may explore intermediate restrictions that offer a middle ground between these two extremes.
Summary updated