Improvement on a Masked White-Box Cryptographic Implementation

被引:7
作者
Lee, Seungkwang [1 ,2 ]
Kim, Myungchul [1 ]
机构
[1] Korea Adv Inst Sci & Technol, Dept Sch Comp, Daejeon 34141, South Korea
[2] ETRI, Cryptog Engn Res Sect, Daejeon 34129, South Korea
关键词
Encoding; Correlation; Software; Encryption; Licenses; White-box cryptography; AES; DCA; collision attack; bucketing attack; countermeasure;
D O I
10.1109/ACCESS.2020.2993651
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
White-box cryptography is a software technique to protect secret keys of cryptographic algorithms from attackers who have access to memory. By adapting techniques of differential power analysis to computation traces consisting of runtime information, Differential Computation Analysis (DCA) has recovered the secret keys from white-box cryptographic implementations. In order to thwart DCA, a masked white-box implementation was suggested. It was a customized masking technique that randomizes all the values in the lookup tables with different masks. However, the round output was only permuted by byte encodings, not protected by masking. This is the main reason behind the success of DCA variants on the masked white-box implementation. In this paper, we improve the masked white-box cryptography in such a way to protect against DCA variants by obfuscating the round output with random masks. Specifically, we introduce a white-box AES (WB-AES) implementation applying the masking technique to the key-dependent intermediate value and the several outer-round outputs computed by partial bits of the key. Our analysis and experimental results show that the proposed WB-AES can protect against DCA variants including DCA with a 2-byte key guess, collision, and bucketing attacks. This work requires approximately 3.7 times the table size and 0.7 times the number of lookups compared to the previous masked WB-AES.
引用
收藏
页码:90992 / 91004
页数:13
相关论文
共 50 条
[21]   A White-Box Speck Implementation Using Self-equivalence Encodings [J].
Vandersmissen, Joachim ;
Ranea, Adrian ;
Preneel, Bart .
APPLIED CRYPTOGRAPHY AND NETWORK SECURITY, ACNS 2022, 2022, 13269 :771-791
[22]   A secure white-box SM4 implementation [J].
Bai, Kunpeng ;
Wu, Chuankun .
SECURITY AND COMMUNICATION NETWORKS, 2016, 9 (10) :996-1006
[23]   A white-box cryptographic SM2 scheme based on space hardness [J].
Jiang, Xiong ;
Luo, Tianyuan .
2020 5TH INTERNATIONAL CONFERENCE ON MECHANICAL, CONTROL AND COMPUTER ENGINEERING (ICMCCE 2020), 2020, :1260-1264
[24]   On the security goals of white-box cryptography [J].
Bock E.A. ;
Amadori A. ;
Brzuska C. ;
Michiels W. .
1600, Ruhr-University of Bochum (2020) :327-357
[25]   Implicit White-Box Implementations: White-Boxing ARX Ciphers [J].
Ranea, Adrian ;
Vandersmissen, Joachim ;
Preneel, Bart .
ADVANCES IN CRYPTOLOGY - CRYPTO 2022, PT I, 2022, 13507 :33-63
[26]   Efficient and Provable White-Box Primitives [J].
Fouque, Pierre-Alain ;
Karpman, Pierre ;
Kirchner, Paul ;
Minaud, Brice .
ADVANCES IN CRYPTOLOGY - ASIACRYPT 2016, PT I, 2016, 10031 :159-188
[27]   An AES-Like Cipher and Its White-Box Implementation [J].
Bai, Kunpeng ;
Wu, Chuankun .
COMPUTER JOURNAL, 2016, 59 (07) :1054-1065
[28]   A Secure and Efficient White-Box Implementation of SM4 [J].
Hu, Xiaobo ;
Yu, Yanyan ;
Tu, Yinzi ;
Wang, Jing ;
Chen, Shi ;
Bao, Yuqi ;
Zhang, Tengyuan ;
Xing, Yaowen ;
Zheng, Shihui .
ENTROPY, 2025, 27 (01)
[29]   White-Box ECDSA: Challenges and Existing Solutions [J].
Dottax, Emmanuelle ;
Giraud, Christophe ;
Houzelot, Agathe .
CONSTRUCTIVE SIDE-CHANNEL ANALYSIS AND SECURE DESIGN, COSADE 2021, 2021, 12910 :184-201
[30]   Protecting White-Box AES with Dual Ciphers [J].
Karroumi, Mohamed .
INFORMATION SECURITY AND CRYPTOLOGY - ICISC 2010, 2011, 6829 :278-291