New MILP Modeling: Improved Conditional Cube Attacks on Keccak-Based Constructions
Ling Song, Jian Guo, Danping Shi, San Ling 4 Dec 2018 @ Brisbane, Australia
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 1 / 25
New MILP Modeling: Improved Conditional Cube Attacks on Keccak-Based - - PowerPoint PPT Presentation
New MILP Modeling: Improved Conditional Cube Attacks on Keccak-Based Constructions Ling Song, Jian Guo, Danping Shi, San Ling 4 Dec 2018 @ Brisbane, Australia Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 1 / 25
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 1 / 25
1
2
3
4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 2 / 25
Introduction
1
2
3
4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 3 / 25
Introduction Keyed Keccak Constructions
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 3 / 25
Introduction Keyed Keccak Constructions
b 25-bit lanes, A[x, y]
http://www.iacr.org/authors/tikz/ Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 4 / 25
Introduction Keyed Keccak Constructions
http://keccak.noekeon.org/
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 5 / 25
Introduction Keyed Keccak Constructions
http://keccak.noekeon.org/
0,4 0,3 0,2 0,1 0,0 1,4 1,3 1,2 1,1 1,0 2,4 2,3 2,2 2,1 2,0 3,4 3,3 3,2 3,1 3,0 4,4 4,3 4,2 4,1 4,0
π
0,0 0,1 0,2 0,3 0,4 1,0 1,1 1,2 1,3 1,4 2,0 2,1 2,2 2,3 2,4 3,0 3,1 3,2 3,3 3,4 4,0 4,1 4,2 4,3 4,4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 6 / 25
Introduction Keyed Keccak Constructions
x0 x1 x2 x3 x4 y0 y1 y2 y3 y4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 7 / 25
Introduction Keyed Keccak Constructions
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 8 / 25
Introduction Keyed Keccak Constructions
r c f f f f f ... pad ⌊⋅⌋ L
absorbing squeezing N||S K M||L||00 pad pad
f pad K||Nonce σ0 f ... ... f0 pad K||Nonce f1 Z0 r ⌊⋅⌋ρ pad ... ... f Z0 M0 σ1 ... ... r f1 pad M0 pad ... ... σ0 σj f1
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 9 / 25
Introduction Our Contributions
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 10 / 25
Introduction Our Contributions
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 10 / 25
Introduction Our Contributions
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 10 / 25
Conditional Cube Attacks
1
2
3
4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 11 / 25
Conditional Cube Attacks
(vi1,...,vid)∈CI
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 11 / 25
Conditional Cube Attacks
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 12 / 25
Conditional Cube Attacks
1
1 (2n 2
2
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 13 / 25
Conditional Cube Attacks
1
1 (2n 2
2
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 13 / 25
Conditional Cube Attacks
1
2
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 13 / 25
MILP Model for Searching Cubes
1
2
3
4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 14 / 25
MILP Model for Searching Cubes
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 14 / 25
MILP Model for Searching Cubes
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 15 / 25
MILP Model for Searching Cubes
1
2
3
4
5
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 16 / 25
MILP Model for Searching Cubes
1
2
3
4
5
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 16 / 25
MILP Model for Searching Cubes
π◦ρ◦θ
χ
π◦ρ◦θ
χ
π◦ρ◦θ
χ
π◦ρ◦θ
χ
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 17 / 25
MILP Model for Searching Cubes
1
2
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 18 / 25
MILP Model for Searching Cubes
1
2
c x1 x2 c ⊕ x1 · x2
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 18 / 25
MILP Model for Searching Cubes
1
2
c x1 x2 c ⊕ x1 · x2 x0 c x2 1 x0 ⊕ c · x2 c x2 1 ⊕ x0 · c
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 18 / 25
MILP Model for Searching Cubes
1Omit coordinates [y][z].
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 19 / 25
MILP Model for Searching Cubes
1Omit coordinates [y][z].
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 19 / 25
MILP Model for Searching Cubes
1Omit coordinates [y][z].
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 19 / 25
MILP Model for Searching Cubes
1Omit coordinates [y][z].
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 19 / 25
MILP Model for Searching Cubes
1Omit coordinates [y][z].
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 19 / 25
MILP Model for Searching Cubes
1Omit coordinates [y][z].
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 19 / 25
MILP Model for Searching Cubes
B x B x 1 B x 2 V x 1 V x 2 H x 1 H x 2 C x * * * * 1 * * * * 1 1 * * 1 1 1 1 * 1 1 * 1 1 * * 1 1 1 * 1 1 * 1 1 1 1 * * 1 1 1 1 * * 1
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 20 / 25
MILP Model for Searching Cubes
B[x] B[x + 1] B[x + 2] V[x + 1] V[x + 2] H[x + 1] H[x + 2] C[x] * * * * 1 * * * * 1 1 * * 1 1 1 1 * 1 1 * 1 1 * * 1 1 1 * 1 1 * 1 1 1 1 * * 1 1 1 1 * * 1
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 20 / 25
MILP Model for Searching Cubes
−B[x] − B[x + 1] ≥ −1 −B[x] + C[x] ≥ 0 −B[x + 2] − V[x + 2] ≥ −1 −B[x + 1] − V[x + 1] ≥ −1 −B[x] − B[x + 1] − H[x + 2] + C[x] ≥ −1 B[x] − V[x + 1] − H[x + 1] − C[x] ≥ −2 B[x] − V[x + 2] + H[x + 2] − C[x] ≥ −1 B[x] + B[x + 1] + B[x + 2] − C[x] ≥ 0 −B[x + 1] − B[x + 2] + V[x + 1] + V[x + 2] + C[x] ≥ 0 −B[x + 1] − B[x + 2] + V[x + 2] + H[x + 1] + C[x] ≥ 0
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 21 / 25
MILP Model for Searching Cubes
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 22 / 25
MILP Model for Searching Cubes
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 22 / 25
Main Results
1
2
3
4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 23 / 25
Main Results
NR: nonce-respected Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 23 / 25
Main Results
† auxCube: cube-attack-like cryptanalysis Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 24 / 25
Main Results
1
2
3
4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 25 / 25
Main Results
1
2
3
4
Song et al. Improved Conditional Cube Attacks on Keccak-Based Constructions 25 / 25