Most of the attacks against (reduced) SHA-2 family in literature have used local collisions which are valid for linearized version of SHA-2 hash functions. Recently, at FSE '08, an attack against reduced round SHA-256 was presented by Nikolic and Biryukov which used a local collision which is valid for the actual SHA-256 function. It is a 9-step local collision which starts by introducing a modular difference of 1 in the two messages. It succeeds with probability roughly 1/3. We build on the work of Nikolic and Biryukov and provide a generalized nonlinear local collision which accepts an arbitrary initial message difference. This local collision succeeds with probability 1. Using this local collision we present attacks against 18-step SHA-256 and 18-step SHA-512 with arbitrary initial difference. Both of these attacks succeed with probability 1. We then present special cases of our local collision and show two different differential paths for attacking 20-step SHA-256 and 20-step SHA-512. One of these paths is the same as presented by Nikolic and Biryukov while the other one is a new differential path. Messages following both these differential paths can be found with probability 1. This improves on the previous result where the success probability of 20-step attack was 1/3. Finally, we present two differential paths for 21-step collisions for SHA-256 and SHA-512, one of which is a new path. The success probabilities of these paths for SHA-256 are roughly 2? 15and 2? 17which improve on the 21-step attack having probability 2? 19reported earlier. We show examples of message pairs following all the presented differential paths for up to 21-step collisions in SHA-256. We also show first real examples of colliding message pairs for up to 20-step reduced SHA-512.
[1]
Xiaoyun Wang,et al.
Efficient Collision Search Attacks on SHA-0
,
2005,
CRYPTO.
[2]
Antoine Joux,et al.
Differential Collisions in SHA-0
,
1998,
CRYPTO.
[3]
Xiaoyun Wang,et al.
How to Break MD5 and Other Hash Functions
,
2005,
EUROCRYPT.
[4]
Palash Sarkar,et al.
Attacking Reduced Round SHA-256
,
2008,
IACR Cryptol. ePrint Arch..
[5]
Alex Biryukov,et al.
Collisions for Step-Reduced SHA-256
,
2008,
FSE.
[6]
Vincent Rijmen,et al.
Analysis of Step-Reduced SHA-256
,
2006,
FSE.
[7]
Xiaoyun Wang,et al.
Finding Collisions in the Full SHA-1
,
2005,
CRYPTO.
[8]
Helena Handschuh,et al.
Security Analysis of SHA-256 and Sisters
,
2003,
Selected Areas in Cryptography.
[9]
Palash Sarkar,et al.
New Local Collisions for the SHA-2 Hash Family
,
2007,
IACR Cryptol. ePrint Arch..
[10]
Philip Hawkes,et al.
On Corrective Patterns for the SHA-2 Family
,
2004,
IACR Cryptol. ePrint Arch..
[11]
C. Moler,et al.
Advances in Cryptology
,
2000,
Lecture Notes in Computer Science.