Published April 29, 2021 | Version v1
Dataset Open

Magnifying Side-Channel Leakage of Lattice-Based Cryptosystems with Chosen Ciphertexts: The Case Study of Kyber (Dataset)

  • 1. Beihang University
  • 2. University of Birminghan

Description

This repository contains data to reproduce results from the paper "Magnifying Side-Channel Leakage of Lattice-Based Cryptosystems with Chosen Ciphertexts: The Case Study of Kyber."

Abstract

In this paper, we propose EM side-channel attacks with carefully constructed ciphertext on Kyber, a lattice-based key encapsulation mechanism, which is a candidate of NIST Post-Quantum Cryptography standardization project. We demonstrate that specially chosen ciphertexts allow an adversary to modulate the leakage of a target device and enable full key extraction with a small number of traces through simple power analysis. Compared to prior research, our techniques require a lower number of traces and avoid the need for template attacks. We practically evaluate our methods using both a clean reference implementation of Kyber and the ARM-optimized pqm4 library. For the reference implementation, we target the leakage of the output of the inverse NTT computation and recover the full key with only four traces. For the pqm4 implementation, we develop a message-recovery attack that leads to extraction of the full secret-key with between eight and 960 traces (or 184 traces for recovering 98% of the secret-key), depending on the compiler optimization level. We discuss the relevance of our findings to other lattice-based schemes and explore potential countermeasures.

Files

kyber-sca.zip

Files (2.3 GB)

Name Size Download all
md5:e28298a9a45d7e494077bee955b37a7a
2.3 GB Preview Download

Additional details

Related works

Is supplement to
10.5281/zenodo.3979188 (DOI)

Funding

European Commission
FutureTPM - Future Proofing the Connected World: A Quantum-Resistant Trusted Platform Module 779391