Paper 2008/391 Original: eprint.iacr.org/2008/391 ↗

Could The 1-MSB Input Difference Be The Fastest Collision Attack For MD5 ?

Tao Xie
FanBao Liu
DengGuo Feng
Abstract

So far, two different 2-block collision differentials, both with 3-bit input differences for MD5, have been found by Wang etc in 2005 and Xie etc in 2008 respectively, and those differentials have been improved later on to generate a collision respectively within around one minute and half an hour on a desktop PC. Are there more collision differentials for MD5? Can a more efficient algorithm be developed to find MD5 collisions? In this paper, we list the whole set of 1-bit to 3-bit input difference patterns that are possibly qualified to construct a feasible collision differential, and from which a new collision differential with only 1-MSB input difference is then analyzed in detail, finally the performances are compared with the prior two 3-bit collision attacks according to seven criteria proposed in this paper. In our approach, a two-block message is still needed to produce a collision, the first block being only one MSB different while the second block remains the same. Although the differential path appears to be computationally infeasible, most of the conditions that a collision differential path must satisfy can be fulfilled by multi-step modifications, and the collision searching efficiency can be much improved further by a specific divide-and-conquer technique, which transforms a multiplicative accumulation of the computational complexities into an addition by properly grouping of the conditional bits. In particular, a tunneling-like technique is applied to enhance the attack algorithm by introducing some additional conditions. As a result, the fastest attack algorithm is obtained with an averaged computational complexity of 2^20.96 MD5 compressions, which implies that it is able to search a collision within a second on a common PC for arbitrary random initial values. With a reasonable probability a collision can be found within milliseconds, allowing for instancing an attack during the execution of a practical protocol. The collision searching algorithm, however, is very complex, but the algorithm has been implemented which is available from the website http://www.is.iscas.ac.cn/gnomon, and we suggest you download the implementation program from the website for a personal experience if you are interested in it.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
Preprint.
History
2008-11-25: last updated
2008-09-16: published
Short URL
https://ia.cr/2008/391
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2008/391,
      author = {Tao Xie and FanBao Liu and DengGuo Feng},
      title = {Could The 1-MSB Input Difference Be The Fastest Collision Attack For MD5 ?},
      howpublished = {Cryptology {ePrint} Archive, Paper 2008/391},
      year = {2008},
      url = {https://eprint.iacr.org/2008/391}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.