TL;DR
This paper presents a novel cryptanalytic attack on TweAES, a tweakable block cipher used in the ESTATE AEAD scheme. The authors introduce an automated search for "related-tweak impossible differentials" and use it to mount the most efficient known key recovery attacks against 7- and 8-round TweAES, demonstrating a potential weakening of AES-128's security when adapted with tweaks.
What Problem Does This Paper Address?
TweAES is a tweakable variant of AES-128, designed to efficiently handle domain separation using a 4-bit tweak. As a component of the ESTATE AEAD scheme, its security is crucial, especially given its selection as a second-round candidate in the NIST Lightweight Cryptography Standardization project. While the designers of TweAES proposed an 8-round attack based on impossible differentials, this paper re-evaluates that attack and presents new, more effective cryptanalytic results. The core problem is to thoroughly assess TweAES's security against advanced cryptanalytic techniques, particularly impossible differential attacks, and to determine if the addition of tweaks compromises its robustness compared to standard AES.
Methods
The paper's primary methodological contribution is the development of an STP-based automatic searching algorithm for related-tweak impossible differentials. This algorithm leverages the Satisfiability Modulo Theories (SMT) solver STP to efficiently search for distinguishers. The search focuses on finding differentials with specific properties: fixed input and tweak differences, and a limited number of active bytes in the output difference (ideally one).
Key techniques include:
- Property Analysis of TweAES: The authors first analyze TweAES's properties, particularly how tweak differences propagate through its operations. This analysis is crucial for identifying weaknesses and correcting previously claimed attack complexities.
- STP-Based Search: The core of the method is using STP to model the differential propagation of TweAES. The search algorithm constructs equations representing the round function and the related-tweak impossible differential conditions. STP then checks for contradictions, indicating the existence of such differentials.
- Key Recovery Attacks: Once effective distinguishers are found, they are used to mount key recovery attacks. This involves:
- Data Collection: Gathering specific pairs of ciphertexts under related tweaks.
- Filtering: Using the distinguisher to filter out incorrect key candidates.
- Exhaustive Search: Performing a brute-force search on the remaining reduced key space.
- Correcting Previous Attacks: A significant part of the work involves re-evaluating and correcting the complexity claims of the original TweAES design document's attack.
Datasets
Not discussed in the paper. The attacks are performed on the TweAES cipher itself, and the "datasets" are generated ciphertexts based on chosen plaintexts and tweaks.
Key Insights and Ideas
- Tweak Vulnerability: The addition of a 4-bit tweak, while beneficial for domain separation, appears to introduce new avenues for cryptanalysis, potentially weakening the cipher compared to AES-128.
- Automated Search Power: The STP-based automated search is highly effective in finding novel and efficient impossible differentials, demonstrating the power of such tools in modern cryptanalysis.
- Corrected Attack Complexities: The paper rigorously corrects the complexity claims of the original TweAES design document's attack, showing it to be invalid due to exceeding exhaustive search limits.
- "Impossible" is Relative: The concept of "impossible" differentials is key. The authors find differentials that should not exist under certain conditions, and these non-existent paths are used to deduce information about the secret key.
- 5.5-Round Distinguishers: The discovery of effective 5.5-round related-tweak impossible differentials is a significant finding, enabling attacks on more rounds than previously demonstrated.
Key Results
- New 5.5-Round Distinguishers: The authors found numerous 5.5-round related-tweak impossible differentials with fixed input/tweak differences and only one active output byte.
- 8-Round Key Recovery Attack: They successfully mounted an 8-round key recovery attack on TweAES using one of these 5.5-round distinguishers. This attack is claimed to be the best so far in terms of rounds and complexity.
- 7-Round Key Recovery Attack: Another 5.5-round distinguisher was used to mount a 7-round key recovery attack with significantly lower complexities than the 6-round attack proposed in the design document.
- Corrected Attack Complexity for [7]: The original 8-round attack proposed by the designers was re-evaluated and found to have a data complexity of at least $2^{131}$ and a time complexity exceeding exhaustive search, rendering it invalid.
Limitations and Future Work
- Limitations:
- The attacks presented are on reduced rounds of TweAES (7 and 8 rounds), not the full cipher.
- The paper acknowledges that the security of TweAES against meet-in-the-middle attacks needs further evaluation.
- Future Work:
- Further investigation into the impact of the 4-bit tweak on TweAES's security, particularly against other cryptanalytic techniques like meet-in-the-middle attacks.
- Exploring the full TweAES cipher with the newly developed attack strategies.
Summary updated