Lune

USENIX Security2025顶会

Vest: Verified, Secure, High-Performance Parsing and Serialization for Rust

Yi Cai, Pratap Singh, Zhengyao Lin, Jay Bosamiya, Joshua Gancher, Milijana Surbatovich, Bryan Parno

摘要

Many software vulnerabilities lurk in parsers and serializers, due to their need to be both high-performance and conformant with complex binary formats. To categorically eliminate these vulnerabilities, prior efforts have sought to deliver provable guarantees for parsing and serialization. Unfortunately, security, performance, and usability issues with these efforts mean that unverified parsers and serializers remain the status quo. Hence, we present Vest, the first framework for highperformance, formally verified binary parsers and serializers that combines expressivity and ease of use with state-of-theart correctness and security guarantees, including-for the first time-resistance to basic digital side-channel attacks. Most developers interact with Vest by defining their binary format in an expressive, RFC-like DSL. Vest then generates and automatically verifies high-performance parser and serializer implementations in Rust. This process relies on an extensible library of verified parser/serializer combinators we have developed, and that expert developers can use directly. We evaluate Vest via three case studies: the Bitcoin block format, TLS 1.3 handshake messages, and the WebAssembly binary format. We show that Vest has executable performance on-par (or better) than hand-written, unverified parsers and serializers, and has orders of magnitude better verification performance relative to comparable prior work.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Formal verification of a constant-time preserving C compiler 引用了 HACL: A Verified Modern Cryptographic Library
  • Towards Practical, End-to-End Formally Verified X.509 Certificate Validators with Verdict 引用了 Verus: Verifying Rust Programs using Linear Ghost Types
  • Towards Practical, End-to-End Formally Verified X.509 Certificate Validators with Verdict 引用了 Tranco: A Research-Oriented Top Sites Ranking Hardened Against Manipulation
  • Towards Practical, End-to-End Formally Verified X.509 Certificate Validators with Verdict 引用了 EverParse: Verified Secure Zero-Copy Parsers for Authenticated Message Formats
  • VerusBelt: A Semantic Foundation for Verus's Proof-Oriented Extensions to the Rust Type System 引用了 Verus: Verifying Rust Programs using Linear Ghost Types
  • VerusBelt: A Semantic Foundation for Verus's Proof-Oriented Extensions to the Rust Type System 引用了 Towards Practical, End-to-End Formally Verified X.509 Certificate Validators with Verdict
  • VerusBelt: A Semantic Foundation for Verus's Proof-Oriented Extensions to the Rust Type System 引用了 OwlC: Compiling Security Protocols to Verified, Secure, High-Performance Libraries
  • OwlC: Compiling Security Protocols to Verified, Secure, High-Performance Libraries 引用了 Formal verification of a constant-time preserving C compiler
  • OwlC: Compiling Security Protocols to Verified, Secure, High-Performance Libraries 引用了 Verus: Verifying Rust Programs using Linear Ghost Types
  • OwlC: Compiling Security Protocols to Verified, Secure, High-Performance Libraries 引用了 HACL: A Verified Modern Cryptographic Library
  • OwlC: Compiling Security Protocols to Verified, Secure, High-Performance Libraries 引用了 EverParse: Verified Secure Zero-Copy Parsers for Authenticated Message Formats
  • VUPER: Verified ASN.1 UPER Parser 引用了 Verus: Verifying Rust Programs using Linear Ghost Types
  • VUPER: Verified ASN.1 UPER Parser 引用了 Towards Practical, End-to-End Formally Verified X.509 Certificate Validators with Verdict
  • VUPER: Verified ASN.1 UPER Parser 引用了 EverParse: Verified Secure Zero-Copy Parsers for Authenticated Message Formats
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Towards Practical, End-to-End Formally Verified X.509 Certificate Validators with VerdictZhengyao Lin, Michael McLoughlin, Pratap Singh, Rory Brennan-Jones 等USENIX Security 2025
  2. VerusBelt: A Semantic Foundation for Verus's Proof-Oriented Extensions to the Rust Type SystemTravis Hance, Laila Elbeheiry, Yusuke Matsushita, Derek DreyerPLDI 2026
  3. OwlC: Compiling Security Protocols to Verified, Secure, High-Performance LibrariesPratap Singh, Joshua Gancher, Bryan ParnoUSENIX Security 2025
  4. VUPER: Verified ASN.1 UPER ParserXiaotian Zhou, Kai Tu, Ali Ranjbar, Yilu Dong 等CCS 2026

它引用的 Paper12

  1. Tranco: A Research-Oriented Top Sites Ranking Hardened Against ManipulationVictor Le Pochat, Tom van Goethem, Samaneh Tajalizadehkhoob, Maciej Korczynski 等NDSS 2019 · 826 次引用
  2. HACL*: A Verified Modern Cryptographic LibraryJean Karim Zinzindohoué, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin BeurdoucheCCS 2017 · 258 次引用
  3. Verus: Verifying Rust Programs using Linear Ghost TypesAndrea Lattuada, Travis Hance, Chanhee Cho, Matthias Brun 等OOPSLA 2023 · 86 次引用
  4. Formal verification of a constant-time preserving C compilerGilles Barthe, Sandrine Blazy, Benjamin Grégoire, Rémi Hutin 等POPL 2020 · 77 次引用
  5. EverParse: Verified Secure Zero-Copy Parsers for Authenticated Message FormatsTahina Ramananandro, Antoine Delignat-Lavaud, Cédric Fournet, Nikhil Swamy 等USENIX Security 2019 · 70 次引用

相关 Paper

  1. Formal Security and Functional Verification of Cryptographic Protocol Implementations in RustKarthikeyan Bhargavan, Lasse Letager Hansen, Franziskus Kiefer, Jonas Schneider-Bensch 等CCS 2025 · 1 次引用
  2. Secure Parsing and Serializing with Separation Logic Applied to CBOR, CDDL, and COSETahina Ramananandro, Gabriel Ebner, Guido Martínez, Nikhil SwamyCCS 2025
  3. Hardening attack surfaces with formally proven binary format parsersNikhil Swamy, Tahina Ramananandro, Aseem Rastogi, Irina Spiridonova 等PLDI 2022 · 18 次引用
  4. The Last Mile: High-Assurance and High-Speed Cryptographic ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, Benjamin Grégoire 等S&P 2020 · 67 次引用
  5. Can LLMs Reason Like Automated Theorem Provers for Rust Verification? VCoT-Bench: Evaluating via Verification Chain of ThoughtZichen Xie, Wenxi WangICML 2026
黄昏的海面,两侧是细线勾勒的悬崖