Cryptology ePrint Archive: Report 2019/167

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

Shuwen Deng and 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.

Category / Keywords: implementation / Secure Caches, Side-Channel Attacks, Security Analysis

Date: received 15 Feb 2019, last revised 24 Jun 2019

Contact author: shuwen deng at yale edu

Available format(s): PDF | BibTeX Citation

Version: 20190624:221053 (All versions of this report)

Short URL: ia.cr/2019/167


[ Cryptology ePrint archive ]