International Association for Cryptologic Research

International Association
for Cryptologic Research

CryptoDB

White-box filtering attacks breaking SEL masking: from exponential to polynomial time

Authors:
Alex Charlès
Aleksei Udovenko
Download:
DOI: 10.46586/tches.v2024.i3.1-24
URL: https://tches.iacr.org/index.php/TCHES/article/view/11668
Search ePrint
Search Google
Abstract: 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.
BibTeX
@article{tches-2024-34434,
  title={White-box filtering attacks breaking SEL masking: from exponential to polynomial time},
  journal={IACR Transactions on Cryptographic Hardware and Embedded Systems},
  publisher={Ruhr-Universität Bochum},
  volume={2024},
  pages={1-24},
  url={https://tches.iacr.org/index.php/TCHES/article/view/11668},
  doi={10.46586/tches.v2024.i3.1-24},
  author={Alex Charlès and Aleksei Udovenko},
  year=2024
}