Although the first SHA-1 collision attack has been carried out in 2017, the cryptographic hash function seems still robust against pre-image attacks. The aim of this work is to measure how many rounds of SHA-1 can be inverted in practice using SAT solvers. To do so, we have first modeled the problem of finding a pre-image of SHA-1 as a system of Boolean formulas, explicitly describing the procedure to obtain such model. Then, we configured the model based on different combinations of number of rounds and number of free bits in our target pre-image. Finally, to find a solution of the model, we used a SAT solver on our server, testing several combinations of restart policies and polarity modes. We analyze and report the number and positions of the pre-image bits that can be fixed to influence the ability of the SAT solver to find the remaining free bits of the pre-image in a shorter time. In particular, we execute partial pre-image attacks on 64-, 80- 96-, 112- and 128-bit messages, outperforming the current state-of-the-art records.

New Records of Pre-image Search of Reduced SHA-1 Using SAT Solvers / E. Bellini, A. DE PICCOLI, R. Makarim, S. Polese, L. Riva, A. Visconti (ADVANCES IN INTELLIGENT SYSTEMS AND COMPUTING). - In: Proceedings of the Seventh International Conference on Mathematics and Computing / [a cura di] D. Giri, K.-K.R. Choo, S. Ponnusamy, W. Meng, S. Akleylek, S. Prasad Maity. - [s.l] : Springer, 2022. - ISBN 978-981-16-6889-0. - pp. 141-151 (( Intervento presentato al 7. convegno International Conference on Mathematics and Computing nel 2021 [10.1007/978-981-16-6890-6_11].

New Records of Pre-image Search of Reduced SHA-1 Using SAT Solvers

A. DE PICCOLI
Secondo
;
S. Polese;L. Riva
Penultimo
;
A. Visconti
Ultimo
2022

Abstract

Although the first SHA-1 collision attack has been carried out in 2017, the cryptographic hash function seems still robust against pre-image attacks. The aim of this work is to measure how many rounds of SHA-1 can be inverted in practice using SAT solvers. To do so, we have first modeled the problem of finding a pre-image of SHA-1 as a system of Boolean formulas, explicitly describing the procedure to obtain such model. Then, we configured the model based on different combinations of number of rounds and number of free bits in our target pre-image. Finally, to find a solution of the model, we used a SAT solver on our server, testing several combinations of restart policies and polarity modes. We analyze and report the number and positions of the pre-image bits that can be fixed to influence the ability of the SAT solver to find the remaining free bits of the pre-image in a shorter time. In particular, we execute partial pre-image attacks on 64-, 80- 96-, 112- and 128-bit messages, outperforming the current state-of-the-art records.
SHA-1; pre-image; SAT solver
Settore INF/01 - Informatica
2022
Book Part (author)
File in questo prodotto:
File Dimensione Formato  
icmc21.pdf

accesso riservato

Tipologia: Post-print, accepted manuscript ecc. (versione accettata dall'editore)
Dimensione 261.37 kB
Formato Adobe PDF
261.37 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/916422
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact