西安电子科技大学学报 ›› 2022, Vol. 49 ›› Issue (1): 111-120.doi: 10.19665/j.issn1001-2400.2022.01.011

• 隐私计算与数据安全专题 • 上一篇    下一篇

白盒SM4的中间值平均差分分析

张跃宇1,2(),徐东1,2(),蔡志强3(),陈杰2,4()   

  1. 1.西安电子科技大学 网络与信息安全学院,陕西 西安 710071
    2.西安电子科技大学 综合业务网理论与关键技术国家重点实验室,陕西 西安 710071
    3.中国人民解放军66061部队,山西 阳泉 100141
    4.桂林电子科技大学 广西密码学与信息安全重点实验室,广西 桂林 541004
  • 收稿日期:2020-12-23 出版日期:2022-02-20 发布日期:2022-04-27
  • 通讯作者: 陈杰
  • 作者简介:张跃宇(1978—),男,副教授,博士,E-mail: yyzhang@xidian.edu.cn;|徐 东(1997—),男,西安电子科技大学硕士研究生,E-mail: xudong1997124@163.com;|蔡志强(1975—),男,高级工程师,硕士,E-mail: qqbox521@163.com
  • 基金资助:
    十三五密码发展基金(MMJJ20180219);陕西省自然科学基础研究计划(2021JM-126);广西密码学与信息安全重点实验室研究课题(GCIS202125)

Analysis of the mean difference of intermediate-values in a white box SM4

ZHANG Yueyu1,2(),XU Dong1,2(),CAI Zhiqiang3(),CHEN Jie2,4()   

  1. 1. School of Cyber Engineering,Xidian University,Xi'an 710071,China
    2. State Key Laboratory of Integrated Services Networks,Xidian University,Xi'an 710071,China
    3. Unit 66061 of PLA,Yangquan 100141,China
    4. Guangxi Key Laboratory of Cryptography and Information Security,Guilin University of Electronic Technology,Guilin 541004,China
  • Received:2020-12-23 Online:2022-02-20 Published:2022-04-27
  • Contact: Jie CHEN

摘要:

在白盒攻击环境中,攻击者对密码系统拥有全部的访问权限。为保证在白盒攻击环境下密钥的安全性,提出了白盒密码的概念。2016年,BOS等人首次将侧信道分析思想引入白盒密码的分析工作中,提出差分计算分析方法,开创了白盒密码分析的新路径。差分计算分析以白盒密码程序运行过程中的软件执行轨迹为分析对象,采用统计分析的方法执行密钥提取,是否掌握白盒密码的设计细节对分析几乎不产生影响。白盒SM4是商用密码标准算法SM4在白盒安全模型下的密码实现。为高效地评估白盒SM4的安全性,在对差分计算分析进行研究的基础上,提出一种针对白盒SM4的侧信道分析方法,称为中间值平均差分分析方法(IVMDA)。IVMDA直接利用加密过程中的中间值进行分析,采用线性组合的方式抵消白盒SM4的混淆手段。在最少60条随机明文的参与下,仅需8 min左右即可完整地提取出第一轮子密钥。该方法相比于已有的分析方法,具备部署方便、适用于实际应用环境、分析效率高的特点。

关键词: 白盒实现, SM4, 侧信道分析, 差分计算分析

Abstract:

In the white box attack context,the attacker has full access to the cryptographic system.In order to ensure the key security in the white box attack context,the concept of white-box cryptography is proposed.In 2016,BOS et al.proposed the differential computation analysis (DCA) by introducing the idea of side channel analysis into white-box cryptography for the first time,creating a new path of white box cryptography analysis.DCA takes the software execution trace in the running process of the white-box cryptography program as the analytical object,and uses the statistical analysis method to extract the key.Whether to master the design details of the white-box cryptography or not has little impact on the analysis.The white-box SM4 is the cryptographic implementation of the commercial cryptographic standard algorithm SM4 under the white-box security model.In order to evaluate the security of the white-box SM4 efficiently,a side channel analytical method is proposed for white-box SM4 implementation based on the research on the DCA,called Intermediate-values Mean Difference Analysis (IVMDA).IVMDA directly uses the intermediate value in the process of encryption for analysis,and uses linear combination to counteract the confusion of the white-box SM4.With the participation of at least 60 random plaintexts,the first round key can be completely extracted in about 8 minutes.Compared with the existing analytical methods,this method has the characteristics of convenient deployment,suitability for practical application environment and high analytical efficiency.

Key words: white box implementation, SM4, side channel analysis, differential computational analysis

中图分类号: 

  • TN918.1
Baidu
map