DPrime+DAbort: A High-Precision and Timer-Free Directory-Based Side-Channel Attack in Non-Inclusive Cache Hierarchies using Intel TSX
Authors:
- 1 April 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 67-81
Abstract
Recent CPUs have begun to adopt non-inclusive cache hierarchies for more effective cache utilization. Non-inclusive cache hierarchies have an additional advantage in that they eliminate the vulnerability to cache-based side-channel attacks. In addition, precise timers are often disabled or added with noise to defeat timer-based side-channel attacks. With the combination of such countermeasures, existing cache- and directory-based side-channel attacks can robustly be defeated on commodity systems.In this work, we discover the vulnerability caused by the undocumented interactions between the coherence directories and Intel TSX transactions in latest Intel CPUs with non-inclusive cache hierarchies. Guided by the observation, we propose a high-precision and timer-free directory attack called DPrime+DAbort in non-inclusive cache hierarchies using Intel TSX, which nullifies the aforementioned countermeasures. Our quantitative evaluation conducted on real systems equipped with latest Intel CPUs in three different generations demonstrates the practicality of the DPrime+DAbort attack in that it can be used to attack cryptographic and genomesequencing applications. We also discuss potential countermeasures and evaluate the feasibility of an Intel TSX-based countermeasure against the DPrime+DAbort attack.Keywords
This publication has 30 references indexed in Scilit:
- CATalyst: Defeating last-level cache side channel attacks in cloud computing2016
- Fast in-memory transaction processing using RDMA and HTM2015
- Heracles2015
- Last-Level Cache Side-Channel Attacks are Practical2015
- Dynamic performance tuning of word-based software transactional memory2008
- An effective hybrid transactional memory system with strong isolation guarantees2007
- Transactional Locking II2006
- Cache Attacks and Countermeasures: The Case of AES2006
- Transactional Memory: Architectural Support For Lock-free Data Structures2005
- A Survey of Fast Exponentiation MethodsJournal of Algorithms, 1998