Provable Security Meets the Real World Kenny Paterson
Information Security Group
1
Kenny Paterson Information Security Group 1 Outline RSA encryption - - PowerPoint PPT Presentation
Provable Security Meets the Real World Kenny Paterson Information Security Group 1 Outline RSA encryption in PKCS#1 The SSH Binary Packet Protocol IPsec MAC-then-Encrypt Lessons learned? 2 Outline RSA encryption in PKCS#1
1
2
3
4
5
Padding block Data block 00 02 00
6
7
8
9
10
11
12
13
14
15
16
CINS/F1-01
17
CINS/F1-01
18
CINS/F1-01
Payload Ciphertext MAC tag Sequence Number
4
Packet Length
4
Pad Len 1 Padding ≥4
19
20
CINS/F1-01
21
22
23
*
’
24
*
’
25
*
’
MAC tag
26
*
’
’ = IV ⊕ dK(Ci *).
’.
MAC tag
27
*
’
’, the attacker can now recover 32 bits
* = Ci-1 * ⊕ dK(Ci *) = Ci-1 * ⊕ IV ⊕ P0 ’
*
*
*
28
29
30
32
33
34
35
36
37
38
39
ESP trlr ESP auth
SPI, seqno
40
41
42
AH
Len, SPI, seq#, MAC
43
44
45
46
ESP trailer
47
48
49
50
51
52
ESP trlr
SPI, seqno
53
54
ESP trlr
SPI, seqno
55
ESP trlr
SPI, seqno
56
ESP trlr
SPI, seqno
57
58
59
60
61