-
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
Secure Socket Layer (SSL) and Trnasport Layer Security (TLS)
CSE598K/CSE545 - Advanced Network Security
- Prof. McDaniel - Spring 2008
1
Secure Socket Layer (SSL) and Trnasport Layer Security (TLS) - - PowerPoint PPT Presentation
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
CSE598K/CSE545 - Advanced Network Security
1
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
2
HTTP FTP SMTP SSL/TLS TCP IP
Note: throughout we will focus on SSLv3. Assume SSLv3 unless stated otherwise.
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
based applications, much more frequently.
3
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
4
Connection Connection Connection Connection Connection Connection
Session
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
5
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
6
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
7
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
8
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
be performed (there are many variants)
number and primitive root (n,r)
key of the server with exchanged random numbers, e.g.,
9
sig(K−
s , [n|g|X = gx mod n]) = Sig(K− s , Rc|Rs|n|g|X)
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
10
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
11
Msk = MD5(pms|SHA(′A′|pms|Rc|Rs))| MD5(pms|SHA(′BB′|pms|Rc|Rs))| MD5(pms|SHA(′CCC′|pms|Rc|Rs)) key block = MD5(Msk|SHA(′A′|Msk|Rc|Rs))| MD5(Msk|SHA(′BB′|Msk|Rc|Rs))| MD5(Msk|SHA(′CCC′|Msk|Rc|Rs))| MD5(Msk|SHA(′DDDD′|Msk|Rc|Rs))| . . .
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
12
Client Write Key Server Write Key Server MAC Key Client MAC Key ... key_block
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
encryption)
13
Original Data
Fragmented Data Fragmented Data Fragmented Data
Compressed Data Compressed Data
M A C
Encrypted Data Encrypted Data
H D R
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
Given: h() = hash function B = input/out byte-length of h K = a secret key padi = inner pad = 0x35 repeated B times pado = outer pad = 0x5C repeated B times text = text to MAC Compute the MAC:
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
security association to be enabled
15
CSE598K/CSE545 - Advanced Network Security - McDaniel Page
16