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

Authors

  • Alex Charlès DCS, University of Luxembourg, Esch-sur-Alzette, Luxembourg
  • Aleksei Udovenko SnT, University of Luxembourg, Esch-sur-Alzette, Luxembourg

DOI:

https://doi.org/10.46586/tches.v2024.i3.1-24

Keywords:

White-box Cryptography, Cryptanalysis, Filtering, Masking schemes, SEL, FLDA, RNR, CPF

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.

Downloads

Published

2024-07-18

Issue

Section

Articles

How to Cite

White-box filtering attacks breaking SEL masking: from exponential to polynomial time. (2024). IACR Transactions on Cryptographic Hardware and Embedded Systems, 2024(3), 1-24. https://doi.org/10.46586/tches.v2024.i3.1-24