Paper 2013/104 Original: eprint.iacr.org/2013/104 ↗

A Tutorial on White-box AES

James A. Muir
Abstract

White-box cryptography concerns the design and analysis of implementations of cryptographic algorithms engineered to execute on untrusted platforms. Such implementations are said to operate in a \emph{white-box attack context}. This is an attack model where all details of the implementation are completely visible to an attacker: not only do they see input and output, they see every intermediate computation that happens along the way. The goal of a white-box attacker when targeting an implementation of a cipher is typically to extract the cryptographic key; thus, white-box implementations have been designed to thwart this goal (\ie to make key extraction difficult/infeasible). The academic study of white-box cryptography was initiated in 2002 in the seminal work of Chow, Eisen, Johnson and van Oorschot (SAC 2002). Here, we review the first white-box AES implementation proposed by Chow \etal and give detailed information on how to construct it. We provide a number of diagrams that summarize the flow of data through the various look-up tables in the implementation, which helps clarify the overall design. We then briefly review the impressive 2004 cryptanalysis by Billet, Gilbert and Ech-Chatbi (SAC 2004). The BGE attack can be used to extract an AES key from Chow \etal's original white-box AES implementation with a work factor of about $2^{30}$, and this fact has motivated subsequent work on improved AES implementations.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Preprint.
History
2013-02-28: last updated
2013-02-27: published
Short URL
https://ia.cr/2013/104
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2013/104,
      author = {James A.  Muir},
      title = {A Tutorial on White-box AES},
      howpublished = {Cryptology {ePrint} Archive, Paper 2013/104},
      year = {2013},
      url = {https://eprint.iacr.org/2013/104}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.