Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2019, Vol. 45 ›› Issue (7): 159-163. doi: 10.19678/j.issn.1000-3428.0051139

Previous Articles     Next Articles

Cache Timing Template Attack Method Based on Pearson Correlation Coefficient

CHENG Zhiweia, CHEN Caisenb, ZHU Lianjunb, MO Weifengc, WANG Huiyua   

  1. a. Department of Information and Communication;b. Training Center;c. Department of Military and Politics, Academy of Army Armored Force, Beijing 100072, China
  • Received:2018-04-10 Revised:2018-05-16 Online:2019-07-15 Published:2019-07-23

基于Pearson相关系数的Cache计时模板攻击方法

程志炜a, 陈财森b, 朱连军b, 莫伟锋c, 王会宇a   

  1. 陆军装甲兵学院 a. 信息通信系;b. 演训中心;c. 军政基础系, 北京 100072
  • 作者简介:程志炜(1993-),男,硕士研究生,主研方向为信息安全;陈财森,讲师、博士;朱连军,副教授;莫伟锋,讲师;王会宇,硕士研究生。
  • 基金资助:
    国家自然科学基金(61402528)。

Abstract: Aiming at the problem that the data collected by Cache timing template attack is noisy,a method of establishing timing template by using the Cache hit rate of access address is proposed,and the input value is judged by Pearson correlation coefficient.The Flush+Reload attack method is used to attack the computer keyboard input.The Cache hit rate of each address is obtained and the address with high Cache hit rate is converted into a template matrix,which is used to calculate the Pearson correlation coefficient,and then the input value is judged according to the size of the coefficient.Experimental results show that this method can improve the accuracy of judging input values compared with the mean square error method.

Key words: template attack, Pearson correlation coefficient, Cache timing attack, Flush+Reload attack method, Cache hit rate

摘要: 针对Cache计时模板攻击所采集数据噪声较多的问题,提出一种利用访问地址Cache命中率建立计时模板的方法,并根据Pearson相关系数对输入值进行判断。通过Flush+Reload攻击方法对计算机的键盘输入进行攻击,获取每个地址的Cache命中率,将Cache命中率高的地址转换为模板矩阵,利用该模板矩阵计算Pearson相关系数并根据系数大小判断输入值。实验结果表明,与均方误差法相比,该方法能够提高对输入值的判断准确率。

关键词: 模板攻击, Pearson相关系数, Cache计时攻击, Flush+Reload攻击方法, Cache命中率

CLC Number: