The Rocky Road to The Rocky Road to
Hanno Böck https://hboeck.de @hanno
1
The Rocky Road to The Rocky Road to Hanno Bck https://hboeck.de - - PowerPoint PPT Presentation
The Rocky Road to The Rocky Road to Hanno Bck https://hboeck.de @hanno 1 Transport Layer Security Transport Layer Security A protocol to create an encrypted and authenticated layer around other protocols 2 TLS 1.3 was published in
1
2
3
4
5
6
7
8
C C S C C S C C S
9
10
block cipher encryption Key Ciphertext Plaintext block cipher encryption Key Ciphertext Plaintext block cipher encryption Key Ciphertext Plaintext Initialization Vector (IV)
WhiteTimberwolf, Wikimedia Commons, Public Domain
11
12
13
14
15
block cipher decryption Key Plaintext Ciphertext Initialization Vector (IV) block cipher decryption Key Plaintext Ciphertext
Attacker wants to decrypt Attacker manipulates / XOR with guess ?== 00 -> padding valid
16
block cipher decryption Key Plaintext Ciphertext Initialization Vector (IV) block cipher decryption Key Plaintext Ciphertext
Attacker knows Attacker manipulates to 01 Attacker wants to know Attacker manipulates to guess 01 ?== 01 01 -> padding valid
17
Vaudenay, 2002
18
19
20
21
Canvel et al, 2003
22
23
AlFardan, Paterson 2013
24
25
Möller et al, 2014
26
Langley, 2014
27
Albrecht, Paterson, 2015
28
Somorovsky, 2016
29
30
31
32
33
Bleichenbacher, 1998
34
00 | 02 | [random] | 00 | 03 | 03 | [secret]
35
36
37
38
39
40
Klima et al, 2003
41
Meyer et al, 2014
42
Aviram et al, 2016
43
Böck, Somorovsky, Young, 2017
44
Ronen et al, 2018
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Watch 33C3 talk
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
if (client_max_version < server_max_version) { connection_version = client_max_version; } else { connection_version = server_max_version; }
94
95
96
97
98
99
100
101
102
Guanaco, Wikimedia Commons, CC0
103
104
105
Image: Petar Milošević, CC by 4.0
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
MiNe, Wikimedia Commons, CC by 2.0
132
133
134
135
136
137
Checkoway et al, 2014
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
BITS/TLS list
155
Kenny Paterson
156
Kenny Paterson
157
158
159
160
161
162
163 . 1
163 . 2
163 . 3
163 . 4
163 . 5
163 . 6
163 . 7
163 . 8
163 . 9
163 . 10
163 . 11
163 . 12
163 . 13
163 . 14
163 . 15
163 . 16
163 . 17
163 . 18
163 . 19
163 . 20
163 . 21
163 . 22
163 . 23
163 . 24
164
165
166
167
168