@article{Albrecht_Deo_Paterson_2018, title={Cold Boot Attacks on Ring and Module LWE Keys Under the NTT}, volume={2018}, url={https://tches.iacr.org/index.php/TCHES/article/view/7273}, DOI={10.13154/tches.v2018.i3.173-213}, abstractNote={<p>In this work, we consider the ring- and module- variants of the LWE problem and investigate cold boot attacks on cryptographic schemes based on these problems, wherein an attacker is faced with the problem of recovering a scheme’s secret key from a noisy version of that key. The leakage resilience of cryptography based on the learning with errors (LWE) problem has been studied before, but there are only limited results considering the parameters observed in cold boot attack scenarios. There are two main encodings for storing ring- and module-LWE keys, and, as we show, the performance of cold boot attacks can be highly sensitive to the exact encoding used. The first encoding stores polynomial coefficients directly in memory. The second encoding performs a number theoretic transform (NTT) before storing the key, a commonly used method leading to more efficient implementations. We first give estimates for a cold boot attack complexity on the first encoding method based on standard algorithms; this analysis confirms that this encoding method is vulnerable to cold boot attacks only at very low bit-flip rates. We then show that, for the second encoding method, the structure introduced by using an NTT is exploitable in the cold boot setting: we develop a bespoke attack strategy that is much cheaper than our estimates for the first encoding when considering module-LWE keys. For example, at a 1% bit-flip rate (which corresponds roughly to what can be achieved in practice for cold boot attacks when applying cooling), a cold boot attack on Kyber KEM parameters has a cost of 2<sup>43</sup> operations when the second, NTT-based encoding is used for key storage, compared to 2<sup>70</sup> operations with the first encoding. On the other hand, in the case of the ring-LWE-based KEM, New Hope, the cold boot attack complexities are similar for both encoding methods.</p>}, number={3}, journal={IACR Transactions on Cryptographic Hardware and Embedded Systems}, author={Albrecht, Martin R. and Deo, Amit and Paterson, Kenneth G.}, year={2018}, month={Aug.}, pages={173–213} }