Cycle-Accurate Power Side-Channel Analysis Using the ChipWhisperer: a Case Study on Gaussian Sampling
Cycle-accurate power side-channel methodology on ChipWhisperer/STM32F4, applied to leakage in the Sign-Flip step of Gaussian sampling used in PQ schemes.
Schemes: ChipWhisperer, STM32F4, Gaussian sampling (Sign-Flip)
Findings (quotes checked against the source text)
-
Cycle-level overlay of power traces with assembly exposes leakage sources, enabling evaluation of new implementations on STM32F4.
This methodology allows to expose the sources of leakage on a processor cycle scale, which allows for evaluating new implementations.
-
Default ChipWhisperer STM32F4 configuration includes wait cycles rarely used in practice, which affect power side-channel leakage.
It also exposes that the default ChipWhisperer configuration for STM32F4 targets used in prior work includes wait cycles that are rarely used in real-world applications, but affect power side-channel leakage.
-
Unmasked Gaussian-sampling-based schemes on STM32F4 cannot be secure against power side-channel attacks.
Our findings allow the conclusion that unmasked cryptographic implementations of schemes based on Gaussian random numbers for STM32F4 cannot be secure against power side-channel, and that masking just the Gaussian sampler is not a viable option.
For builders
Treat Gaussian samplers in lattice schemes as a side-channel risk on embedded targets, and mask or redesign the whole sampling path rather than only the sampler.
Limits
Based on the ePrint abstract only; the full text was not read. Results are specific to STM32F4 with ChipWhisperer and to the Sign-Flip function.
Topics: implementation-sidechannel benchmarks