Microarchitecture Online Template Attacks

07/10/2020
by   Alejandro Cabrera Aldaya, et al.
0

Online template attack (OTA) is a powerful technique previously used to attack elliptic curve scalar multiplication algorithms. This attack has been only analyzed in the realm of power-consumption and EM side-channels, where the signals leak about the value to be processed. However, no microarchitecture analysis variant has been proposed, especially considering the different nature between power-consumption signals and microarchitecture-based ones. In this paper we start filling this gap by revisiting the original OTA description, proposing a generic framework and evaluation metrics for any side-channel signal. Our analysis reveals OTA features not covered before, increasing its application scenarios that requires revisiting original countermeasures to prevent it. In this regard we demonstrate that OTA can work in the backward direction allowing to mount an augmented projective coordinates attack wrt the proposed by Naccache et al. (Eurocrypt 2004). We analyze three libraries libgcrypt, mbedTLS, and wolfSSL using two microarchitecture side-channels. For the libgcrypt case we target its EdDSA implementation using Curve25519 twist curve. We obtain similar results for mbedTLS and wolfSSL with curve secp256r1. For each library we execute extensive attack instances being able to recover the complete scalar in all cases using a single trace. In this work demonstrate that microarchitecture online template attacks are also very powerful in this scenario, recovering secret information without knowing a leakage model. This highlights the importance of developing secure-by-default implementations, instead of fix-on-demand ones.

READ FULL TEXT
research
03/13/2022

Power-Based Side-Channel Attack for AES Key Extraction on the ATMega328 Microcontroller

We demonstrate the extraction of an AES secret key from flash memory on ...
research
07/07/2020

Cryptanalysis of Quantum Secure Direct Communication Protocol with Mutual Authentication Based on Single Photons and Bell States

Recently, Yan et al. proposed a quantum secure direct communication (QSD...
research
01/05/2022

Clustering versus Statistical Analysis for SCA: when Machine Learning is Better

Evaluation of the resistance of implemented cryptographic algorithms aga...
research
12/04/2020

Dragonblood is Still Leaking: Practical Cache-based Side-Channel in the Wild

Recently, the Dragonblood attacks have attracted new interests on the se...
research
08/02/2020

SCNet: A Neural Network for Automated Side-Channel Attack

The side-channel attack is an attack method based on the information gai...
research
10/21/2022

Virtual Triggering: a Technique to Segment Cryptographic Processes in Side Channel Traces

Side-Channel Attacks (SCAs) exploit data correla-tion in signals leaked ...
research
03/08/2021

A Hole in the Ladder: Interleaved Variables in Iterative Conditional Branching (Extended Version)

The iterative conditional branchings appear in various sensitive algorit...

Please sign up or login with your details

Forgot password? Click here to reset