Download Security Protocols: IPSec and SSL with focus on SAs and SSL Sessions and more Study notes Communication in PDF only on Docsity!
Part III: Network Security
ENTS 689i
Lecture 10:
Network Security Protocols
Part III: Outline^ •
November 13 (Today)
• IP Security (IPSec)• Secure Socket Layer (SSL)/Transport Layer
Security (TLS)
• Kerberos• DNS Sec• Network Anonymity• HW Questions
IP Security (IPSec) Overview^ •^
IP Security Protocol Suite
•^
Address security concerns in IP (protocols/mechanisms)
-^
Eavesdropping, session hijacking, spoofing, etc
-^
Implemented at the IP layer
•^
Transparent to applications and end users (transport layer)
-^
Below transport layer (TCP, UDP) / ICMP
-^
Collection of protocols/mechanisms
•^
Confidentiality
-^
Data origin authentication
-^
Message integrity
-^
Access control
-^
Replay detection
IP Security Architecture^ •^
Authentication Header (AH)
•^
Provides support for data integrity and authentication
-^
Encapsulating Security Protocol (ESP)
•^
Provides support for confidentiality (authentication optional)
-^
Security Associations (SA)
•^
One way relationship between sender and receiver (sec parameters)
-^
Traffic related to SAs (Security Policy Database (SPD))
-^
Transport mode
•^
Protection for upper-layer protocols
-^
Tunnel mode
•^
Protection for entire IP datagram
Tunnel Mode^ •
Protection for entire IP datagram
• IP datagram (header + data)
•^
Adds new “outer” IP header
• Original IP datagram intact
•^
Between intermediate nodes (security gateway)
• Firewall to firewall• VPN
Payload
Hdr
Payload
Hdr
IPSec
New Hdr
Tunnel Mode^ Application
Host Transport^ Internet^ Physical
Application
Host Transport^ Internet^ Physical
IP/IPSec^ Physical
Internet Physical
IP/IPSec^ Physical
Router
SecurityGateway
SecurityGateway
Security Policy Database^ •
Security Policy Database (SPD)
• Maps IP traffic to SAs (think firewall rules)• Selectors
- IP and upper layer protocol field values• Destination 10.1.2.3 to 10.1.2.103,port 25, apply IPSec
•^
Dictates how messages are handled
• Discard• Security services (IPSec)• Forwarding• Bypass
Authentication Header (AH)^ •
Security services
-^
Message integrity
•^
Static fields of IP header + IP Payload (Mutable fields?)
-^
Prevents undetected modifications
-^
Data origin authentication
•^
Authenticate user or application
-^
Prevents spoofing attacks
-^
Anti-replay (optional)
•^
Leverages HMAC
-^
Integrity Check Value (ICV)
-^
MD5, SHA-
AH: Anti-replay Service^ •
Replay attack
-^
Attacker retransmits a copy of an authenticated packet
-^
Disrupt service/undesired consequence
•^
Sequence number
-^
Initialized to zero/Incremented for each packet sent on SA (
32
Stallings, William. Cryptography and Network Security
. New Jersey: Pearson, 2003
AH: Transport Mode
Stallings, William. Cryptography and Network Security
. New Jersey: Pearson, 2003
Encapsulating Security Payload^ •
Security Services:
-^
Confidentiality
-^
Traffic flow confidentiality
-^
AH services
•^
Adds both a header and trailer
•^
Authentication does not include IP Header
-^
Authentication happens after encryption
•^
Encryption and authentication algorithms
-^
3DES, RC5, IDEA,3IDEA, CAST, Blowfish
-^
MD5, SHA-
Encapsulating Security Payload
Stallings, William. Cryptography and Network Security
. New Jersey: Pearson, 2003
ESP: Tunnel Mode
Stallings, William. Cryptography and Network Security
. New Jersey: Pearson, 2003
Encypts inner IP packet.Authenticates inner IPpacket.
Encrypts IP datagrampayload. Authenticates IPdatagram payload
but not
IP header.
ESP withauthentication
Encrypts inner IP packet
Encrypts IP datagrampayload
ESP
Authenticates entire innerIP datagram plusimmutable fields of outerIP header
Authenticates IP datagrampayload and immutablefields of IP header
AH
Tunnel Mode
Transport Mode
Protocols and Modes