Proceedings

Inverting 43-step MD4 via Cube-and-Conquer

Video #1 Video #2 Download BibTeX Cite

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. Main Track. Pages 1894-1900.

https://doi.org/10.24963/ijcai.2022/263

Abstract

MD4 is a prominent cryptographic hash function proposed in 1990. The full version consists of 48 steps and produces a hash of size 128 bits given a message of an arbitrary finite size. In 2007, its truncated 39-step version was inverted via reducing to SAT and applying a CDCL solver. Since that time, several attempts have been made but the 40-step version still remains unbroken. In this study, 40-, 41-, 42-, and 43-step versions of MD4 are successfully inverted. The problems are reduced to SAT and solved via the Cube-and-Conquer approach. Two algorithms are proposed for this purpose. The first one generates inversion problems for MD4 by adding special constraints. The second one is aimed at finding a proper threshold for the cubing phase of Cube-and-Conquer. While the first algorithm is focused on inverting MD4 and similar cryptographic hash functions, the second one is not area specific and so is applicable to a variety of classes of hard SAT instances.

  1. [Biere et al., 2021] Armin Biere, Mathias Fleury, and Max- imillian Heisinger. CaDiCaL, Kissat, Paracooba entering the SAT Competition 2021. In SAT Competition 2021 - Solver and Benchmark Descriptions, pages 10-13. Uni- versity of Helsinki, 2021.
  2. [Bright et al., 2021] Curtis Bright, Kevin K. H. Cheung, Brett Stevens, Ilias S. Kotsireas, and Vijay Ganesh. A SAT-based resolution of Lam's problem. In AAAI, pages 3669-3676, 2021.
  3. [De et al., 2007] Debapratim De, Abishek Kumarasubrama- nian, and Ramarathnam Venkatesan. Inversion attacks on secure hash functions using SAT solvers. In SAT, pages 377-382, 2007.
  4. [Dobbertin, 1996] Hans Dobbertin. Cryptanalysis of MD4. In FSE, pages 53-69, 1996.
  5. [Dobbertin, 1998] Hans Dobbertin. The first two rounds of MD4 are not one-way. In FSE, pages 284-292, 1998.
  6. [Dowling and Gallier, 1984] William F. Dowling and Jean H. Gallier. Linear-time algorithms for testing the satisfiability of propositional horn formulae. J. Log. Program., 1(3):267-284, 1984.
  7. [Eén and Biere, 2005] Niklas Eén and Armin Biere. Effec- tive preprocessing in SAT through variable and clause elimination. In SAT, pages 61-75. Springer, 2005.
  8. [Gribanova and Semenov, 2018] Irina Gribanova and Alexander A. Semenov. Using automatic generation of relaxation constraints to improve the preimage attack on 39-step MD4. In MIPRO, pages 1174-1179, 2018.
  9. [Gribanova et al., 2017] Irina Gribanova, Oleg Zaikin, Stepan Kochemazov, Ilya Otpuschennikov, and Alexander Semenov. The study of inversion problems of crypto- graphic hash functions from MD family using algorithms for solving Boolean satisfiability problem. In MIT, pages 98-113, 2017.
  10. [Heule and van Maaren, 2009] Marijn Heule and Hans van Maaren. Look-ahead based SAT solvers. In Handbook of Satisfiability, pages 155-184. IOS Press, 2009.
  11. [Heule et al., 2011] Marijn Heule, Oliver Kullmann, Siert Wieringa, and Armin Biere. Cube and conquer: Guiding CDCL SAT solvers by lookaheads. In HVC, pages 50-65, 2011.
  12. [Heule et al., 2016] Marijn J. H. Heule, Oliver Kullmann, and Victor W. Marek. Solving and verifying the Boolean Pythagorean triples problem via Cube-and-Conquer. In SAT, pages 228-245, 2016.
  13. [Heule, 2018] Marijn J. H. Heule. Schur number five. In AAAI, pages 6598-6606, 2018.
  14. [Homsirikamol et al., 2012] Ekawat Homsirikamol, Pawel Morawiecki, Marcin Rogawski, and Marian Srebrny. Security margin evaluation of SHA-3 contest finalists through SAT-based attacks. In CISIM, pages 56-67, 2012.
  15. [Hyvärinen et al., 2010] Antti Eero Johannes Hyvärinen, Tommi A. Junttila, and Ilkka Niemelä. Partitioning SAT instances for distributed solving. In LPAR, pages 372-386, 2010.
  16. [Jovanovic and Janicic, 2005] Dejan Jovanovic and Predrag Janicic. Logical analysis of hash functions. In FroCoS, pages 200-215, 2005.
  17. [Konev and Lisitsa, 2015] Boris Konev and Alexei Lisitsa. Computer-aided proof of Erdős discrepancy properties. Artif. Intell., 224:103-118, 2015.
  18. [Kullmann, 2009] Oliver Kullmann. Fundaments of branch- ing heuristics. In Handbook of Satisfiability, pages 205- 244. IOS Press, 2009.
  19. [Lafitte et al., 2014] Frédéric Lafitte, Jorge Nakahara Jr., and Dirk Van Heule. Applications of SAT solvers in cryptanal- ysis: Finding weak keys and preimages. J. Satisf. Boolean Model. Comput., 9(1):1-25, 2014.
  20. [Legendre et al., 2012] Florian Legendre, Gilles Dequen, and Michaël Krajecki. Encoding hash functions as a SAT problem. In ICTAI, pages 916-921, 2012.
  21. [Leurent, 2008] Gaëtan Leurent. MD4 is not one-way. In FSE, pages 412-428, 2008.
  22. [Marques-Silva and Sakallah, 1999] João P. Marques-Silva and Karem A. Sakallah. GRASP: A search algorithm for propositional satisfiability. IEEE Trans. Computers, 48(5):506-521, 1999.
  23. [Menezes et al., 1996] Alfred Menezes, Paul C. van Oorschot, and Scott A. Vanstone. Handbook of Applied Cryptography. CRC Press, 1996.
  24. [Mironov and Zhang, 2006] Ilya Mironov and Lintao Zhang. Applications of SAT solvers to cryptanalysis of hash func- tions. In SAT, pages 102-115, 2006.
  25. [Nejati et al., 2017] Saeed Nejati, Jia Hui Liang, Cather- ine H. Gebotys, Krzysztof Czarnecki, and Vijay Ganesh. Adaptive restart and CEGAR-based solver for inverting cryptographic hash functions. In VSTTE, pages 120-131, 2017.
  26. [Nossum, 2012] Vegard Nossum. SAT-based preimage at- tacks on SHA-1. Master's thesis, University of Oslo, De- partment of Informatics, 2012.
  27. [Rivest, 1990] Ronald L. Rivest. The MD4 message digest algorithm. In CRYPTO, pages 303-311, 1990.
  28. [Semenov et al., 2020] Alexander A. Semenov, Ilya V. Ot- puschennikov, Irina Gribanova, Oleg Zaikin, and Stepan Kochemazov. Translation of algorithmic descriptions of discrete functions to SAT with applications to cryptanaly- sis problems. Log. Methods Comput. Sci., 16(1), 2020.
  29. [Tseitin, 1970] Grigori S Tseitin. On the complexity of derivation in propositional calculus. Studies in construc- tive mathematics and mathematical logic, part II, Semi- nars in mathematics, pages 115-125, 1970.
  30. [Wang et al., 2005] Xiaoyun Wang, Xuejia Lai, Dengguo Feng, Hui Chen, and Xiuyuan Yu. Cryptanalysis of the hash functions MD4 and RIPEMD. In EUROCRYPT, pages 1-18, 2005.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards