Title: Transport Layer Security
1Transport Layer Security
- ?????? ????? ???
- ??? ????(????)
2?? ?? TLS Transport Layer Security protocol
- ??? ??? ??????????? ?????? ?????? ??????? ???
????????. - ????????? ????? ?????????? ???/???? ????? ?????
?????? ???? - ?????.
- ????? ????.
- ????? ??????.
3????? ???????? TLS ????? ??????
4?????? ?? TLS
- TLS ????? ?????? ??????? ??? ??? ??????.
- TLS ??? ?????? ??? ????? ????? ?? 128 bit RSA
- TLS ???? ?????? "????" ?????? ??????????
??????? ???? ?????? ???? ????????? ???? ??????
????? ??????.
5?????? ?? TLS
- - Interoperability??????? ????????? ???? ??????
???? ????? ??? ??? ?????? ????? ??? ?? ?????? ???
????? ?????? ??? ??? ?? ??????. - TLS ????? ????? ?????? ?? ??? ????????? ?????
??????? ????? ?????? ?? ???? ??? ???? ?????
????? ??? "?????" . - ?????? ????? ???????? ???????????? ????? ??????
?? ????? (???? ???????) ??? TLS ???? ?????
???????? ??? ???? ?????? ?? ??? ?????? ?????.
6????? ?? TLS
- ????? ??????? ?? ???????? TLS ??? ???? ??????
?????? ???? ??? ??? ????????? ???????? ?????
???? ??????. - ????????? ????? ???? ?????
- TLS record protocol
- TLS handshake protocol
7 TLS record protocol
- TLS record protocol ???? ????? ?????? ?? ????????
?????? ???? (?????? TCP) ?????? ?????? ???????
???? ??? ???????? - ????? ???? ??????????? ??????? ????? ??????
?????? ????? (DES, RC4 ???...) ???? ???? ??????
???? ????? ?????? ??? ?????? ??-??? ???????? TLS
handshake ???? ????? ?????? ?? TLS .
8TLS record protocol-continue
- ????? ???? ????? ?????? ????? ????? ??????
??????? ???? MAC. ????? ????? ??????? ????????
HUSH ???????? ??? SHA , 5MD. - ????????? ???? ????? ?? ??? MAC ???
- ???"? ?? ??????? ?? ?MAC
- ???? ?????? ?? TLS record protocol
- ??? MAC ??? ????? ??????? ??????.
9TLS handshake protocol
- TLS Handshake protocol
- - ????? ????? ????? ???? ????? ????? ????
????? ?????? ?????? ?????? ???????????? ??????
?????? ???? ??? ???? ?????? ???? ?????? (?????
??????).
10TLS handshake protocol-continue
- ????? ?????? ??????? ???? 3 ???????
- 1. ???? ???? ?????? ?? ??? ???? ?-?????? ??
?????? (RSA, DSS ???...). - ????? ????? ?????? ??? ?? ???? ??????? ?? ???
??????? ??? ????? ?????? ??? ????? ?????. ?????
???? ?????? ??? ??? ?????? ?? ????? ????? ???. - ????? ???? ????? ?????? ?? ????? ??? ????? ??
??? ???? ??????.
11TLS handshake protocol-continue
- ???? ??? ????? ??????? ?????? ???? ????? ??
??????? ?? ???? ????????? ???????? ?? ????????
??????????. - ????? ?????? ?????? ???? ?? ??? ?????? ?"? ?????
????? ?????? ?????? ???? ??????.
12TLS handshake protocol-continue
13TLS handshake protocol-continue
- ???? ????? ?? ????? ClientHello ???? ???? ????
????? ????? ServerHello ???? ???? ????? ?????
??????? ?? ?????? ????. - ?????? ?? ??????? ???????? ?????
- Protocol Version
- Session ID
- CipherSuite
- Compression Method
- random values are generated 2 ?????? ?? ????/????
????? ????????.
14TLS handshake protocol-continue
- ??? ??? ??? ???? ????? ?????.
- ?????????? ??? ???? ???? ServerKeyExchange
????? ?? ???????? Diffie-Hellman. - ???? ?? ???????? ??????? ????? ?????? ???? ???
??? ?????.
15TLS ??? ??????
16Man in the middle
- Use public private key
- A-gtB hello
- B-gtA Hi, I'm Bob, bobs-public-key
- A-gtB prove it,
- B-gtA Alice, This Is bob
digestAlice, This Is Bob - bobs-private-key
This is not secure
17Man in the middle
- Use public private key
- A-gtB hello
- B-gtA Hi, I'm Bob, bobs-certificate
- A-gtB Hi, I'm Bob, bobs-public-key
- B-gtA Alice, This Is bob
digestAlice, This Is Bob - bobs-private-key
18Man in the middle
- Alice -gtBob random message
- Bob-gtAlice E(compute digest )
- Alice compute digest to random message, compare
to Bobs message - Man in the middle couldnt get the original
message from the digest.
19Man in the middle
- Also MIM would tackle difficult trying to find a
different message with the same digest value
(digital signature) - While using MAC key as autentification MIM cant
do damage like in the "???? ????? "
20TLS handshake protocol-continue
- TLS handshake protocol ???? ????? ??-??????????
?????? ????? ???? ??????? ???????? ????? ??????
????? ???????? ?? ??????, ???? ?? ???? ?????? ??
?????? ??? ????. - ??????????? ?????? ????? ?? "???? ????????" ??
TLS record protocol ??????? ?? ??????? ?????
21TLS handshake protocol-continue
- - ???? ??? - ???? ???? ??? ????????????
??????. - - ???????? ????? - ???? ?? ???????? ??????
- ?? ???? ??? .
- - ???????? ????? - ???? ?? ????????
- ?????? ?? ???? ???.
22??? ???? ?????????
- ???? ?????
- ??? ?????? ?-TLS ??? ????? ??????? ?? TLS record
protocol. - ???? ??????? ?? ???? ????????? ??????? ?? ??
??????? ???????? ????? ??????? ?????? ???????
????????? ??????, ???????? ??????, ?????????
?-MAC . - ???????? ?? ??????????? ?????? ????
- Bulk encryption key, MAC secret
23??? ???? ?????????-????
- ????? ???? ?????? 4 ???? ?????
- ??? ????? ?????
- ??? ????? ?????
- ??? ??? ????? ?????
- ??? ????? ?????
24??? ???? ?????????-????
- ???????????? ?????? ?? ?????? ???????? ????? ??
???TLS handshake protocol ????????? ?? ??
???? ????? ??????? ???? ??? ????? ???? ?????. - ????? ?? "????" ???? ?????? ?? ??? ???? ??????
?????? ????? ???? ?????? ?????? ???? ???.
25???? ???? ?????? ?? TLS ????? ????? ??? ?
???? ??? ????
26???? ???? ?????? ?? TLS ????? ????? ??? ?
???????? ???????
27???? ???? ?????? ?? TLS ????? ????? ??? ?
(Advanced????? ??????? ?????(
28???? ???? ?????? ?? TLS ????? ????? ??? ?
TLS" ??? V?? ???? " ?????
29( Thanks )