Security Analysis of the W3C Web Cryptography API - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2016

Security Analysis of the W3C Web Cryptography API

Kelsey Cairns
  • Fonction : Auteur
  • PersonId : 997383
Harry Halpin
  • Fonction : Auteur
  • PersonId : 993700
Graham Steel
  • Fonction : Auteur
  • PersonId : 997384

Résumé

Due to the success of formal modeling of protocols such as TLS, there is a revival of interest in applying formal modeling to standardized APIs. We argue that formal modeling should happen as the standard is being developed (not afterwards) as it can detect complex or even simple attacks that the standardization group may not otherwise detect. As a case example of this, we discuss in detail the W3C Web Cryptography API. We demonstrate how a formal analysis of the API using the modeling language AVISPA with a SAT solver demonstrates that while the API has no errors in basic API operations and maintains its security properties for the most part, there are nonetheless attacks on secret key material due to how key wrapping and usages are implemented. Furthermore, there were a number of basic problems in terms of algorithm selection and a weakness that led to a padding attack. The results of this study led to the removal of algorithms before its completed standardization and the removal of the padding attack via normalization of error codes, although the key wrapping attack is still open. We expect this sort of formal methodology to be applied to new standardization efforts at the W3C such as the W3C Web Authentication API.
Fichier principal
Vignette du fichier
main-hal2.pdf (321.46 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01426852 , version 1 (05-01-2017)

Identifiants

Citer

Kelsey Cairns, Harry Halpin, Graham Steel. Security Analysis of the W3C Web Cryptography API. Proceedings of Security Standardisation Research (SSR), Dec 2017, Gaithersberg, United States. pp.112 - 140, ⟨10.1007/978-3-319-49100-4_5⟩. ⟨hal-01426852⟩

Collections

INRIA INRIA2
638 Consultations
2691 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More