Sensors (Jun 2012)

Compiler Optimizations as a Countermeasure against Side-Channel Analysis in MSP430-Based Devices

  • Zorana Banković,
  • Juan-Mariano de Goyeneche,
  • José M. Moya,
  • Marina Zapater,
  • Pedro Malagón

DOI
https://doi.org/10.3390/s120607994
Journal volume & issue
Vol. 12, no. 6
pp. 7994 – 8012

Abstract

Read online

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