基于欧式距离的AES 算法模板攻击  被引量:16

Template Attack of AES Algorithm Based on Euclidean Distance

在线阅读下载全文

作  者:李志明[1] 唐永中[1] LI Zhiming;TANG Yongzhong(Center for Information Technology,Hexi University,Zhangye,Gansu 734000,China)

机构地区:[1]河西学院信息技术中心,甘肃张掖734000

出  处:《计算机工程与应用》2022年第2期110-115,共6页Computer Engineering and Applications

基  金:甘肃省高等学校科研创新能力提升项目(2020B-206)。

摘  要:针对AES算法Cache计时模板攻击时会触发大量的Cache失效,容易被硬件计数器检测出来的问题,基于Flush+Flush攻击模型,提出一种基于欧氏距离的AES算法模板攻击方法,以减少触发Cache失效的次数,使攻击更加隐蔽。使用Flush+Flush攻击模型获取AES算法在内存中映射的位置;利用已知明文攻击不断地触发密码进程,通过该模型建立每一个密钥的模板;利用Flush+Flush攻击模型获取真实情况下的Cache计时信息,通过计算计时信息与每一个密钥模板之间的欧式距离推算密钥。通过实验验证,以OpenSSL库中的AES算法快速实现为攻击对象,攻击模型能准确地获取AES算法密钥,并与Flush+Reload攻击模型相比较,触发的Cache失效次数仅为Flush+Reload攻击模型的17%。Aiming at the problem that the Flush+Reload attack model will trigger a large number of cache failures when attacking the AES algorithm and is easily detected by the hardware counter,a template attack method of utilizing the Flush+Flush attack model based on Euclidean distance is proposed to reduce the number of cache failures.This model can make the attack more covert.Firstly,it exploits Flush+Flush attack model to obtain mapped location of AES algorithm in memory.Then the template for each key is established by using the known clear-text attack which will trigger password process continuously.Finally,it utilizes the Flush+Flush attack model to obtain the Cache timing information under real conditions and predict the key by calculating the Euclidean distance between the timing information and each key tem-plate.Through experimental verification,with taking the AES algorithm fast implementation in openSSL algorithm library as the object of attack,the attack model can accurately obtain the AES algorithm key.Compared with the Flush+Reload attack model,the number of Cache failures triggered by the Flush+Flush attack model is only 17%of the Flush+Reload attack model.

关 键 词:Flush+Flush攻击模型 模板攻击 AES算法 CACHE 欧氏距离 

分 类 号:TP309.7[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象