[1]何利文,安 聪,国海轮.针对 AES 加密算法的安全检测[J].计算机技术与发展,2022,32(05):87-92.[doi:10. 3969 / j. issn. 1673-629X. 2022. 05. 015]
 HE Li-wen,AN Cong,GUO Hai-lun.Security Detection of AES Encryption Algorithm[J].,2022,32(05):87-92.[doi:10. 3969 / j. issn. 1673-629X. 2022. 05. 015]
点击复制

针对 AES 加密算法的安全检测()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
32
期数:
2022年05期
页码:
87-92
栏目:
网络与安全
出版日期:
2022-05-10

文章信息/Info

Title:
Security Detection of AES Encryption Algorithm
文章编号:
1673-629X(2022)05-0087-06
作者:
何利文安 聪国海轮
南京邮电大学,江苏 南京 210003
Author(s):
HE Li-wenAN CongGUO Hai-lun
Nanjing University of Posts and Telecommunications,Nanjing 210003,China
关键词:
ChipWhisperer高级加密标准能量迹相关功耗分析相关系数
Keywords:
ChipWhispereradvanced encryption standardtracecorrelation power analysiscorrelation coefficient
分类号:
TP31
DOI:
10. 3969 / j. issn. 1673-629X. 2022. 05. 015
摘要:
侧信道攻击( side channel attack,SCA) 是一种新兴的密码分析方法,主要通过加密软件或硬件运行时产生的各种泄漏信息获取密文信息,其中相关功耗分析( CPA) 是较为强大的一种攻击方法,可以用来实现 AES 加密算法的安全检测。CPA 需要假设猜测密钥,然后根据示波器采集到的能量迹,使用具有数据相关性的汉明模型,并计算实际能量值与假设能量消耗之间的皮尔逊相关系数,利用皮尔逊相关系数来判断猜测密钥的正确与否。 CPA 可以把皮尔逊相关系数的计算结果限制在[ -1,1] 之间且 CPA 过程自带标准化,不需要额外对数据进行标准化。 此外,还利用 python 的 pandas 库和 style方法对获得的结果进行刻画,更好地实现了相关系数和正确的密钥之间的关系。 本案例使用 NewAE Technology Inc 的芯片物理攻击平台 Chip Whisperer 实施 CPA 攻击来检测加密算法的安全性,成功破解了预设的 AES-128 的 16 字节的密钥。实验表明,CPA 在针对未加防护的 AES 加密算法时有显著的效果,可以检测 AES 加密算法的安全性。
Abstract:
Side channel attack ( SCA) is a new cryptanalysis method,which mainly obtains cipher text information through various leakage information generated by encryption software or hardware during operation. Among them, correlation power analysis ( CPA ) is a relatively powerful attack method,which can be used to realize the security detection of AES encryption algorithm. CPA needs to guess the key hypothesis,and then according to the energy trace collected by the oscilloscope,the Hamming model with data correlation is used,and the Pearson correlation coefficient between the actual energy value and the assumed energy consumption is calculated,and the Pearson correlation coefficient is used? ?to judge the correctness of the guess key. CPA can limit the calculation result of Pearson correlation coefficient to between [ -1,1] and the CPA process has its own standardization,so there is no need for additional standardization of data.In addition,we also use Python’s Pandas library? ?and style method to characterize the results obtained,better realizing the relationship between the correlation coefficient and the correct key.? ?This case uses NewAE Technology Inc ’ s chip physical attack platform ChipWhisperer to implement CPA attack to detect the security of encryption algorithm, and successfully cracked the preset 16-byte key ofAES-128. The experiment shows that CPA has a significant effect on? ? the unprotected AES encryption algorithm, and can detect the security of the AES encryption algorithm.

相似文献/References:

[1]刘彦辰,王 箭,屈琪锋.混合加密的宋词载体文本信息隐藏技术[J].计算机技术与发展,2018,28(01):138.[doi:10.3969/ j. issn.1673-629X.2018.01.030]
 LIU Yan-chen,WANG Jian,QU Qi-feng.Text Information Hiding Technique by Carrier of Song Poetry Based on Hybrid Encryption[J].,2018,28(05):138.[doi:10.3969/ j. issn.1673-629X.2018.01.030]

更新日期/Last Update: 2022-05-10