### Analyzing the Shuffling Side-Channel Countermeasure for Lattice-Based Signatures

Peter Pessl

##### Abstract

Implementation security for lattice-based cryptography is still a vastly unexplored field. At CHES 2016, the very first side-channel attack on a lattice-based signature scheme was presented. Later, shuffling was proposed as an inexpensive means to protect the Gaussian sampling component against such attacks. However, the concrete effectiveness of this countermeasure has never been evaluated. We change that by presenting an in-depth analysis of the shuffling countermeasure. Our analysis consists of two main parts. First, we perform a side-channel attack on a Gaussian sampler implementation. We combine templates with a recovery of data-dependent branches, which are inherent to samplers. We show that an adversary can realistically recover some samples with very high confidence. Second, we present a new attack against the shuffling countermeasure in context of Gaussian sampling and lattice-based signatures. We do not attack the shuffling algorithm as such, but exploit differing distributions of certain variables. We give a broad analysis of our attack by considering multiple modeled SCA adversaries. We show that a simple version of shuffling is not an effective countermeasure. With our attack, a profiled SCA adversary can recover the key by observing only 7000 signatures. A second version of this countermeasure, which uses Gaussian convolution in conjunction with shuffling twice, can increase side-channel security and the number of required signatures significantly. Here, roughly 285000 observations are needed for a successful attack. Yet, this number is still practical.

Available format(s)
Category
Implementation
Publication info
Published elsewhere. MINOR revision.Indocrypt 2016
DOI
10.1007/978-3-319-49890-4
Keywords
Lattice-Based CryptographyBLISSSide-Channel AnalysisCountermeasures
Contact author(s)
peter pessl @ iaik tugraz at
History
Short URL
https://ia.cr/2017/033

CC BY

BibTeX

@misc{cryptoeprint:2017/033,
author = {Peter Pessl},
title = {Analyzing the Shuffling Side-Channel Countermeasure for Lattice-Based Signatures},
howpublished = {Cryptology ePrint Archive, Paper 2017/033},
year = {2017},
doi = {10.1007/978-3-319-49890-4},
note = {\url{https://eprint.iacr.org/2017/033}},
url = {https://eprint.iacr.org/2017/033}
}

Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.