Information (Nov 2021)

Profiling Attack against RSA Key Generation Based on a Euclidean Algorithm

  • Sadiel de la Fe,
  • Han-Byeol Park,
  • Bo-Yeon Sim,
  • Dong-Guk Han,
  • Carles Ferrer

DOI
https://doi.org/10.3390/info12110462
Journal volume & issue
Vol. 12, no. 11
p. 462

Abstract

Read online

A profiling attack is a powerful variant among the noninvasive side channel attacks. In this work, we target RSA key generation relying on the binary version of the extended Euclidean algorithm for modular inverse and GCD computations. To date, this algorithm has only been exploited by simple power analysis; therefore, the countermeasures described in the literature are focused on mitigating only this kind of attack. We demonstrate that one of those countermeasures is not effective in preventing profiling attacks. The feasibility of our approach relies on the extraction of several leakage vectors from a single power trace. Moreover, because there are known relationships between the secrets and the public modulo in RSA, the uncertainty in some of the guessed secrets can be reduced by simple tests. This increases the effectiveness of the proposed attack.

Keywords