Lecture 11 - IPSec
Lecture 11 - IPSec
Lecture 11 - IPSec
Lecture 11
1
OUTLINE
2
IP SECURITY
The IP security (IPSec) is an Internet Engineering Task
Force (IETF) standard suite of protocols between 2
communication points across the IP network
3
USES OF IP SECURITY
•To encrypt application layer data.
4
TCP/IP EXAMPLE
5
IPv4 HEADER
6
IPv6 HEADER
7
IP SECURITY OVERVIEW
• IPSec is not a single protocol.
• Instead, IPSec provides a set of security algorithms
plus a general framework that allows a pair of
communicating entities to use whichever algorithms to
provide security appropriate for the communication.
• Applications of IPSec
– Secure branch office connectivity over the Internet
– Secure remote access over the Internet
– Establishing intranet connectivity with partners
– Enhancing electronic commerce security
8
IP SECURITY SCENARIO
9
IP SECURITY OVERVIEW
• Benefits of IPSec
• Transparent to applications below transport layer (TCP, UDP)
• Provide security for individual users
10
IP SECURITY DOCUMENTS
• IPSec documents: NEW updates in 2005!
• RFC 2401: Security Architecture for the Internet Protocol. S. Kent, R.
Atkinson. November 1998. (An overview of security architecture) RFC 4301
(12/2005)
• RFC 2402: IP Authentication Header. S. Kent, R. Atkinson. November 1998.
(Description of a packet encryption extension to IPv4 and IPv6) RFC 4302
(12/2005)
• RFC 2406: IP Encapsulating Security Payload (ESP). S. Kent, R. Atkinson.
November 1998. (Description of a packet emcryption extension to IPv4 and
IPv6) RFC 4303 (12/2005)
• RFC2407 The Internet IP Security Domain of Interpretation for ISAKMP D.
Piper. November 1998. PROPOSED STANDARD. (Obsoleted by RFC4306)
• RFC 2408: Internet Security Association and Key Management Protocol
(ISAKMP). D. Maughan, M. Schertler, M. Schneider, J. Turner. November
1998. (Specification of key managament capabilities) (Obsoleted by RFC4306)
• RFC2409 The Internet Key Exchange (IKE) D. Harkins, D. Carrel. November
1998. PROPOSED STANDARD. (Obsoleted by RFC4306, Updated by
RFC4109)
11
IP SECURITY DOCUMENT OVERVIEW
DOI (Domain of
Interpretation): DOI
is the identifier that
supports both AH
and ESP protocols.
It contains values
needed for
documentation
related to each
other.
12
IP SECURITY SERVICES
• Access Control
• Connectionless integrity
• Data origin authentication
• Rejection of replayed packets
• Confidentiality (encryption)
• Limited traffic flow confidentiallity
13
SECURITY ASSOCIATIONS (SA)
14
IP SECURITY ARCHITECTURE
• Internet Key Exchange (IKE)
A method for establishing a security association (SA) that
authenticates users, negotiates the encryption method
and exchanges the secret key. IKE is used in the IPsec
protocol. Derived from the ISAKMP framework for key
exchange and the Oakley and SKEME key exchange
techniques, IKE uses public key cryptography to provide the
secure transmission of the secret key to the recipient so that
the encrypted data may be decrypted at the other end.
15
SECURITY ASSOCIATION (SA)
16
BEFORE APPLYING AH
17
TRANSPORT MODE: AH AUTHENTICATION
18
TUNNEL MODE: AH AUTHENTICATION
19
SECURITY ASSOCIATION (SA)
20
AUTHENTICATION HEADER
21
END TO END VS END TO INTERMEDIATE AUTHENTICATION
22
ENCAPSULATION SECURITY PAYLOAD
• ESP provides confidentiality services
23
ENCRYPTION AND AUTHENTICATION ALGORITHMS
• Encryption:
• Three-key triple DES
• RC5
• IDEA
• Three-key triple IDEA
• CAST
• Blowfish
• Authentication:
• HMAC-MD5-96
• HMAC-SHA-1-96
24
ESP ENCRYPTION AND AUTHENTICATION
25
ESP ENCRYPTION AND AUTHENTICATION
26
COMBINATIONS OF SECURITY ASSOCIATIONS
27
COMBINATIONS OF SECURITY ASSOCIATIONS
28
COMBINATIONS OF SECURITY ASSOCIATIONS
29
COMBINATIONS OF SECURITY ASSOCIATIONS
30
KEY MANAGEMENT
• Two types:
• Manual
Problem: poor scalability
• Automated
• Internet Key Exchange, IKE
31
EVOLUTION OF IKE
33
OAKLEY
Diffie-Hellman Algorithm has some weaknesses:
34
DIFFERENCE BETWEEN IPSEC & SSL
IPSec SSL
IPsec has a pre-shared key. SSL does not have a pre-shared Key.
35
Thank You
36