Using templates to distinguish multiplications from squaring operations

  • Authors:
  • Neil Hanley;Michael Tunstall;William P. Marnane

  • Affiliations:
  • University College Cork, Claude Shannon Institute for Discrete Mathematics, Coding and Cryptography, Department of Electrical and Electronic Engineering, Cork, Ireland;University of Bristol, Department of Computer Science, Merchant Venturers Building, Woodland Road, BS8 1UB, Bristol, UK;University College Cork, Claude Shannon Institute for Discrete Mathematics, Coding and Cryptography, Department of Electrical and Electronic Engineering, Cork, Ireland

  • Venue:
  • International Journal of Information Security
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Since side channel analysis was introduced as a method to recover secret information from an otherwise secure cryptosystem, many countermeasures have been proposed to prevent leakage from secure devices. Among these countermeasures is side channel atomicity that makes operations indistinguishable using side channel analysis. In this paper, we present practical results of an attack on RSA signature generation, protected in this manner, based on the expected difference in Hamming weight between the result of a multiplication and a squaring operation. This work presents the first attack that we are aware of where template analysis can be used without requiring an open device to characterize an implementation of a given cryptographic algorithm. Moreover, an attacker does not need to know the plaintexts being operated on and, therefore, blinding and padding countermeasures applied to the plaintext do not hinder the attack in anyway.