Skip to main content

CacheQuote: Efficiently recovering long-term secrets of SGX EPID via cache attacks

Authors

Fergus Dall, Gabrielle De Micheli, Thomas Eisenbarth, Daniel Genkin, Nadia Heninger, Ahmad Moghimi and Yuval Yarom

DATA61

University of Lubeck and WPI

University of Pennsylvania

University of Adelaide

Worcester Polytechnic Institute

University of Pennsylvania & University of Maryland

Abstract

Intel Software Guard Extensions (SGX) allows users to perform secure computation on platforms that run untrusted software. To validate that the computation is correctly initialized and that it executes on trusted hardware, SGX supports attestation providers that can vouch for the user’s computation. Communication with these attestation providers is based on the Extended Privacy ID (EPID) protocol, which not only validates the computation but is also designed to maintain the user’s privacy. In particular, EPID is designed to ensure that the attestation provider is unable to identify the host on which the computation executes. In this work we investigate the security of the Intel implementation of the EPID protocol. We identify an implementation weakness that leaks information via a cache side channel. We show that a malicious attestation provider can use the leaked information to break the unlinkability guarantees of EPID. We analyze the leaked information using a lattice-based approach for solving the hidden number problem, which we adapt to the zero-knowledge proof in the EPID scheme, extending prior attacks on signature schemes.

BibTeX Entry

  @inproceedings{Dall_MEGHMY_18,
    publisher        = {Springer},
    doi              = {http://dx.doi.org/10.13154/tches.v2018.i2.171-191},
    booktitle        = {CHES},
    author           = {Dall, Fergus and De Micheli, Gabrielle and Eisenbarth, Thomas and Genkin, Daniel and Heninger, Nadia
                        and Moghimi, Ahmad and Yarom, Yuval},
    month            = may,
    volume           = {2},
    year             = {2018},
    date             = {2018-5-8},
    title            = {{CacheQuote}: Efficiently Recovering Long-term Secrets of {SGX} {EPID} via Cache Attacks},
    pages            = {171-191},
    address          = {Amsterdam, NL}
  }

Download

Served by Apache on Linux on seL4.