Lune

S&P2021顶会

A Security Model and Fully Verified Implementation for the IETF QUIC Record Layer

Antoine Delignat-Lavaud, Cédric Fournet, Bryan Parno, Jonathan Protzenko, Tahina Ramananandro, Jay Bosamiya, Joseph Lallemand, Itsaka Rakotonirina, Yi Zhou

摘要

Drawing on earlier protocol-verification work, we investigate the security of the QUIC record layer, as standardized by the IETF in draft version 30. This version features major differences compared to Google's original protocol and early IETF drafts. It serves as a useful test case for our verification methodology and toolchain, while also, hopefully, drawing attention to a little studied yet crucially important emerging standard. We model QUIC packet and header encryption, which uses a custom construction for privacy. To capture its goals, we propose a security definition for authenticated encryption with semi-implicit nonces. We show that QUIC uses an instance of a generic construction parameterized by a standard AEAD-secure scheme and a PRF-secure cipher. We formalize and verify the security of this construction in F . The proof uncovers interesting limitations of nonce confidentiality, due to the malleability of short headers and the ability to choose the number of least significant bits included in the packet counter. We propose improvements that simplify the proof and increase robustness against strong attacker models. In addition to the verified security model, we also give a concrete functional specification for the record layer, and prove that it satisfies important functionality properties (such as the correct successful decryption of encrypted packets) after fixing more errors in the draft. We then provide a highperformance implementation of the record layer that we prove to be memory safe, correct with respect to our concrete specification (inheriting its functional correctness properties), and secure with respect to our verified model. To evaluate this component, we develop a provably-safe implementation of the rest of the QUIC protocol. Our record layer achieves nearly 2 GB/s throughput, and our QUIC implementation's performance is within 21% of an unverified baseline.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • A Logic and an Interactive Prover for the Computational Post-Quantum Security of Protocols 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
  • Verus: A Practical Foundation for Systems Verification 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz Testing 引用了 Automated Analysis and Verification of TLS 1.3: 0-RTT, Resumption and Delayed Authentication
  • DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz Testing 引用了 SoK: Computer-Aided Cryptography
  • DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz Testing 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
  • DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz Testing 引用了 HACL: A Verified Modern Cryptographic Library
  • EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider 引用了 HACL: A Verified Modern Cryptographic Library
  • SoK: Computer-Aided Cryptography 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • SoK: Computer-Aided Cryptography 引用了 Automated Analysis and Verification of TLS 1.3: 0-RTT, Resumption and Delayed Authentication
  • SoK: Computer-Aided Cryptography 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
  • SoK: Computer-Aided Cryptography 引用了 HACL: A Verified Modern Cryptographic Library
  • Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate 引用了 Automated Analysis and Verification of TLS 1.3: 0-RTT, Resumption and Delayed Authentication
  • Noise: A Library of Verified High-Performance Secure Channel Protocol Implementations 引用了 EverCrypt: A Fast, Verified, Cross-Platform Cryptographic Provider
  • Noise: A Library of Verified High-Performance Secure Channel Protocol Implementations 引用了 SoK: Computer-Aided Cryptography
  • Noise: A Library of Verified High-Performance Secure Channel Protocol Implementations 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
  • Noise: A Library of Verified High-Performance Secure Channel Protocol Implementations 引用了 HACL: A Verified Modern Cryptographic Library
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper15

  1. Prognosis: closed-box analysis of network protocol implementationsTiago Ferreira, Harrison Brewton, Loris D'Antoni, Alexandra SilvaSIGCOMM 2021 · 34 次引用
  2. DY Fuzzing: Formal Dolev-Yao Models Meet Cryptographic Protocol Fuzz TestingMax Ammann, Lucca Hirschi, Steve KremerS&P 2024 · 25 次引用
  3. Verus: A Practical Foundation for Systems VerificationAndrea Lattuada, Travis Hance, Jay Bosamiya, Matthias Brun 等SOSP 2024 · 22 次引用
  4. Noise*: A Library of Verified High-Performance Secure Channel Protocol ImplementationsSon Ho, Jonathan Protzenko, Abhishek Bichhawat, Karthikeyan BhargavanS&P 2022 · 22 次引用
  5. A Logic and an Interactive Prover for the Computational Post-Quantum Security of ProtocolsCas Cremers, Caroline Fontaine, Charlie JacommeS&P 2022 · 19 次引用

它引用的 Paper9

  1. HACL*: A Verified Modern Cryptographic LibraryJean Karim Zinzindohoué, Karthikeyan Bhargavan, Jonathan Protzenko, Benjamin BeurdoucheCCS 2017 · 258 次引用
  2. Verified Models and Reference Implementations for the TLS 1.3 Standard CandidateKarthikeyan Bhargavan, Bruno Blanchet, Nadim KobeissiS&P 2017 · 233 次引用
  3. SoK: Computer-Aided CryptographyManuel Barbosa, Gilles Barthe, Karthik Bhargavan, Bruno Blanchet 等S&P 2021 · 169 次引用
  4. Automated Analysis and Verification of TLS 1.3: 0-RTT, Resumption and Delayed AuthenticationCas Cremers, Marko Horvat, Sam Scott, Thyla van der MerweS&P 2016 · 128 次引用
  5. EverCrypt: A Fast, Verified, Cross-Platform Cryptographic ProviderJonathan Protzenko, Bryan Parno, Aymeric Fromherz, Chris Hawblitzel 等S&P 2020 · 114 次引用

相关 Paper

  1. Implementing and Proving the TLS 1.3 Record LayerAntoine Delignat-Lavaud, Cédric Fournet, Markulf Kohlweiss, Jonathan Protzenko 等S&P 2017 · 20 次引用
  2. Dissecting Performance of Production QUICAlexander Yu, Theophilus A. BensonWWW 2021 · 59 次引用
  3. QUICforge: Client-side Request Forgery in QUICKonrad Yuri Gbur, Florian TschorschNDSS 2023
  4. Breaking the Boundaries: Analyzing QUIC Frame-Packet Interactions With QUIC-AttackerNurullah Erinola, Marcel Maehren, Marcus Brinkmann, Jörg SchwenkUSENIX Security 2026
  5. Overloading the Nonce: Rugged PRPs, Nonce-Set AEAD, and Order-Resilient ChannelsJean Paul Degabriele, Vukasin KaradzicCRYPTO 2022 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖