Unveiling Hardware-based Data Prefetcher, a Hidden Source of Information Leakage

被引:38
作者
Shin, Youngjoo [1 ]
Kim, Hyung Chan [2 ]
Kwon, Dokeun [2 ]
Jeong, Ji Hoon [2 ]
Hur, Junbeom [3 ]
机构
[1] Kwangwoon Univ, Seoul, South Korea
[2] ETRI, Affiliated Inst, Daejeon, South Korea
[3] Korea Univ, Seoul, South Korea
来源
PROCEEDINGS OF THE 2018 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY (CCS'18) | 2018年
基金
新加坡国家研究基金会;
关键词
Hardware prefetching; microarchitectural side-channel attacks; OpenSSL; ECDH algorithm; COUNTERMEASURES; ATTACKS;
D O I
10.1145/3243734.3243736
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Data prefetching is a hardware-based optimization mechanism used in most of the modern microprocessors. It fetches data to the cache before it is needed. In this paper, we present a novel microarchitectural attack that exploits the prefetching mechanism. Our attack targets Instruction pointer (IP)-based stride prefetching in Intel processors. Stride prefetcher detects memory access patterns with a regular stride, which are likely to be found in lookup table-based cryptographic implementations. By monitoring the prefetching activities near the lookup table, attackers can extract sensitive information such as secret keys from victim applications. This kind of leakage from prefetching has never been considered in the design of constant time algorithm to prevent side-channel attacks. We show the potential of the proposed attack by applying it against the Elliptic Curve Diffie-Hellman (ECDH) algorithm built upon the latest version of OpenSSL library. To the best of our knowledge, this is the first microarchitectural side-channel attack exploiting the hardware prefetching of modern microprocessors.
引用
收藏
页码:131 / 145
页数:15
相关论文
共 58 条
[1]  
Anderberg M.R., 1973, CLUSTER ANAL APPL, DOI [10.1016/c2013-0-06161-0, DOI 10.1016/C2013-0-06161-0]
[2]  
[Anonymous], 2015, NDSS
[3]  
[Anonymous], 2014, INTEL SW DEV ZONE
[4]  
Aranha DF, 2010, LECT NOTES COMPUT SC, V6212, P144, DOI 10.1007/978-3-642-14712-8_9
[5]  
AWS, 2018, INST TYP AWS EC2
[6]   Hardware Prefetchers Leak : A Revisit of SVF for Cache-Timing Attacks [J].
Bhattacharya, Sarani ;
Rebeiro, Chester ;
Mukhopadhyay, Debdeep .
2012 IEEE/ACM 45TH INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE WORKSHOPS, 2012, :17-23
[7]  
Bhattacharyya S, 2016, OCEANS-IEEE
[8]  
Brasser F., 2017, WOOT
[9]   EFFECTIVE HARDWARE-BASED DATA PREFETCHING FOR HIGH-PERFORMANCE PROCESSORS [J].
CHEN, TF ;
BAER, JL .
IEEE TRANSACTIONS ON COMPUTERS, 1995, 44 (05) :609-623
[10]  
Coron JS, 1999, LECT NOTES COMPUT SC, V1717, P292