Paper 2017/699

Runtime Code Polymorphism as a Protection Against Side Channel Attacks

Damien Couroussé
Thierno Barry
Bruno Robisson
Philippe Jaillon
Olivier Potin
Jean-Louis Lanet
Abstract

We present a generic framework for runtime code polymorphism, applicable to a broad range of computing platforms including embedded systems with low computing resources (e.g. microcontrollers with few kilo-bytes of memory). Code polymorphism is defined as the ability to change the observable behaviour of a software component without changing its functional properties. In this paper we present the implementation of code polymorphism with runtime code generation, which offers many code transformation possibilities: we describe the use of random register allocation, random instruction selection, instruction shuffling and insertion of noise instructions. We evaluate the effectiveness of our framework against correlation power analysis: as compared to an unprotected implementation of AES where the secret key could be recovered in less than 50 traces in average, in our protected implementation, we increased the number of traces necessary to achieve the same attack by more than 20000x. With regards to the state of the art, our implementation shows a moderate impact in terms of performance overhead.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2017/699,
      author = {Damien Couroussé and Thierno Barry and Bruno Robisson and Philippe Jaillon and Olivier Potin and Jean-Louis Lanet},
      title = {Runtime Code Polymorphism as a Protection Against Side Channel Attacks},
      howpublished = {Cryptology {ePrint} Archive, Paper 2017/699},
      year = {2017},
      url = {https://eprint.iacr.org/2017/699}
}
Category
Implementation
License
CC BY
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy