Skip to main content
QUICK REVIEW

[Paper Review] Machine-Learning Side-Channel Attacks on the GALACTICS Constant-Time Implementation of BLISS

Soundes Marzougui, Nils Wisiol|arXiv (Cornell University)|Sep 20, 2021
Cryptography and Data SecurityComputer Science25 references10 citations
TL;DR

This paper presents three machine learning-based side-channel attacks on GALACTICS, the constant-time implementation of the BLISS post-quantum signature scheme. By profiling power traces from a Cortex-M4, the authors train classifiers to predict sensitive internal values—particularly from the Gaussian sampler and sign-flip operations—enabling full secret key recovery in under a minute using as few as 320 signatures.

ABSTRACT

Due to the advancing development of quantum computers, practical attacks on conventional public-key cryptography may become feasible in the next few decades. To address this risk, post-quantum schemes that are secure against quantum attacks are being developed. Lattice-based algorithms are promising replacements for conventional schemes, with BLISS being one of the earliest post-quantum signature schemes in this family. However, required subroutines such as Gaussian sampling have been demonstrated to be a risk for the security of BLISS, since implementing Gaussian sampling both efficient and secure with respect to physical attacks is highly challenging. This paper presents three related power side-channel attacks on GALACTICS, the latest constant-time implementation of BLISS. All attacks are based on leakages we identified in the Gaussian sampling and signing algorithm of GALACTICS. To run the attack, a profiling phase on a device identical to the device under attack is required to train machine learning classifiers. In the attack phase, the leakages of GALACTICS enable the trained classifiers to predict sensitive internal information with high accuracy, paving the road for three different key recovery attacks. We demonstrate the leakages by running GALACTICS on a Cortex-M4 and provide proof-of-concept data and implementation for all our attacks.

Motivation & Objective

  • To investigate the security of GALACTICS, a constant-time implementation of the BLISS post-quantum signature scheme, against side-channel attacks.
  • To identify exploitable power consumption leakages in the Gaussian sampling and signing processes of GALACTICS.
  • To demonstrate that machine learning can effectively predict internal secret values from side-channel traces, even in constant-time implementations.
  • To develop and validate three distinct key recovery attacks based on different leakage sources in the implementation.
  • To evaluate the feasibility of countermeasures such as masking against these machine learning-driven side-channel attacks.

Proposed method

  • Trained machine learning classifiers on power traces collected during cryptographic operations on a Cortex-M4 device.
  • Identified four exploitable leakages: CDT sampling, Bernoulli rejection, sign flipping in Gaussian sampling, and sign flipping during signature generation.
  • Used profiling phase to train models on identical devices, then applied them in the attack phase to predict internal values with high accuracy.
  • Constructed a system of linear equations from predicted values to recover the secret key via kernel computation.
  • Applied gradient ascent to maximize log-likelihood of secret key candidates based on predicted sign flip indicators.
  • Demonstrated key recovery using 320 signatures (attack 1), 2000 signatures (attack 2), and 250,000 signatures (attack 3), with full key recovery in under a minute.

Experimental results

Research questions

  • RQ1Can machine learning classifiers trained on power traces predict internal values in the GALACTICS implementation with high accuracy?
  • RQ2Can these predictions be used to mount full secret key recovery attacks despite constant-time implementation?
  • RQ3Does the absence of leakage from the Gaussian sampler still allow key recovery if other operations leak?
  • RQ4How does the number of required signatures scale across different attack variants based on leakage sources?
  • RQ5Can masking techniques mitigate these machine learning-based side-channel attacks?

Key findings

  • Full secret key recovery was achieved in under one minute using only 320 power traces from the GALACTICS implementation.
  • The attack based on Bernoulli rejection leakage required approximately 2000 signatures for full key recovery.
  • A third attack recovered the secret key using only sign flip leakages, requiring approximately 250,000 signatures.
  • Partial key recovery of 504 coefficients was achieved with 150,000 signatures, enabling brute-force recovery of the remainder.
  • The study demonstrates that constant-time implementations are not sufficient to prevent machine learning-based side-channel attacks if internal operations leak through power consumption.
  • The authors show that even when the Gaussian sampler does not leak, the sign-flip operation alone can be exploited for key recovery.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.