Proving the TLS Handshake Secure (As It Is)

Karthikeyan Bhargavan, Cédric Fournet, Markulf Kohlweiss, Alfredo Pironti, Pierre-Yves Strub, Santiago Zanella-Béguelin

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The TLS Internet Standard features a mixed bag of cryptographic algorithms and constructions, letting clients and servers negotiate their use for each run of the handshake. Although many ciphersuites are now well-understood in isolation, their composition remains problematic, and yet it is critical to obtain practical security guarantees for TLS, as all mainstream implementations support multiple related runs of the handshake and share keys between algorithms.

We study the provable security of the TLS handshake, as it is implemented and deployed. To capture the details of the standard and its main extensions, we rely on miTLS, a verified reference implementation of the protocol. We propose new agile security definitions and assumptions for the signatures, key encapsulation mechanisms (KEM), and key derivation algorithms used by the TLS handshake. To validate our model of key encapsulation, we prove that both RSA and Diffie-Hellman ciphersuites satisfy our definition for the KEM. In particular, we formalize the use of PKCS#1v1.5 and build a 3,000-line EasyCrypt proof of the security of the resulting KEM against replayable chosen-ciphertext attacks under the assumption that ciphertexts are hard to re-randomize.

Based on our new agile definitions, we construct a modular proof of security for the miTLS reference implementation of the handshake, including ciphersuite negotiation, key exchange, renegotiation, and resumption, treated as a detailed 3,600-line executable model. We present our main definitions, constructions, and proofs for an abstract model of the protocol, featuring series of related runs of the handshake with different ciphersuites. We also describe its refinement to account for the whole reference implementation, based on automated verification tools.
Original languageEnglish
Title of host publicationAdvances in Cryptology - CRYPTO 2014
PublisherSpringer
Pages235-255
Number of pages21
ISBN (Electronic)978-3-662-44381-1
ISBN (Print)978-3-662-44380-4
DOIs
Publication statusPublished - 21 Aug 2014
Event34rd International Cryptology Conference - Santa Barbara, CA, United States
Duration: 17 Aug 201421 Aug 2014
https://www.iacr.org/conferences/crypto2014/index.html

Publication series

NameLecture Notes in Computer Science
PublisherSpringer, Berlin, Heidelberg
Volume8617
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference34rd International Cryptology Conference
Abbreviated titleCrypto 2014
Country/TerritoryUnited States
CitySanta Barbara, CA
Period17/08/1421/08/14
Internet address

Fingerprint

Dive into the research topics of 'Proving the TLS Handshake Secure (As It Is)'. Together they form a unique fingerprint.

Cite this