Paper 2016/594

"Make Sure DSA Signing Exponentiations Really are Constant-Time''

Cesar Pereida García
Billy Bob Brumley
Yuval Yarom
Abstract

TLS and SSH are two of the most commonly used protocols for securing Internet traffic. Many of the implementations of these protocols rely on the cryptographic primitives provided in the OpenSSL library. In this work we disclose a vulnerability in OpenSSL, affecting all versions and forks (e.g. LibreSSL and BoringSSL) since roughly October 2005, which renders the implementation of the DSA signature scheme vulnerable to cache-based side-channel attacks. Exploiting the software defect, we demonstrate the first published cache-based key-recovery attack on these protocols: 260 SSH-2 handshakes to extract a 1024/160-bit DSA host key from an OpenSSH server, and 580 TLS 1.2 handshakes to extract a 2048/256-bit DSA key from an stunnel server.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2016/594,
      author = {Cesar Pereida García and Billy Bob Brumley and Yuval Yarom},
      title = {"Make Sure DSA Signing Exponentiations Really are Constant-Time''},
      howpublished = {Cryptology {ePrint} Archive, Paper 2016/594},
      year = {2016},
      url = {https://eprint.iacr.org/2016/594}
}
License
CC BY
Submitted
Updated
Versions

Report a problem

Comments

Log in or create an account

Privacy