SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · Idea

Dolev-Yao model

The Dolev-Yao model is a formal adversary for analysing cryptographic protocols. It comes from Danny Dolev and Andrew Yao's paper "On the Security of Public Key Protocols", published in IEEE Transactions on Information Theory in March 1983 1. The abstract says public-key systems are usually effective against passive eavesdroppers, but that an improperly designed protocol could be vulnerable to an active saboteur, one who may impersonate another user or alter the message being transmitted. Because informal arguments for a protocol's security are prone to error, the authors formulate models in which security can be discussed precisely 1. The concern goes back to Needham and Schroeder's 1978 paper, which the authors cite 12.

The model has two parts. The cryptography is idealised: public-key encryption is treated as perfect, with every user able to apply every encryption function and only user X able to apply the decryption function for X. The saboteur is then given three abilities. He can obtain any message passing through the network. He is a legitimate user of the network and can start a conversation with any other user. He will have the opportunity to be a receiver to any user 1. Together these describe an attacker who controls the network but cannot break the encryption itself.

The paper illustrates this with short protocols. In its first example, A sends B a message M encrypted under B's key, and B replies to A in the same way. The saboteur intercepts A's message, resends the same ciphertext to B under his own name, and B encrypts M under the saboteur's key in reply, so the saboteur recovers M. The attack uses only the abilities the model grants 1.

The paper also proves results about two classes of protocol. In cascade protocols, users build messages only by layering public-key encryption and decryption. A theorem characterises when a two-party cascade protocol is secure, and for name-stamp protocols, which also let users attach and check names, the paper gives a polynomial-time algorithm that decides security 1. Its definition of security is conservative, in the authors' words, because it considers the worst-case possibility, such as an attack that has to wait for another user to start a conversation 1. Protocols outside these classes, such as ones using nonces or key servers, are not covered by these results.

Later work uses the name Dolev-Yao for the general idea of an adversary that controls the network and manipulates messages symbolically. Gavin Lowe's 1995 attack on the Needham-Schroeder public-key protocol uses a similar intruder, one who can intercept any message and introduce new ones but cannot guess nonces protected by encryption 3.

Source · On the Security of Public Key Protocols (opens in a new tab) · IEEE Transactions on Information Theory

References

  1. On the Security of Public Key Protocols (opens in a new tab) · Danny Dolev and Andrew C. Yao, IEEE Transactions on Information Theory IT-29(2) · March 1, 1983 ↩ ↩ ↩ ↩ ↩ ↩ ↩
  2. Using Encryption for Authentication in Large Networks of Computers (opens in a new tab) · Roger M. Needham and Michael D. Schroeder, Communications of the ACM 21(12) · December 1, 1978 ↩
  3. An Attack on the Needham-Schroeder Public-Key Authentication Protocol (opens in a new tab) · Gavin Lowe, University of Oxford (author's preprint; Information Processing Letters 56(3)) · August 22, 1995 ↩

Research articles

See what connects to it on the map of ideas →

See also