Cryptology ePrint Archive: Report 2018/301

On the Ineffectiveness of Internal Encodings - Revisiting the DCA Attack on White-Box Cryptography

Estuardo Alpirez Bock and Chris Brzuska and Wil Michiels and Alexander Treff

Abstract: The goal of white-box cryptography is to implement cryptographic algorithms securely in software in the presence of an adversary that has complete access to the software's program code and execution environment. In particular, white-box cryptography needs to protect the embedded secret key from being extracted. As for today, all publicly available white-box implementations turned out succeptible to key extraction attacks. In the meanwhile, white-box cryptography is widely deployed in commercial implementations that claim to be secure. Bos, Hubain, Michiels and Teuwen (CHES 2016) introduced differential computational analysis (DCA), the first automated attack on white-box cryptography. The DCA attack performs a statistical analysis on execution traces. These traces contain information about the execution, such as memory addresses or register values, that is collected via binary instrumentation tooling during the encryption process. The white-box implementations that were attacked by Bos et al., as well as white-box implementations that have been described in the literature, protect the embedded key by using internal encodings techniques that have been introduced by Chow, Eisen, Johnson and van Oorschot (SAC 2002). In this paper, we prove rigorously that such internal encodings are too weak to protect against the DCA attack and thereby explain the experimental success of the DCA attack of Bos et al.

Category / Keywords: implementation / white-box cryptography, differential computational analysis, software execution traces, mixing bijections

Date: received 29 Mar 2018

Contact author: estuardo alpirezbock at gmail com, chris brzuska@gmail com

Available format(s): PDF | BibTeX Citation

Version: 20180403:132324 (All versions of this report)

Short URL: ia.cr/2018/301

Discussion forum: Show discussion | Start new discussion


[ Cryptology ePrint archive ]