### Analysis of Secure Caches using a Three-Step Model for Timing-Based Attacks

Shuwen Deng, Wenjie Xiong, and Jakub Szefer

##### Abstract

Many secure cache designs have been proposed in literature with the aim of mitigating different types of cache timing-based attacks. However, there has so far been no systematic analysis of how these secure cache designs can, or cannot, protect against different types of the timing-based attacks. To provide a means of analyzing the caches, this paper presents a novel three-step modeling approach that is used to exhaustively enumerate all the possible cache timing-based vulnerabilities. The model covers not only attacks that leverage cache accesses or flushes from the local processor core, but also attacks that leverage changes in the cache state due to the cache coherence protocol actions from remote cores. Moreover, both conventional attacks and speculative execution attacks are considered. With the list of all possible cache timing vulnerabilities derived from the three-step model, this work further manually analyzes each of the existing secure cache designs to show which types of timing-based side-channel vulnerabilities each secure cache can mitigate. Based on the security analysis of the existing secure cache designs using the new three-step model, this paper further summarizes different techniques gleaned from the secure cache designs and their ability help mitigate different types of cache timing-based vulnerabilities.

Available format(s)
Category
Implementation
Publication info
Preprint.
Keywords
Secure CachesSide-Channel AttacksSecurity Analysis
Contact author(s)
shuwen deng @ yale edu
History
2019-06-24: revised
See all versions
Short URL
https://ia.cr/2019/167

CC BY

BibTeX

@misc{cryptoeprint:2019/167,
author = {Shuwen Deng and Wenjie Xiong and Jakub Szefer},
title = {Analysis of Secure Caches using a Three-Step Model for Timing-Based Attacks},
howpublished = {Cryptology ePrint Archive, Paper 2019/167},
year = {2019},
note = {\url{https://eprint.iacr.org/2019/167}},
url = {https://eprint.iacr.org/2019/167}
}

Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.