Automatic Application of Power Analysis Countermeasures

Bayrak, Ali Galip;Ragazzoni, Francesco;Novo, David;Brisk, Philip;Ienne, Paolo;et.al.
(2015) IEEE Transactions on Computers — Vol. 64, n° 2, p. 329-341 (2015)

Files

AutomaticApplicationofPowerAnalysisCountermeasures.pdf
  • Open Access
  • Adobe PDF
  • 638.42 KB

Details

Authors
  • Bayrak, Ali GalipEcole Polytechnique Fédérale de Lausanne, Suisse
    Author
  • Ragazzoni, FrancescoUniversity of Lugano, Switzerland
    Author
  • Novo, DavidEcole Polytechnique Fédérale de Lausanne, Suisse
    Author
  • Brisk, PhilipUniversity of California, USA
    Author
  • Ienne, PaoloEcole Polytechnique Fédérale de Lausanne, Suisse
    Author
Show more
Abstract
We introduce a compiler that automatically inserts software countermeasures to protect cryptographic algorithms against power-based side-channel attacks. The compiler first estimates which instruction instances leak the most information through side-channels. This information is obtained either by dynamic analysis, evaluating an information theoretic metric over the power traces acquired during the execution of the input program, or by static analysis. As information leakage implies a loss of security, the compiler then identifies (groups of) instruction instances to protect with a software countermeasure such as random precharging or Boolean masking. As software protection incurs significant overhead in terms of cryptosystem runtime and memory usage, the compiler protects the minimum number of instruction instances to achieve a desired level of security. The compiler is evaluated on two block ciphers, AES and Clefia; our experiments demonstrate that the compiler can automatically identify and protect the most important instruction instances. To date, these software countermeasures have been inserted manually by security experts, who are not necessarily the main cryptosystem developers. Our compiler offers significant productivity gains for cryptosystem developers who wish to protect their implementations from side-channel attacks.
Affiliations

Citations

Bayrak, A. G., Ragazzoni, F., Novo, D., Brisk, P., Standaert, F.-X., & Ienne, P. (2015). Automatic Application of Power Analysis Countermeasures. IEEE Transactions on Computers, 64(2), 329-341. https://doi.org/10.1109/TC.2013.219 (Original work published 2015)