Skip to main content
QUICK REVIEW

[Paper Review] 22-Step Collisions for SHA-2

Somitra Kumar Sanadhya, Palash Sarkar|ArXiv.org|Mar 8, 2008
Cryptographic Implementations and SecurityComputer Science4 citations
TL;DR

This paper presents the first known 22-step collision attacks on SHA-256 and SHA-512 using differential cryptanalysis. By carefully constructing message pairs that follow a specific differential path, the authors achieve collisions with an average success probability of approximately 2−5 and a worst-case probability of around 2−9, marking a significant breakthrough in analyzing the security of SHA-2 family functions beyond the full-round versions.

ABSTRACT

In this note, we provide the first 22-step collisions for SHA-256 and SHA-512. Detailed technique of generating these collisions will be provided in the next revision of this note.

Motivation & Objective

  • To demonstrate practical collision attacks on reduced-round SHA-256 and SHA-512, specifically targeting 22-step variants.
  • To explore the feasibility of differential cryptanalysis on SHA-2, a family of hash functions considered secure at the time.
  • To provide concrete message pairs that collide after 22 steps of processing, showing structural weaknesses in the compression function.
  • To lay the groundwork for future cryptanalysis of full SHA-2 by analyzing reduced-round variants.
  • To validate the effectiveness of the differential path through experimental success rates in collision finding.

Proposed method

  • The attack uses differential cryptanalysis to track differences in the internal state registers (a, b, ..., h) across 22 steps of the SHA-2 compression function.
  • A specific differential path is defined in Table 3, where differences (δ) are introduced at step 8 and propagate through the rounds with controlled propagation rules.
  • Message pairs are constructed such that the input differences follow the defined differential path, ensuring that the output differences in the final state are zero (i.e., collision).
  • The method relies on manipulating message words (W) to induce specific differences in the register values, particularly targeting carry propagation in modular addition.
  • The attack uses standard initial values (IVs) for both SHA-256 and SHA-512, and the collision is achieved by modifying only a few words in the message schedule.
  • The success probability is estimated experimentally, based on the likelihood of the differential path holding through the 22 steps.

Experimental results

Research questions

  • RQ1Can differential cryptanalysis be effectively applied to reduce-round SHA-256 and SHA-512 to find collisions?
  • RQ2What is the success probability of constructing 22-step collisions in SHA-2 using a controlled differential path?
  • RQ3How do the internal state differences propagate across 22 steps to produce a collision?
  • RQ4What specific message modifications are required to achieve collision under the defined differential path?
  • RQ5How do the experimental success rates compare between average-case and worst-case scenarios for the attack?

Key findings

  • The paper successfully constructs 22-step collisions for both SHA-256 and SHA-512 using a defined differential path, marking the first such attack on these reduced-round variants.
  • The average-case success probability of the attack is approximately 2−5, indicating a feasible collision-finding process under typical conditions.
  • In the worst-case scenario, the success probability drops to around 2−9, still experimentally measurable and non-trivial.
  • The differential path in Table 3 shows that differences are introduced at step 8 and propagate with controlled carry effects, particularly in the e, f, g, and h registers.
  • The message pairs in Tables 1 and 2 are explicitly provided, showing that only minor modifications to the message schedule are needed to achieve collision.
  • The attack demonstrates that even 22-step SHA-2 is vulnerable to collision attacks, suggesting potential weaknesses in the design’s resistance to differential cryptanalysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.