A statistical verification method of random permutations for hiding countermeasure against side-channel attacks

被引:1
作者
Park, Jong-Yeon [1 ,3 ]
Ju, Jang-Won [1 ]
Lee, Wonil [1 ]
Kang, Bo Gyeong [1 ]
Kachi, Yasuyuki [2 ]
Sakurai, Kouichi [3 ]
机构
[1] Samsung Elect Syst LSI, 1-2 Samsungjeonja Ro, Hwaseong, Gyeonggi Do, South Korea
[2] Univ Aizu, Sch Comp Sci & Engn, Aizu Wakamatsu 9658580, Japan
[3] Kyushu Univ, Fac Informat Sci & Elect Engn, Dept Informat, Fukuoka 8190395, Japan
关键词
Side channel attack; Countermeasure; Shuffling; Hiding method; Random permutation; Post-quantum cryptography; POWER-ANALYSIS; IMPLEMENTATIONS; ALGORITHM;
D O I
10.1016/j.jisa.2024.103797
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Hiding countermeasure is among the best-known secure implementation techniques designed to counteract side-channel attacks. It uses a permutation algorithm to shuffle data. In today's Post-Quantum Cryptography (PQC), hiding countermeasure has earned the limelight for its "shufflability"in lattice-based, and code-based, cryptographic algorithms. In this narrative, most importantly, as a rule, fast generation of permutations is paramount to both efficacy and security of an algorithm. The Fisher-Yates (FY) shuffling method has long been a popular choice for this purpose: the FY method generates randomly shuffled (finite) indices. However, despite its theoretical verity, with the FY method we anticipate the following risks of misuse, which can lead to biased shuffling sequences: (i) incorrect implementation, (ii) poor random source, and (iii) the chosen random number being too small. In this paper, we introduce a new statistical test called "approximate permutation criterion"("APC"). We use it to examine some known cases of misused FY shuffling (i-iii). APC takes into consideration the fact that the super-exponential rate of growth of the factorial function N!, which represents the number of permutations of N indices, defies any meaningful form of statistical tests. With APC one can verify whether the output permutations are biased or not with much lower testing cost. Mathematically, in this paper we introduce the so-called "kth order permutation verification", the underpinning notion upon which APC is based. We also compare APC with full sample space to demonstrate how well it encapsulates the statistical randomness of random permutations. We thereby provide a new method that identifies a bias that exists in the output permutations when implementing FY Shuffling through a visual ratio test and the chi-square (chi(2)) distribution test.
引用
收藏
页数:16
相关论文
共 50 条
[41]   Improving side-channel attacks against pairing-based cryptography [J].
Jauvart, Damien ;
El Mrabet, Nadia ;
Fournier, Jacques J. A. ;
Goubin, Louis .
JOURNAL OF CRYPTOGRAPHIC ENGINEERING, 2020, 10 (01) :1-16
[42]   Guarding Machine Learning Hardware Against Physical Side-channel Attacks [J].
Dubey, Anuj ;
Cammarota, Rosario ;
Suresh, Vikram ;
Aysu, Aydin .
ACM JOURNAL ON EMERGING TECHNOLOGIES IN COMPUTING SYSTEMS, 2022, 18 (03)
[43]   Improving side-channel attacks against pairing-based cryptography [J].
Damien Jauvart ;
Nadia El Mrabet ;
Jacques J. A. Fournier ;
Louis Goubin .
Journal of Cryptographic Engineering, 2020, 10 :1-16
[44]   Shuffling against Side-Channel Attacks: A Comprehensive Study with Cautionary Note [J].
Veyrat-Charvillon, Nicolas ;
Medwed, Marcel ;
Kerckhof, Stephanie ;
Standaert, Francois-Xavier .
ADVANCES IN CRYPTOLOGY - ASIACRYPT 2012, 2012, 7658 :740-757
[45]   FourQ on Embedded Devices with Strong Countermeasures Against Side-Channel Attacks [J].
Liu, Zhe ;
Longa, Patrick ;
Pereira, Geovandro C. C. F. ;
Reparaz, Oscar ;
Seo, Hwajeong .
CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2017, 2017, 10529 :665-686
[46]   Investigating profiled side-channel attacks against the DES key schedule [J].
Heyszl J. ;
Miller K. ;
Unterstein F. ;
Schink M. ;
Wagner A. ;
Gieser H. ;
Freud S. ;
Damm T. ;
Klein D. ;
Kügler D. .
IACR Transactions on Cryptographic Hardware and Embedded Systems, 2020, 2020 (03) :22-72
[47]   Shuffling Based Side-Channel Countermeasure for Energy Harvester [J].
Nozaki, Yusuke ;
Yoshikawa, Masaya .
2018 IEEE 7TH GLOBAL CONFERENCE ON CONSUMER ELECTRONICS (GCCE 2018), 2018, :714-715
[48]   Attacking and Securing the Clock Randomization and Duplication Side-Channel Attack Countermeasure [J].
Brisfors, Martin ;
Moraitis, Michail ;
Landin, Gabriel Klasson ;
Jilborg, Truls .
FOUNDATIONS AND PRACTICE OF SECURITY, PT I, FPS 2023, 2024, 14551 :372-387
[49]   Side-channel attack countermeasure evaluation of cryptographic hardware implementation circuit [J].
Asai, Toshiya ;
Asahi, Kensaku ;
Shiozaki, Mitsuru ;
Fujino, Takeshi ;
Yoshikawa, Masaya .
IEEJ Transactions on Electronics, Information and Systems, 2014, 134 (12) :1767-1774
[50]   Side-channel Analysis and Countermeasure for Implementation of Lattice-based Signature [J].
Fukushima, Kazuhide ;
Okada, Hiroki ;
Takarabt, Sofiane ;
Korchi, Amina ;
Hamoud, Meziane ;
Karray, Khaled ;
Souissy, Youssef ;
Guilley, Sylvain .
SECRYPT : PROCEEDINGS OF THE 19TH INTERNATIONAL CONFERENCE ON SECURITY AND CRYPTOGRAPHY, 2022, :701-706