Skip to Main content Skip to Navigation
Conference papers

A Mechanised Cryptographic Proof of the WireGuard Virtual Private Network Protocol

Abstract : WireGuard is a free and open source Virtual Private Network (VPN) that aims to replace IPsec and OpenVPN. It is based on a new cryptographic protocol derived from the Noise Protocol Framework. This paper presents the first mechanised cryptographic proof of the protocol underlying WireGuard, using the CryptoVerif proof assistant. We analyse the entire WireGuard protocol as it is, including transport data messages, in an ACCE-style model. We contribute proofs for correctness, message secrecy, forward secrecy, mutual authentication, session uniqueness, and resistance against key compromise impersonation, identity mis-binding, and replay attacks. We also discuss the strength of the identity hiding provided by WireGuard. Our work also provides novel theoretical contributions that are reusable beyond WireGuard. First, we extend CryptoVerif to account for the absence of public key validation in popular Diffie-Hellman groups like Curve25519, which is used in many modern protocols including WireGuard. To our knowledge, this is the first mechanised cryptographic proof for any protocol employing such a precise model. Second, we prove several indifferentiability lemmas that are useful to simplify the proofs for sequences of key derivations.
Document type :
Conference papers
Complete list of metadatas

Cited literature [37 references]  Display  Hide  Download

https://hal.inria.fr/hal-02396640
Contributor : Bruno Blanchet <>
Submitted on : Friday, December 6, 2019 - 10:22:28 AM
Last modification on : Friday, October 23, 2020 - 4:47:17 PM
Long-term archiving on: : Saturday, March 7, 2020 - 2:05:05 PM

File

paper.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-02396640, version 1

Collections

Citation

Benjamin Lipp, Bruno Blanchet, Karthikeyan Bhargavan. A Mechanised Cryptographic Proof of the WireGuard Virtual Private Network Protocol. 4th IEEE European Symposium on Security and Privacy, Jun 2019, Stockholm, Sweden. pp.231-246. ⟨hal-02396640⟩

Share

Metrics

Record views

108

Files downloads

312