Reference : Analysis and Improvement of Differential Computation Attacks against Internally-Encod...
Scientific journals : Article
Engineering, computing & technology : Computer science
Security, Reliability and Trust
http://hdl.handle.net/10993/44470
Analysis and Improvement of Differential Computation Attacks against Internally-Encoded White-Box Implementations
English
Rivain, Matthieu mailto [CryptoExperts]
Wang, Junwei mailto [University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > > ; CryptoExperts > > > ; Université Paris 8]
18-Feb-2019
IACR Transactions on Cryptographic Hardware and Embedded Systems
2019
2
225-255
Yes
International
2569-2925
[en] white-box cryptography ; internal encoding ; differential computation analysis ; collision attack ; mutual information analysis
[en] White-box cryptography is the last security barrier for a cryptographic software implementation deployed in an untrusted environment. The principle of internal encodings is a commonly used white-box technique to protect block cipher implementations. It consists in representing an implementation as a network of look-up tables which are then encoded using randomly generated bijections (the internal encodings). When this approach is implemented based on nibble (i.e. 4-bit wide) encodings, the protected implementation has been shown to be vulnerable to differential computation analysis (DCA). The latter is essentially an adaptation of differential power analysis techniques to computation traces consisting of runtime information, e.g., memory accesses, of the target software. In order to thwart DCA, it has then been suggested to use wider encodings, and in particular byte encodings, at least to protect the outer rounds of the block cipher which are the prime targets of DCA.
In this work, we provide an in-depth analysis of when and why DCA works. We pinpoint the properties of the target variables and the encodings that make the attack (in)feasible. In particular, we show that DCA can break encodings wider than 4-bit, such as byte encodings. Additionally, we propose new DCA-like attacks inspired from side-channel analysis techniques. Specifically, we describe a collision attack particularly effective against the internal encoding countermeasure. We also investigate mutual information analysis (MIA) which naturally applies in this context. Compared to the original DCA, these attacks are also passive and they require very limited knowledge of the attacked implementation, but they achieve significant improvements in terms of trace complexity. All the analyses of our work are experimentally backed up with various attack simulation results. We also verified the practicability of our analyses and attack techniques against a publicly available white-box AES implementation protected with byte encodings –which DCA has failed to break before– and against a “masked” white-box AES implementation –which intends to resist DCA.
European Union
ECRYPT-NET
Researchers ; Professionals ; Students ; General public
http://hdl.handle.net/10993/44470
10.13154/tches.v2019.i2.225-255
https://tches.iacr.org/index.php/TCHES/article/view/7391
H2020 ; 643161 - ECRYPT-NET - European Integrated Research Training Network on Advanced Cryptographic Technologies for the Internet of Things and the Cloud

File(s) associated to this reference

Fulltext file(s):

FileCommentaryVersionSizeAccess
Open access
tches19.pdfPublisher postprint1.18 MBView/Open

Bookmark and Share SFX Query

All documents in ORBilu are protected by a user license.