Paper 2015/967

Freestart collision for full SHA-1

Marc Stevens, Pierre Karpman, and Thomas Peyrin

Abstract

This article presents an explicit freestart colliding pair for SHA-1, i.e. a collision for its internal compression function. This is the first practical break of the full SHA-1, reaching all 80 out of 80 steps. Only 10 days of computation on a 64-GPU cluster were necessary to perform this attack, for a cost of approximately $2^{57.5}$ calls to the compression function of SHA-1. This work builds on a continuous series of cryptanalytic advancements on SHA-1 since the theoretical collision attack breakthrough of 2005. In particular, we reuse the recent work on 76-step SHA-1 of Karpman et al. from CRYPTO 2015 that introduced an efficient framework to implement (freestart) collisions on GPUs; we extend it by incorporating more sophisticated accelerating techniques such as boomerangs. We also rely on the results of Stevens from EUROCRYPT 2013 to obtain optimal attack conditions; using these techniques required further refinements for this work. Freestart collisions do not directly imply a collision for the full hash function. However, this work is an important milestone towards an actual SHA-1 collision and it further shows how GPUs can be used very efficiently for this kind of attack. Based on the state-of-the-art collision attack on SHA-1 by Stevens from EUROCRYPT 2013, we are able to present new projections on the computational and financial cost required for a SHA-1 collision computation. These projections are significantly lower than what was previously anticipated by the industry, due to the use of the more cost efficient GPUs compared to regular CPUs. We therefore recommend the industry, in particular Internet browser vendors and Certification Authorities, to retract SHA-1 quickly. We hope the industry has learned from the events surrounding the cryptanalytic breaks of MD5 and will retract SHA-1 before concrete attacks such as signature forgeries appear in the near future.

Metadata
Available format(s)
PDF
Publication info
Published by the IACR in EUROCRYPT 2016
Keywords
symmetric-key cryptographySHA-1hash functioncryptanalysisfreestart collisionGPU implementation
Contact author(s)
stevens @ cwi nl
History
2016-02-22: revised
2015-10-09: received
See all versions
Short URL
https://ia.cr/2015/967
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2015/967,
      author = {Marc Stevens and Pierre Karpman and Thomas Peyrin},
      title = {Freestart collision for full SHA-1},
      howpublished = {Cryptology ePrint Archive, Paper 2015/967},
      year = {2015},
      note = {\url{https://eprint.iacr.org/2015/967}},
      url = {https://eprint.iacr.org/2015/967}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.