A White-Box Masking Scheme Resisting Computational and Algebraic Attacks

Authors

  • Okan Seker University of Lübeck, Germany
  • Thomas Eisenbarth University of Lübeck, Germany
  • Maciej Liskiewicz University of Lübeck, Germany

DOI:

https://doi.org/10.46586/tches.v2021.i2.61-105

Keywords:

White-box Cryptography, Boolean Masking, Non-linear Masking, Probing Security, Prediction Security, Differential Computation Analysis, Algebraic Attacks

Abstract

White-box cryptography attempts to protect cryptographic secrets in pure software implementations. Due to their high utility, white-box cryptosystems (WBC) are deployed by the industry even though the security of these constructions is not well defined. A major breakthrough in generic cryptanalysis of WBC was Differential Computation Analysis (DCA), which requires minimal knowledge of the underlying white-box protection and also thwarts many obfuscation methods. To avert DCA, classic masking countermeasures originally intended to protect against highly related side-channel attacks have been proposed for use in WBC. However, due to the controlled environment of WBCs, new algebraic attacks against classic masking schemes have quickly been found. These algebraic DCA attacks break all classic masking countermeasures efficiently, as they are independent of the masking order.
In this work, we propose a novel generic masking scheme that can resist both DCA and algebraic DCA attacks. The proposed scheme extends the seminal work by Ishai et al. which is probing secure and thus resists DCA, to also resist algebraic attacks. To prove the security of our scheme, we demonstrate the connection between two main security notions in white-box cryptography: probing security and prediction security. Resistance of our masking scheme to DCA is proven for an arbitrary order of protection, using the well-known strong non-interference notion by Barthe et al. Our masking scheme also resists algebraic attacks, which we show concretely for first and second-order algebraic protection. Moreover, we present an extensive performance analysis and quantify the overhead of our scheme, for a proof-of-concept protection of an AES implementation.

Downloads

Published

2021-02-23

Issue

Section

Articles

How to Cite

A White-Box Masking Scheme Resisting Computational and Algebraic Attacks. (2021). IACR Transactions on Cryptographic Hardware and Embedded Systems, 2021(2), 61-105. https://doi.org/10.46586/tches.v2021.i2.61-105