Formal verification of the yubikey and yubihsm apis in maude-npa

Antonio González-Burgueño, Damián Aparicio-Sánchez, Santiago Escobar, Catherine Meadows, José Meseguer

Research output: Contribution to journalConference articlepeer-review

Abstract

We perform an automated analysis of two devices developed by Yubico: YubiKey, designed to authenticate a user to network-based services, and YubiHSM, Yubico’s hardware security module. Both are analyzed using the Maude-NPA cryptographic protocol analyzer. Although previous work has been done applying formal tools to these devices, there has not been any completely automated analysis. This is not surprising, because both YubiKey and YubiHSM, which make use of cryptographic APIs, involve a number of complex features: (i) discrete time in the form of Lamport clocks, (ii) a mutable memory for storing previously seen keys or nonces, (iii) event-based properties that require an analysis of sequences of actions, and (iv) reasoning modulo exclusive-or. Maude-NPA has provided support for exclusive-or for years but has not provided support for the other three features, which we show can also be supported by using constraints on natural numbers, protocol composition and reasoning modulo associativity. In this work, we have been able to automatically prove security properties of YubiKey and find the known attacks on the YubiHSM, in both cases beyond the capabilities of previous work using the Tamarin Prover due to the need of auxiliary user-defined lemmas and limited support for exclusive-or. Tamarin has recently been endowed with exclusive-or and we have rewritten the original specification of YubiHSM in Tamarin to use exclusive-or, confirming that both attacks on YubiHSM can be carried out by this recent version of Tamarin.

Original languageEnglish (US)
Pages (from-to)400-417
Number of pages18
JournalEPiC Series in Computing
Volume57
DOIs
StatePublished - 2018
Event22nd International Conference on Logic for Programming, Artificial Intelligence and Reasoning, LPAR 2018 - Awassa, Ethiopia
Duration: Nov 17 2018Nov 21 2018

ASJC Scopus subject areas

  • Computer Science(all)

Fingerprint Dive into the research topics of 'Formal verification of the yubikey and yubihsm apis in maude-npa<sup>∗</sup>'. Together they form a unique fingerprint.

Cite this