Lune

CCS2021顶会

Zero Knowledge Static Program Analysis

Zhiyong Fang, David Darais, Joseph P. Near, Yupeng Zhang

摘要

Static program analysis tools can automatically prove many useful properties of programs. However, using static analysis to prove to a third party that a program satisfies a property requires revealing the program's source code. We introduce the concept of zero-knowledge static analysis, in which the prover constructs a zero-knowledge proof about the outcome of the static analysis without revealing the program. We present novel zero-knowledge proof schemes for intra- and inter-procedural abstract interpretation. Our schemes are significantly more efficient than the naive translation of the corresponding static analysis algorithms using existing schemes. We evaluate our approach empirically on real and synthetic programs; with a pairing-based zero knowledge proof scheme as the backend, we are able to prove the control flow analysis on a 2,000-line program in 1,738s. The proof is only 128 bytes and the verification time is 1.4ms. With a transparent zero knowledge proof scheme based on discrete-log, we generate the proof for the tainting analysis on a 12,800-line program in 406 seconds, the proof size is 282 kilobytes, and the verification time is 66 seconds.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Orion: Zero Knowledge Proof with Linear Prover Time
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge Proofs 引用了 Marlin: Preprocessing zkSNARKs with Universal and Updatable SRS
  • Accelerating Zero-Knowledge Proofs Through Hardware-Algorithm Co-Design 引用了 Orion: Zero Knowledge Proof with Linear Prover Time
  • Accelerating Zero-Knowledge Proofs Through Hardware-Algorithm Co-Design 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Orion: Zero Knowledge Proof with Linear Prover Time 引用了 Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference Strings
  • Orion: Zero Knowledge Proof with Linear Prover Time 引用了 Doubly-Efficient zkSNARKs Without Trusted Setup
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Scalable Zero-knowledge Proofs for Non-linear Functions in Machine Learning 引用了 Cheesecloth: Zero-Knowledge Proofs of Real World Vulnerabilities
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Orion: Zero Knowledge Proof with Linear Prover TimeTiancheng Xie, Yupeng Zhang, Dawn SongCRYPTO 2022 · 83 次引用
  2. Pianist: Scalable zkRollups via Fully Distributed Zero-Knowledge ProofsTianyi Liu, Tiancheng Xie, Jiaheng Zhang, Dawn Song 等S&P 2024 · 52 次引用
  3. Scalable Zero-knowledge Proofs for Non-linear Functions in Machine LearningMeng Hao, Hanxiao Chen, Hongwei Li, Chenkai Weng 等USENIX Security 2024 · 29 次引用
  4. Accelerating Zero-Knowledge Proofs Through Hardware-Algorithm Co-DesignNikola Samardzic, Simon Langowski, Srinivas Devadas, Daniel SánchezMICRO 2024 · 24 次引用
  5. Cheesecloth: Zero-Knowledge Proofs of Real World VulnerabilitiesSantiago Cuéllar, Bill Harris, James Parker, Stuart Pernsteiner 等USENIX Security 2023

它引用的 Paper12

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
  3. Sonic: Zero-Knowledge SNARKs from Linear-Size Universal and Updatable Structured Reference StringsMary Maller, Sean Bowe, Markulf Kohlweiss, Sarah MeiklejohnCCS 2019 · 412 次引用
  4. Doubly-Efficient zkSNARKs Without Trusted SetupRiad S. Wahby, Ioanna Tzialla, Abhi Shelat, Justin Thaler 等S&P 2018 · 356 次引用
  5. Marlin: Preprocessing zkSNARKs with Universal and Updatable SRSAlessandro Chiesa, Yuncong Hu, Mary Maller, Pratyush Mishra 等EUROCRYPT 2020 · 356 次引用

相关 Paper

  1. zkPi: Proving Lean Theorems in Zero-KnowledgeEvan Laufer, Alex Ozdemir, Dan BonehCCS 2024 · 3 次引用
  2. GZKP: A GPU Accelerated Zero-Knowledge Proof SystemWeiliang Ma, Qian Xiong, Xuanhua Shi, Xiaosong Ma 等ASPLOS 2023 · 47 次引用
  3. Proving UNSAT in Zero KnowledgeNing Luo, Timos Antonopoulos, William R. Harris, Ruzica Piskac 等CCS 2022 · 14 次引用
  4. ZKSMT: A VM for Proving SMT Theorems in Zero KnowledgeDaniel Luick, John C. Kolesar, Timos Antonopoulos, William R. Harris 等USENIX Security 2024
  5. Practical Security Analysis of Zero-Knowledge Proof CircuitsHongbo Wen, Jon Stephens, Yanju Chen, Kostas Ferles 等USENIX Security 2024 · 31 次引用
黄昏的海面,两侧是细线勾勒的悬崖