Efficient Removal of Random Delays from Embedded Software Implementations Using Hidden Markov Models

Durvaux, François;Renauld, Mathieu;Standaert, François-Xavier;Van Oldeneel Tot Oldenzeel, Loïc
(2012) 11th International Conference CARDIS 2012 — Location: Graz (Austria) (28.November.2012)

Files

123.pdf
  • Open Access
  • Adobe PDF
  • 433.18 KB

Details

Authors
  • Durvaux, FrançoisUCLouvain
    Author
  • Renauld, MathieuUCLouvain
    Author
  • Van Oldeneel Tot Oldenzeel, LoïcUCLouvain
    Author
Abstract
Inserting random delays in cryptographic implementations is often used as a countermeasure against side-channel attacks. Most previous works on the topic focus on improving the statistical distribution of these delays. For example, efficient random delay generation algorithms have been proposed at CHES 2009/2010. These solutions increase security against attacks that solve the lack of synchronization between different leakage traces by integrating them. In this paper, we demonstrate that integration may not be the best tool to evaluate random delay insertions. For this purpose, we first describe different attacks exploiting pattern-recognition techniques and Hidden Markov Models. Using these tools and as a case study, we perform successful key recoveries against an implementation of the CHES 2009/2010 proposal in an Atmel microcontroller, with the same data complexity as against an unprotected implementation of the AES Rijndael. In other words, we completely cancel the countermeasure in this case. Next, we show that our cryptanalysis tools are remarkably robust to attack improved variants of the countermeasure, e.g. with additional noise or irregular dummy operations. We also exhibit that the attacks remain applicable in a non-proled adversarial scenario. These results suggest that the use of random delays may not be effective for protecting small embedded devices against side-channel leakage. They highlight the strength of Viterbi decoding against such time-randomization countermeasures, in particular when combined with a precise description of the target implementations, using large lattices.
Affiliations

Citations

Durvaux, F., Renauld, M., Standaert, F.-X., & Van Oldeneel Tot Oldenzeel, L. (2012). Efficient Removal of Random Delays from Embedded Software Implementations Using Hidden Markov Models. Proceedings of CARDIS 2012, p. 123-140. https://doi.org/10.1007/978-3-642-37288-9_9