International Association for Cryptologic Research

International Association
for Cryptologic Research

Transactions on Symmetric Cryptology, Volume 2025

Practical Preimage Attacks on 3-Round Keccak-256 and 4-Round Keccak[r=640, c=160]


Xiaoen Lin
Department of Computer Science and Technology, Tsinghua University, Beijing, China

Le He
School of Cyber Engineering, Xidian University, Xi'an, China

Hongbo Yu
Department of Computer Science and Technology, Tsinghua University; Zhongguancun Laboratory; State Key Laboratory of Cryptography and Digital Economy Security, Tsinghua University, Beijing, China


Keywords: Keccak, SHA-3, Preimage attack, Linear structure


Abstract

Recently, linear structures and algebraic attacks have been widely used in preimage attacks on round-reduced Keccak. Inherited by pioneers' work, we make some improvements for 3-round Keccak-256 and 4-round Keccak[r=640, c=160]. For 3-round Keccak-256, we introduce a three-stage model to deal with the unsatisfied restrictions while bringing more degrees of freedom at the same time. Besides, we show that guessing values for different variables will result in different complexity of solving time. With these techniques, the guessing times can be decreased to 252, and the solving time for each guess can be decreased to around 25.2 3-round Keccak calls. As a result, the complexity of finding a preimage for 3-round Keccak-256 can be decreased to around 257.2. For 4-round Keccak[r=640, c=160], an instance of the Crunchy Contest, we use some techniques to save degrees of freedom and make better linearization. Based on these techniques, we build an MILP model and obtain an attack with better complexity of around 260.9. The results of 3-round Keccak-256 and 4-round Keccak[r=640, c=160] are verified with real examples.

Publication

Transactions on Symmetric Cryptology, Volume 2025, Issue 1

Paper

Artifact

Artifact number
fse/2025/a8

Artifact published
September 18, 2025

Badge
IACR FSE Artifacts Functional

README

ZIP (5674148 Bytes)  

License

Note that license information is supplied by the authors and has not been confirmed by the IACR.


BibTeX How to cite

Lin, X., He, L., & Yu, H. (2025). Practical Preimage Attacks on 3-Round Keccak-256 and 4-Round Keccak[r=640, c=160]. IACR Transactions on Symmetric Cryptology, 2025(1), 328-356. https://doi.org/10.46586/tosc.v2025.i1.328-356. Artifact available at https://artifacts.iacr.org/fse/2025/a8