Side-Channel Analysis of the Random Number Generator in STM32 MCUs

Kalle Ngo, Elena Dubrova

Proceedings of the Great Lakes Symposium on VLSI 2022 · 2022 · 10 citations · 12 references

DOIFull text

Open access

Concepts

Abstract

The hardware random number generator (RNG) integrated in STM32 MCUs is intended to ensure that the numbers it generates cannot be guessed with a probability higher than a random guess. The RNG is based on several ring oscillators whose outputs are combined and post-processed to produce a 32-bit random number per round of computation. In this paper, we show that it is possible to train a neural network capable of recovering the Hamming weight of these random numbers from power traces with a higher than 60% probability. This is a 4-fold improvement over the 14% probability of the most likely Hamming weight.

References

12