TL;DR
This paper introduces a novel combination of rotational cryptanalysis and the rebound attack to break reduced versions of the Skein hash function and its underlying block cipher, Threefish. The authors achieve rotational collisions for up to 57 rounds of Skein-256/512, demonstrating weaknesses in these primitives that go beyond previous analyses.
What Problem Does This Paper Address?
The paper tackles the security analysis of Skein, a candidate for the SHA-3 hashing competition, and its core component, the Threefish block cipher. While Skein is designed to be secure against various attacks, understanding its resilience against specific cryptographic techniques is crucial. Rotational cryptanalysis and the rebound attack are powerful tools that have been successfully applied to other cryptographic primitives, but their application to Skein's specific structure (an ARX-based cipher) presented a challenge. The authors aim to bridge this gap by combining these two advanced cryptanalytic methods to find new weaknesses in reduced-round versions of Skein and Threefish. They specifically investigate "rotational properties," which are preserved under certain operations like XOR and rotations, and how these properties propagate (or fail to propagate) through the cipher's rounds.
Methods
The core contribution of this paper is the combination of rotational cryptanalysis with the rebound attack.
- Rotational Cryptanalysis: This technique focuses on how "rotational pairs" (where one input is a rotation of another) behave under cryptographic operations. Ideally, certain operations preserve these pairs. The paper refines existing rotational analysis for ARX structures, particularly for Threefish, by analytically modeling the propagation of rotational properties and deriving necessary conditions on key bits to enhance these properties. They also introduce an optimized search for key bits that maximize rotational probabilities.
- Rebound Attack: Originally designed for SPN-like structures, the rebound attack is adapted here for Skein's ARX structure. It's a powerful meet-in-the-middle approach that breaks down the cipher into inbound and outbound phases.
- Inbound Phase: This phase aims to generate a large number of "matching" internal states. The authors enhance this by using techniques like auxiliary paths and neutral bits, which were previously used in differential attacks but are now applied to rotational attacks. They also develop an analytical search for optimal input values, allowing for a precomputation phase, which is novel for rebound-style attacks.
- Outbound Phase: This phase extends the matches from the inbound phase forward and backward through the remaining rounds to find the desired property (in this case, rotational collisions).
The paper also introduces new techniques to extend the reach of both the inbound and outbound phases, including:
- An analytical search for optimal input values in rotational cryptanalysis.
- Combining multiple inside-out computations and neutral bits in the inbound phase.
- Developing well-defined rotational distinguishers as certificates of weakness.
Datasets
Not discussed in the paper. The analysis is performed on the Skein and Threefish algorithms themselves, not on specific datasets.
Key Insights and Ideas
- Synergy of Attacks: The most significant insight is that combining rotational cryptanalysis with the rebound attack is highly effective, even for primitives with structures (like ARX) where the rebound attack was not traditionally applied.
- Extending Rebound: The paper demonstrates novel ways to adapt and extend the rebound attack's inbound and outbound phases, particularly by incorporating rotational properties and precomputation.
- Key Dependencies Matter: The analysis highlights that simple independence assumptions for rotational probabilities are insufficient. The interaction of modular additions and key schedules significantly impacts rotational propagation, requiring more careful analysis.
- Weaknesses in Reduced Rounds: The attacks reveal that even reduced versions of Skein and Threefish exhibit non-random behavior with respect to rotational properties, going deeper into the rounds than previously known attacks.
- Practical Implications: While the full-round Skein is not threatened, the findings suggest that Skein's underlying primitives have exploitable weaknesses under specific attack models, which could be relevant for future cryptanalysis or for understanding the security margins.
Key Results
The paper presents rotational collision attacks on reduced-round versions of Skein and Threefish:
- Skein-256 Compression Function: Rotational collisions are found for 53 rounds.
- Skein-512 Compression Function: Rotational collisions are found for 57 rounds.
- Threefish Cipher: The analysis also demonstrates weaknesses in reduced variants of Threefish, showing it deviates from ideal cipher behavior with respect to rotational collisions.
The complexity of these attacks is estimated to be significantly lower than what would be required for a random function, specifically:
- For Skein-256, the attack requires approximately $2^{244}$ calls to the compression function to find one rotational pair.
- For Skein-512, it requires approximately $2^{495}$ calls.
Limitations and Future Work
- Full-Round Security: The authors explicitly state that their results do not threaten the security of the full-round Skein hash function. The attacks are on reduced versions.
- Chosen-Key Model: The analysis for Threefish is performed in the chosen-key model, which is a stronger model than the standard secret-key model.
- Future Work:
- Investigating how rotational properties found in other constructions can be amplified similarly.
- Developing methods to recover key bits in Threefish in a secret-key model.
- Applying the developed techniques to other differential attacks (collision or near-collision attacks).
- Exploring the applicability of these techniques to the actual Skein hash function, despite fewer degrees of freedom.
Summary updated