Adaptive Restart and CEGAR-based Solver for Inverting Cryptographic Hash Functions
Saeed Nejati, Jia Hui Liang, Vijay Ganesh, Catherine Gebotys,, Krzysztof Czarnecki

TL;DR
This paper introduces MapleCrypt, a SAT solver-based cryptanalysis tool that employs adaptive restart policies and CEGAR techniques to efficiently invert hash functions like SHA-1, outperforming existing methods.
Contribution
The paper presents a novel SAT solver framework with adaptive restart and CEGAR techniques specifically designed for cryptographic hash inversion.
Findings
MapleCrypt outperforms state-of-the-art tools in SHA-1 inversion.
The adaptive restart policy improves solver efficiency.
CEGAR effectively refines abstractions to ensure correct hash preimages.
Abstract
SAT solvers are increasingly being used for cryptanalysis of hash functions and symmetric encryption schemes. Inspired by this trend, we present MapleCrypt which is a SAT solver-based cryptanalysis tool for inverting hash functions. We reduce the hash function inversion problem for fixed targets into the satisfiability problem for Boolean logic, and use MapleCrypt to construct preimages for these targets. MapleCrypt has two key features, namely, a multi-armed bandit based adaptive restart (MABR) policy and a counterexample-guided abstraction refinement (CEGAR) technique. The MABR technique uses reinforcement learning to adaptively choose between different restart policies during the run of the solver. The CEGAR technique abstracts away certain steps of the input hash function, replacing them with the identity function, and verifies whether the solution constructed by MapleCrypt indeed…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
