Compiler optimizations as a countermeasure against side-channel analysis in MSP430-based devices

Sensors (Basel). 2012;12(6):7994-8012. doi: 10.3390/s120607994. Epub 2012 Jun 8.

Abstract

Ambient Intelligence (AmI) requires devices everywhere, dynamic and massively distributed networks of low-cost nodes that, among other data, manage private information or control restricted operations. MSP430, a 16-bit microcontroller, is used in WSN platforms, as the TelosB. Physical access to devices cannot be restricted, so attackers consider them a target of their malicious attacks in order to obtain access to the network. Side-channel analysis (SCA) easily exploits leakages from the execution of encryption algorithms that are dependent on critical data to guess the key value. In this paper we present an evaluation framework that facilitates the analysis of the effects of compiler and backend optimizations on the resistance against statistical SCA. We propose an optimization-based software countermeasure that can be used in current low-cost devices to radically increase resistance against statistical SCA, analyzed with the new framework.

Keywords: MSP430; compiler optimization; embedded system security; hiding countermeasure; side-channel attacks.

Publication types

  • Research Support, Non-U.S. Gov't