On Self-equivalence Encodings in White-Box Implementations

被引:5
|
作者
Ranea, Adrian [1 ]
Preneel, Bart [1 ]
机构
[1] Katholieke Univ Leuven, Imec COSIC, Leuven, Belgium
来源
基金
比利时弗兰德研究基金会;
关键词
White-box cryptography; Self-equivalence; SPN; CRYPTANALYSIS; AES;
D O I
10.1007/978-3-030-81652-0_25
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
All academic methods to secure software implementations of block ciphers against adversaries with full control of the device have been broken. Despite the huge progress in the cryptanalysis of these white-box implementations, no recent progress has been made on the design side. Most of the white-box designs follow the CEJO framework, where each round is encoded by composing it with small random permutations. While several generic attacks have been proposed on the CEJO framework, no generic analysis has been performed on self-equivalence encodings, a different design where only the affine layer of each round is encoded with random self-equivalences of the S-box layer, that is, affine permutations commuting with the non-linear layer. In this work, we analyse the security of white-box implementations based on self-equivalence encodings for a broad class of SPN ciphers. First, we characterize the self-equivalence groups of S-box layers, and we prove that all the self-equivalences of a cryptographically strong Sbox layer have a diagonal shape. Then, we propose the first generic attack on self-equivalence encodings. Our attack, based on affine equivalence problems, identifies the connection between the security of selfequivalence encodings and the self-equivalence structure of the cipher components. While we show that traditional SPN ciphers with cryptographically strong S-box layers cannot be secured with self-equivalence encodings, our analysis shows that self-equivalence encodings resist the generic attack if the cipher components satisfy several conditions, revealing the potential of self-equivalence encodings to secure other types of ciphers.
引用
收藏
页码:639 / 669
页数:31
相关论文
共 50 条
  • [1] Self-equivalence encodings and improvements of white-box implementations
    Luo, Yinuo
    Tong, Peng
    Chen, Jie
    Dong, Xiaoli
    [J]. Xi'an Dianzi Keji Daxue Xuebao/Journal of Xidian University, 2022, 49 (02): : 146 - 154
  • [2] A White-Box Speck Implementation Using Self-equivalence Encodings
    Vandersmissen, Joachim
    Ranea, Adrian
    Preneel, Bart
    [J]. APPLIED CRYPTOGRAPHY AND NETWORK SECURITY, ACNS 2022, 2022, 13269 : 771 - 791
  • [3] A White-box Implementation of SM4 with Self-equivalence Encoding
    Chen, Jie
    Luo, Yinuo
    Liu, Jun
    Wang, Chao
    Zhang, Yueyu
    Dong, Xiaoli
    [J]. COMPUTER JOURNAL, 2023, 67 (03): : 1087 - 1098
  • [4] Cryptanalysis of white-box DES implementations with arbitrary external encodings
    Wyseur, Brecht
    Michiels, Wil
    Gorissen, Paul
    Preneel, Bart
    [J]. SELECTED AREAS IN CRYPTOGRAPHY, 2007, 4876 : 264 - +
  • [5] A DFA Attack on White-Box Implementations of AES with External Encodings
    Amadori, Alessandro
    Michiels, Wil
    Roelse, Peter
    [J]. SELECTED AREAS IN CRYPTOGRAPHY - SAC 2019, 2020, 11959 : 591 - 617
  • [6] Automating the BGE Attack on White-Box Implementations of AES with External Encodings
    Amadori, Alessandro
    Michiels, Wil
    Roelse, Peter
    [J]. 2020 IEEE 10TH INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS (ICCE-BERLIN), 2020,
  • [7] Revisiting the Computation Analysis against Internal Encodings in White-Box Implementations
    Tang, Yufeng
    Gong, Zheng
    Li, Bin
    Zhao, Liangju
    [J]. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2023, 2023 (04): : 493 - 522
  • [8] Enhanced Encodings for White-Box Designs
    Battistello, Alberto
    Castelnovi, Laurent
    Chabrier, Thomas
    [J]. SMART CARD RESEARCH AND ADVANCED APPLICATIONS (CARDIS 2021), 2022, 13173 : 254 - 274
  • [9] Cryptanalysis of a Generic Class of White-Box Implementations
    Michiels, Wil
    Gorissen, Paul
    Hollmann, Henk D. L.
    [J]. SELECTED AREAS IN CRYPTOGRAPHY, 2009, 5381 : 414 - 428
  • [10] Cryptanalysis of ARX-based White-box Implementations
    Biryukov, Alex
    Lambin, Baptiste
    Udovenko, Aleksei
    [J]. IACR Transactions on Cryptographic Hardware and Embedded Systems, 2023, 2023 (03): : 97 - 135