TY - JOUR
T1 - A method for constructing sliding windows leak from noisy cache timing information
AU - Ueno, Rei
AU - Takahashi, Junko
AU - Hayashi, Yu-Ichi
AU - Homma, Naofumi
N1 - Funding Information:
This research has been supported by JSPS KAKENHI Grants No. 17H00729, No. 19H21526, and 20K19765.
Publisher Copyright:
© 2020, The Author(s).
PY - 2021/6
Y1 - 2021/6
N2 - This paper presents a method for constructing an operation sequence of sliding window exponentiation from the noisy cache information of RSA, which can be used for a cache attack using sliding windows leak (SWL). An SWL attack can retrieve the secret keys of RSA with non-negligible probability if the SWL is correctly captured. However, in practice, it is not always possible for an attacker to acquire a complete and correct operation sequence from cache information observation. In this paper, we first show that the capture errors in an operation sequence can be evaluated based on the Levenshtein distance between correct and estimated sequences. The dynamic time warping algorithm is employed for quantitative evaluation. Then, we present a method of accurately estimating a complete and correct operation sequence from noisy sequences obtained through multiple observations. Furthermore, we show the effectiveness of the proposed method through a set of experiments performed using RSA software in Libgcrypt. As a result, we can identify the correct operation sequence from approximately 100 observations of cache traces.
AB - This paper presents a method for constructing an operation sequence of sliding window exponentiation from the noisy cache information of RSA, which can be used for a cache attack using sliding windows leak (SWL). An SWL attack can retrieve the secret keys of RSA with non-negligible probability if the SWL is correctly captured. However, in practice, it is not always possible for an attacker to acquire a complete and correct operation sequence from cache information observation. In this paper, we first show that the capture errors in an operation sequence can be evaluated based on the Levenshtein distance between correct and estimated sequences. The dynamic time warping algorithm is employed for quantitative evaluation. Then, we present a method of accurately estimating a complete and correct operation sequence from noisy sequences obtained through multiple observations. Furthermore, we show the effectiveness of the proposed method through a set of experiments performed using RSA software in Libgcrypt. As a result, we can identify the correct operation sequence from approximately 100 observations of cache traces.
KW - Cache attack
KW - Flush + Reload
KW - Libgcrypt
KW - RSA
KW - Sliding windows exponentiation
UR - http://www.scopus.com/inward/record.url?scp=85086397113&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85086397113&partnerID=8YFLogxK
U2 - 10.1007/s13389-020-00230-x
DO - 10.1007/s13389-020-00230-x
M3 - Article
AN - SCOPUS:85086397113
SN - 2190-8508
VL - 11
SP - 161
EP - 170
JO - Journal of Cryptographic Engineering
JF - Journal of Cryptographic Engineering
IS - 2
ER -