Improved Related-Tweakey Rectangle Attacks on Reduced-Round Deoxys-BC-384 and Deoxys-I-256-128

Boxin Zhao, Xiaoyang Dong, Keting Jia, Willi Meier

This paper, titled "Improved Related-Tweakey Rectangle Attacks on Reduced-round Deoxys-BC-384 and Deoxys-I-256-128," represents a significant step forward in the cryptanalysis of the Deoxys family of authenticated encryption schemes. By refining automated search techniques and leveraging advanced probability models, the authors successfully extended the best-known attack on a key version of the cipher by an additional round.

TL;DR

The authors present a new 13-round attack on Deoxys-I-256-128, surpassing the previous 12-round limit. By adding clever constraints to automated search models and using the "Boomerang Difference Table" (BDT) technique, they found a more efficient 11-round distinguisher that significantly reduces the time complexity of the attack.

What Problem Does This Paper Address?

In the world of cryptography, "Authenticated Encryption" (AE) schemes like Deoxys are designed to provide both confidentiality and integrity. Deoxys-II is a finalist in the CAESAR competition, making its underlying block cipher, Deoxys-BC, a high-priority target for security researchers.

The challenge lies in finding "distinguishers"—patterns in the cipher's output that prove it isn't perfectly random. Once a distinguisher is found for a certain number of rounds, researchers try to "wrap" extra rounds around it to recover the secret key. Previous work had hit a wall at 12 rounds for the 256-bit key version of Deoxys-I. This paper aims to break that barrier by finding a "better" distinguisher—one that isn't just long, but also structured in a way that makes key recovery easier.

Methods

The researchers combined three sophisticated tools to mount their attack:

  1. MILP (Mixed Integer Linear Programming): The authors used MILP to automate the search for "truncated differentials" (patterns of active vs. inactive bytes).
  2. The Innovation: Unlike previous researchers who just looked for the highest probability path, these authors added extra constraints to the MILP model. They specifically looked for paths that resulted in fewer "active" S-boxes in the final rounds, which makes guessing the secret key much faster.
  3. BDT (Boomerang Difference Table): This is a relatively new technique (introduced in 2019) used to calculate the probability of a "boomerang switch"—the point where two short differential paths are joined together in the middle of the cipher. This allowed for a more accurate (and higher) probability calculation than older methods.
  4. Related-Tweakey Rectangle Attack: This is a specialized attack for "tweakable" block ciphers. It allows the attacker to introduce differences not just in the plaintext and key, but also in a third input called the "tweak," providing more leverage to find exploitable patterns.

Datasets

As a theoretical cryptanalysis paper, the "dataset" consists of the mathematical specifications of the Deoxys-BC-384 block cipher and the Deoxys-I-256-128 AE scheme.

To verify their theoretical findings, the authors performed experimental verification using $2^{20}$ randomly chosen plaintexts and keys to confirm the accuracy of their 2-round boomerang switch probability.

Key Insights and Ideas

  • Constraint Engineering is Key: The "aha moment" was realizing that the best distinguisher for distinguishing isn't necessarily the best for key recovery. By forcing the MILP model to minimize active columns in the extension rounds, they made the "outer" part of the attack significantly more efficient.
  • Probability Boosting: By applying the BDT technique to their new 11-round path, they increased the distinguisher's probability by a factor of $2^{1.6}$. While that sounds small, in the exponential world of cryptography, it’s the difference between an impossible attack and a successful one.
  • The Tweak Advantage: The paper highlights how the flexible "tweakey" schedule in Deoxys-BC, while efficient for hardware, provides a large state space for attackers to find cancellations that wouldn't be possible in a standard cipher like AES.

Key Results

  • New Distinguisher: Found an 11-round related-tweakey boomerang distinguisher for Deoxys-BC-384 with a probability of $2^{-118.4}$.
  • 13-Round Attack on Deoxys-BC-384: Achieved with a data complexity of $2^{125.2}$ and a time complexity of $2^{186.7}$. This is a massive improvement—reducing time complexity by a factor of $2^{83.3}$ compared to the previous best work.
  • Breaking the 12-Round Barrier: This is the first paper to provide a 13-round attack on Deoxys-I-256-128.
  • Summary Table: | Target | Rounds | Time Complexity | Data Complexity | | :--- | :--- | :--- | :--- | | Deoxys-BC-384 | 13/16 | $2^{186.7}$ | $2^{125.2}$ | | Deoxys-I-256-128 | 13/16 | $2^{186.7}$ | $2^{125.2}$ |

Limitations and Future Work

  • Deoxys-II is Safe: The authors explicitly note that this attack cannot be applied to Deoxys-II. In Deoxys-II, the "tag" is used as part of the tweak, which prevents the attacker from controlling the tweak differences required for this specific rectangle attack.
  • Theoretical vs. Practical: While these attacks are "breaks" in a cryptographic sense (faster than a brute-force search), a complexity of $2^{186}$ is still computationally impossible to execute with current technology.
  • Future Directions: The authors suggest that their refined MILP constraints could be applied to other AES-like tweakable block ciphers to find similar improvements in attack depth.

Summary updated

BibTeX
@inproceedings{zhao2019improved,
  author = {Boxin Zhao and Xiaoyang Dong and Keting Jia and Willi Meier},
  title = {{Improved Related-Tweakey Rectangle Attacks on Reduced-Round Deoxys-BC-384 and Deoxys-I-256-128}},
  booktitle = {INDOCRYPT},
  year = {2019},
  doi = {10.1007/978-3-030-35423-7\_7},
}

Loading related content...

Figure