Paper 2023/691

Weak Fiat-Shamir Attacks on Modern Proof Systems

Quang Dao
Jim Miller
Opal Wright
Paul Grubbs
Abstract

A flurry of excitement amongst researchers and practitioners has produced modern proof systems built using novel technical ideas and seeing rapid deployment, especially in cryptocurrencies. Most of these modern proof systems use the Fiat-Shamir (F-S) transformation, a seminal method of removing interaction from a protocol with a public-coin verifier. Some prior work has shown that incorrectly applying F-S (i.e., using the so-called "weak" F-S transformation) can lead to breaks of classic protocols like Schnorr's discrete log proof; however, little is known about the risks of applying F-S incorrectly for modern proof systems seeing deployment today. In this paper, we fill this knowledge gap via a broad theoretical and practical study of F-S in implementations of modern proof systems. We perform a survey of open-source implementations and find 36 weak F-S implementations affecting 12 different proof systems. For four of these---Bulletproofs, Plonk, Spartan, and Wesolowski's VDF---we develop novel knowledge soundness attacks accompanied by rigorous proofs of their efficacy. We perform case studies of applications that use vulnerable implementations, and demonstrate that a weak F-S vulnerability could have led to the creation of unlimited currency in a private blockchain protocol. Finally, we discuss possible mitigations and takeaways for academics and practitioners.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2023/691,
      author = {Quang Dao and Jim Miller and Opal Wright and Paul Grubbs},
      title = {Weak Fiat-Shamir Attacks on Modern Proof Systems},
      howpublished = {Cryptology {ePrint} Archive, Paper 2023/691},
      year = {2023},
      url = {https://eprint.iacr.org/2023/691}
}
Category
Attacks and cryptanalysis
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy