ZK-Hammer: Leaking Secrets from Zero-Knowledge Proofs via Rowhammer
Zero-knowledge succinct non-interactive arguments of knowledge (zk-SNARK) schemes have been a promising technique in verified computation. Zk-SNARK schemes were designed to be mathematically secure against cryptographic attacks and it remains unclear whether they are vulnerable to fault injection attacks. In this work, we provide a positive answer by presenting ZK-Hammer, which leaks secrets from zk-SNARK schemes via Rowhammer. We incur faults in the exponentiate variables in the Quadratic Arithmetic Program (QAP) problem. Then we analyze the faulty proof using the bilinear pairing technique and manage to recover the secret. We employ a Rowhammer fault evaluation in libsnark and identify 3 CVEs.
Authors
- Qingni Shen (ORCID: https://orcid.org/0000-0002-0605-6043)
- Zhonghai Wu (ORCID: https://orcid.org/0000-0003-1268-836X)
- Yuejian Fang
- Xin Zhang (ORCID: https://orcid.org/0000-0003-4185-7214)
- Di Hu (ORCID: https://orcid.org/0000-0002-6485-7279)
- Junkai Liang (ORCID: https://orcid.org/0009-0003-9070-1950)
Institutions
- Software Engineering Institute (US)
- Peking University (CN)
Publication Details
- Published
- 2025-06-22
- DOI
- https://doi.org/10.1109/dac63849.2025.11133021
- Primary Topic
- Benford’s Law and Fraud Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00