New Cryptanalysis Paradigm on a Nonce-based Mutual Authentication Scheme

Da-Zhi Sun, Zhen-Fu CaoInt. J. Netw. Secur 2008

Introduction

In the realm of remote systems, mutual authentication is a critical security requirement where both the user and the server must verify each other's identities. The Lee-Kim-Yoo (LKY) scheme, proposed in 2005, was designed to achieve this using nonces to prevent replay and reflection attacks. However, this paper identifies a fundamental flaw in such "ad-hoc" designs: the lack of a logical link between the user's authentication and the server's authentication allows for a devastating impersonation attack.

The Lee-Kim-Yoo (LKY) Scheme

The LKY scheme attempts to provide mutual authentication through a series of message exchanges involving nonces and hash functions. As shown in Figure 1, the process is divided into a login phase and a verification phase.

The Lee-Kim-Yoo (LKY) mutual authentication scheme.

In this protocol, the user $U_i$ sends an identity $ID_i$ and a computed value $C_2$ to the system. The system then verifies the identity and responds with values $V_1$ and $C_3$, which the user uses to verify the system. Finally, the user sends $V_2$ back to the system for final verification.

The Parallel Session Impersonation Attack

The core contribution of this research is the demonstration of a "parallel session impersonation attack." The authors show that an attacker can act as a man-in-the-middle, initiating a second "shadow" session with the system while a legitimate user is attempting to log in.

The parallel session impersonation attack on the LKY scheme.

As illustrated in Figure 2, the attacker intercepts the legitimate user's message $M_1$ and uses the system as an "oracle." By starting a parallel session ($M_{a1}$), the attacker tricks the system into calculating and providing the cryptographic values (like $V_{a1}$) needed to complete the authentication in the original session. Crucially, the attacker does not need to know the user's password or the system's secret keys to succeed.

Key Insights: The "Ad-Hoc" Fallacy

The vulnerability stems from what the authors call the "ad-hoc fallacy." Mutual authentication is not merely the sum of two independent one-way authentication steps. If the two directions of authentication are mathematically independent, the system can be manipulated into generating its own credentials for an attacker.

The paper highlights the importance of the "matching conversations" framework. For a protocol to be secure, both parties must agree on the context and the specific messages of the current exchange. In the LKY scheme, the nonces used by the user and the system were not cryptographically tied together in a way that prevented forgery.

Conclusion

The successful cryptanalysis of the LKY scheme serves as a warning for protocol designers. Even efficient, hash-based schemes intended for low-power devices like smart cards must adhere to formal security models. The authors recommend using the "matching conversations" tool as a standard sanity check to ensure that the logical binding between authentication steps is robust enough to withstand parallel session attacks.

Summary updated

BibTeX
@article{sun2008new,
  author = {Da-Zhi Sun and Zhen-Fu Cao},
  title = {{New Cryptanalysis Paradigm on a Nonce-based Mutual Authentication Scheme}},
  journal = {Int. J. Netw. Secur.},
  year = {2008},
}
Figure