Power Side-Channel Vulnerability Assessment of LightWeight Cryptographic Scheme, XOODYAK
Anupam Golder*, Debayan Das†, Santosh Ghosh†, Avinash Varna†, Majid Sabbagh†, Sayak Ray†, Rana Elnaggar†, Joseph Friel†, Daniel Dinu†, Jason Fung†
*Georgia Institute of Technology
†Intel Corporation
Outline
Outline
Overview of XOODYAK
J. Daemen et al, 2020, Xoodyak, a lightweight cryptographic scheme
Overview of XOODYAK: Decryption
Outline
Trace Collection
R. Elnaggar et. al, DTTC 2021, OPAL: On-the-go Physical Attack Lab to Evaluate Power Side-channel Vulnerabilities on FPGAs
Outline
Non-Profiled SCA: t-Test
Non-Profiled SCA: Known Key Correlation
3-bit Leakage Model
Computationally
Infeasible for CPA
Round 1 Update
(Point of Attack)
Round 12
Update
Computationally Infeasible for CPA
Non-Profiled SCA: INITIALIZE phase
Linear Layers
Non-Linear Layer
Equivalent Operation
Linear
Layer
Non-Profiled SCA: CPA of INITIALIZE phase
Non-Profiled SCA: CPA of INITIALIZE phase
Success Rate = 118/128=92% @20K
# of measurements to disclosure (MTD) = ~13K
~20K
Non-Profiled SCA: ABSORB phase
Linear Layers
Non-Linear Layer
Actual Hardware Implementation
Equivalent Operation
Non-Profiled SCA: CPA of ABSORB phase
Non-Profiled SCA: CPA of ABSORB phase
Column Number 1
Hypothesis = 9 (0b001001)
Hypothesis = 49 (0b110001)
Secret Intermediate = (Hypothesis & 0b111) = 1
Non-Profiled SCA: CPA of ABSORB phase
MTD = ~38K
Success Rate = 82% @90K
~90K
Outline
Profiled SCA
Profiling Phase
Data
Trigger
Power Trace | Label |
| 0 |
| 5 |
| |
| 3 |
Trace
Train
.
.
.
0
1
7
.
.
.
.
.
.
.
.
.
.
.
.
Profiled SCA
Attack Phase
Data
Trigger
Trace
Trained Model
Test
.
.
.
0
1
7
.
.
.
.
.
.
.
.
.
.
.
5
Profiled SCA: 1-D CNN model
G. Zaid et al., CHES2020, Methodology for Efficient CNN Architectures in Profiling Attacks
Profiled SCA: Rank Computation
Power Trace | L0=0 | … | L7=7 |
tr1 | p1[0] | … | p1[7] |
tr2 | p2[0] | … | p2[7] |
| | | |
trN | pN[0] | … | pN[7] |
Power Trace | h0 | … | h63 |
tr1 | p1[4] | … | p1[2] |
tr2 | p2[0] | … | p2[2] |
| | | |
trN | p1[7] | … | pN[1] |
g0
g63
g9
max
Probability Scores
From Model Predictions
Hypothesis Candidates
Label for Hypothesis and Known Data
Product of Probability Scores
Profiled SCA: ABSORB phase
Outline
Summary
Q & A