White-box filtering attacks breaking SEL masking: from exponential to polynomial time
DOI:
https://doi.org/10.46586/tches.v2024.i3.1-24Keywords:
White-box Cryptography, Cryptanalysis, Filtering, Masking schemes, SEL, FLDA, RNR, CPFAbstract
This work proposes a new white-box attack technique called filtering, which can be combined with any other trace-based attack method. The idea is to filter the traces based on the value of an intermediate variable in the implementation, aiming to fix a share of a sensitive value and degrade the security of an involved masking scheme.
Coupled with LDA (filtered LDA, FLDA), it leads to an attack defeating the state-ofthe-art SEL masking scheme (CHES 2021) of arbitrary degree and number of linear shares with quartic complexity in the window size. In comparison, the current best attacks have exponential complexities in the degree (higher degree decoding analysis, HDDA), in the number of linear shares (higher-order differential computation analysis, HODCA), or the window size (white-box learning parity with noise, WBLPN). The attack exploits the key idea of the SEL scheme - an efficient parallel combination of the nonlinear and linear masking schemes. We conclude that a proper composition of masking schemes is essential for security.
In addition, we propose several optimizations for linear algebraic attacks: redundant node removal (RNR), optimized parity check matrix usage, and chosen-plaintext filtering (CPF), significantly improving the performance of security evaluation of white-box implementations.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Alex Charlès, Aleksei Udovenko
This work is licensed under a Creative Commons Attribution 4.0 International License.