A comprehensive, formal and automated analysis of the EDHOC protocol
Charlie Jacomme, Elise Klein, Steve Kremer, Maïwenn Racouchot
摘要
EDHOC is a key exchange proposed by IETF's Lightweight Authenticated Key Exchange (LAKE) Working Group (WG). Its design focuses on small message sizes to be suitable for constrained IoT communication technologies. In this paper we provide an in-depth formal analysis of EDHOC-draft version 12, taking into account the different proposed authentication methods and various options. For our analysis we use the SAPIC + protocol platform that allows to compile a single specification to 3 state-of-the-art protocol verification tools (PROVERIF, TAMARIN and DEEPSEC) and take advantage of the strengths of each of the tools. In our analysis we consider a large variety of compromise scenarios, and also exploit recent results that allow to model existing weaknesses in cryptographic primitives, relaxing the perfect cryptography assumption, common in symbolic analysis. While our analysis confirmed security for the most basic threat models, a number of weaknesses were uncovered in the current design when more advanced threat models were taken into account. These weaknesses have been acknowledged by the LAKE WG and the mitigations we propose (and prove secure) have been included in version 14 of the draft.
then several drafts have been released and version 12 of the draft [21] was issued in October 2021. EDHOC is a publickey based authenticated Diffie Hellman (DH) key exchange protocol. It allows for different authentication methods, either based on signatures or static long-term DH keys. It also supports a specific version aiming at Post-Quantum security, replacing the DH key derivation by a Key Encapsulation Mechanism (KEM).
Automated, symbolic protocol analysis is a successful approach for finding attacks or proving their absence. The approach can be traced back to the seminal work of Dolev and Yao [12] at the beginning of the 80's. In the so-called Dolev-Yao model the attacker has complete control over the network and can eavesdrop, intercept and inject any messages. Cryptography is however treated in a rather abstract way, sometimes referred to as the perfect cryptography assumption, but this abstraction significantly eases automation of the verification. State-of-the-art verification tools, such as PROVERIF [6] and TAMARIN [20], are indeed able today to scale up to industrial-size, deployed protocols. They have in particular been used successfully to find weaknesses in early versions of the 5G standard [2] and actively assisted the standardization process of TLS 1.3 [4,10]. Following these successes of formal analysis, Vučinić et al. invite the formal analysis community to study the protocol and contribute the results in both the symbolic and the computational model in a short paper which summarizes the design of EDHOC [23].
Contributions. In this paper, we present a comprehensive formal analysis of the EDHOC protocol: we provide a detailed model of version 12 and perform an analysis that combines several recent developments in formal methods.
• Detailed models of the protocol, properties and primitives (Section 3). We provide a detailed formal specification of version 12 of EDHOC. Our models include the 4 possible authentication methods, the KEM based version, and several optional checks. We also formally state the security properties claimed by the designers, see How each PRK is computed is method dependent and summarized in Table 2. Meth. PRK 2e PRK 3e2m PRK 4x3m 0 kdf(G XY ) PRK 2e PRK 3e2m
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A Comprehensive Formal Security Analysis of OPC UA 引用了 A Comprehensive Symbolic Analysis of TLS 1.3
- A Comprehensive Formal Security Analysis of OPC UA 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
- A Comprehensive Formal Security Analysis of OPC UA 引用了 A Formal Analysis of 5G Authentication
- WCDCAnalyzer: Scalable Security Analysis of Wi-Fi Certified Device Connectivity Protocols 引用了 A Comprehensive Symbolic Analysis of TLS 1.3
- WCDCAnalyzer: Scalable Security Analysis of Wi-Fi Certified Device Connectivity Protocols 引用了 A Formal Analysis of 5G Authentication
- A Unified Symbolic Analysis of WireGuard 引用了 Transcript Collision Attacks: Breaking Authentication in TLS, IKE and SSH
- A Unified Symbolic Analysis of WireGuard 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
- A Comprehensive Symbolic Analysis of TLS 1.3 引用了 Transcript Collision Attacks: Breaking Authentication in TLS, IKE and SSH
- A Comprehensive Symbolic Analysis of TLS 1.3 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
- Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate 引用了 Transcript Collision Attacks: Breaking Authentication in TLS, IKE and SSH
- A Formal Analysis of 5G Authentication 引用了 DEEPSEC: Deciding Equivalence Properties in Security Protocols Theory and Practice
- A Formal Analysis of 5G Authentication 引用了 A Comprehensive Symbolic Analysis of TLS 1.3
- A Formal Analysis of 5G Authentication 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
- Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messaging 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
- Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messaging 引用了 A Formal Analysis of 5G Authentication
- Election Eligibility with OpenID: Turning Authentication into Transferable Proof of Eligibility 引用了 Verified Models and Reference Implementations for the TLS 1.3 Standard Candidate
引用它的顶会 Paper6
- Formal verification of the PQXDH Post-Quantum key agreement protocol for end-to-end secure messagingKarthikeyan Bhargavan, Charlie Jacomme, Franziskus Kiefer, Rolfe SchmidtUSENIX Security 2024 · 27 次引用
- Election Eligibility with OpenID: Turning Authentication into Transferable Proof of EligibilityVéronique Cortier, Alexandre Debant, Anselme Goetschmann, Lucca HirschiUSENIX Security 2024 · 2 次引用
- A Comprehensive Formal Security Analysis of OPC UAVincent Diemunsch, Lucca Hirschi, Steve KremerUSENIX Security 2025
- WCDCAnalyzer: Scalable Security Analysis of Wi-Fi Certified Device Connectivity ProtocolsZilin Shen, Imtiaz Karim, Elisa BertinoNDSS 2026
- A Unified Symbolic Analysis of WireGuardPascal Lafourcade, Dhekra Mahmoud, Sylvain RuhaultNDSS 2024
它引用的 Paper9
- A Formal Analysis of 5G AuthenticationDavid A. Basin, Jannik Dreier, Lucca Hirschi, Sasa Radomirovic 等CCS 2018 · 428 次引用
- A Comprehensive Symbolic Analysis of TLS 1.3Cas Cremers, Marko Horvat, Jonathan Hoyland, Sam Scott 等CCS 2017 · 247 次引用
- Verified Models and Reference Implementations for the TLS 1.3 Standard CandidateKarthikeyan Bhargavan, Bruno Blanchet, Nadim KobeissiS&P 2017 · 233 次引用
- Transcript Collision Attacks: Breaking Authentication in TLS, IKE and SSHKarthikeyan Bhargavan, Gaëtan LeurentNDSS 2016 · 128 次引用
- DEEPSEC: Deciding Equivalence Properties in Security Protocols Theory and PracticeVincent Cheval, Steve Kremer, Itsaka RakotonirinaS&P 2018 · 77 次引用
相关 Paper
- Seems Legit: Automated Analysis of Subtle Attacks on Protocols that Use SignaturesDennis Jackson, Cas Cremers, Katriel Cohn-Gordon, Ralf SasseCCS 2019 · 53 次引用
- A Tale of Two Worlds, a Formal Story of WireGuard HybridizationPascal Lafourcade, Dhekra Mahmoud, Sylvain Ruhault, Abdul Rahman TalebUSENIX Security 2025
- SAPIC+: protocol verifiers of the world, unite!Vincent Cheval, Charlie Jacomme, Steve Kremer, Robert KünnemannUSENIX Security 2022
- Automated Side-Channel Analysis of Cryptographic Protocol ImplementationsFaezeh Nasrabadi, Robert Künnemann, Hamed NematiCCS 2026 · 2 次引用
- Automated Analysis of Protocols that use Authenticated Encryption: How Subtle AEAD Differences can impact Protocol SecurityCas Cremers, Alexander Dax, Charlie Jacomme, Mang ZhaoUSENIX Security 2023
