一种基于模板的RSA-CRT模约减攻击方法OA北大核心CSTPCD
An Attack Method Against the Modular Reduction Within a RSA-CRT Implementation Based on Template Attack
目前针对RSA-CRT的建模类攻击研究较少,本文以模约减操作为研究对象,提出了一种针对RSA-CRT实现的模板攻击方法.该方法的核心是解决了如何由模约减后中间值的汉明重量恢复RSA-CRT私钥的难题.该方法的特点是基于模约减后中间值的汉明重量模型建模,通过采集选择密文模约减的能量迹进行模板匹配获取模约减后中间值的汉明重量,由汉明重量变化值恢复中间值,进一步恢复RSA-CRT算法的私钥.另外,该方法的优点在于理想情况下,基于中间值汉明重量模型建立的模板之间可以共用,且对中间值以多少位大小建模没有限制,可以选择字节大小,64位大小,甚至私钥p相同大小,实际环境中可根据泄露信息情况进行选取.最后,本文选择对中间值的最低字节进行建模,验证了该方法的可行性,并给出了防护建议.
At present,there are few researches on profile attacks against RSA-CRT implementation.This paper takes modular reduction operation as the research object,and a template attack method against RSA-CRT implementation is pro-posed.The core of this method is to solve the difficulty to recover the RSA-CRT private key from the Hamming weight of the intermediate value of ciphertext modular reduction.The characteristic of this method is to build a model based on the Hamming weight of the intermediate value derived from modular reduction.The Hamming weight can be obtained by col-lecting the power traces of chosen ciphertext modular reduction for template matching,and the intermediate value is recov-ered from the Hamming weight variation,the private key of the RSA-CRT algorithm can be further inferred based on the in-termediate value.In addition,the advantage of this method is that ideally,templates based on the intermediate Hamming weight model can be shared,and there is no limit on the number of bits of the intermediate value for modelling,which can be in byte size,64 bit size,or even the bit size of p.In the actual environment,it can be selected according to the leaked in-formation.Finally,in this paper,the lowest byte of the intermediate value is selected to model to verify the feasibility of this method,and the defense suggestions are also provided.
马向亮;乌力吉;王宏;张向民;黄克振;刘玉岭
清华大学集成电路学院,北京 100084||北京邮电大学集成电路学院,北京 100876清华大学集成电路学院,北京 100084||清华大学北京信息科学与技术国家研究中心,北京 100084国家信息技术安全研究中心,北京 100084中国科学院软件研究所可信计算与信息保障实验室,北京 100190中国科学院信息工程研究所,北京 100093||中国科学院大学网络安全学院,北京 101408
计算机与自动化
模板攻击RSA-CRT选择密文模约减侧信道攻击
template attackRSA-CRTchosen-ciphertextmodular reductionside channel attack
《电子学报》 2024 (003)
689-695 / 7
评论