Download - Chapter 6
![Page 1: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/1.jpg)
Henric Johnson 1
Chapter 6Chapter 6
IP Security
Henric Johnson
Blekinge Institute of Technology, Sweden
http://www.its.bth.se/staff/hjo/
![Page 2: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/2.jpg)
Henric Johnson 2
OutlineOutline
• Internetworking and Internet Protocols (Appendix 6A)
• IP Security Overview• IP Security Architecture• Authentication Header• Encapsulating Security Payload• Combinations of Security Associations• Key Management
![Page 3: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/3.jpg)
Henric Johnson 3
TCP/IP ExampleTCP/IP Example
![Page 4: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/4.jpg)
Henric Johnson 4
IPv4 HeaderIPv4 Header
![Page 5: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/5.jpg)
Henric Johnson 5
IPv6 HeaderIPv6 Header
![Page 6: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/6.jpg)
Henric Johnson 6
IP Security OverviewIP 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 provide security appropriate for the communication.
![Page 7: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/7.jpg)
Henric Johnson 7
IP Security OverviewIP Security Overview
• Applications of IPSec– Secure branch office connectivity over
the Internet– Secure remote access over the
Internet– Establsihing extranet and intranet
connectivity with partners– Enhancing electronic commerce
security
![Page 8: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/8.jpg)
Henric Johnson 8
IP Security ScenarioIP Security Scenario
![Page 9: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/9.jpg)
Henric Johnson 9
IP Security OverviewIP Security Overview
• Benefits of IPSec– Transparent to applications (below transport
layer (TCP, UDP)– Provide security for individual users
• IPSec can assure that:– A router or neighbor advertisement comes
from an authorized router– A redirect message comes from the router
to which the initial packet was sent– A routing update is not forged
![Page 10: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/10.jpg)
Henric Johnson 10
IP Security ArchitectureIP Security Architecture
• IPSec documents:– RFC 2401: An overview of security
architecture– RFC 2402: Description of a packet
encryption extension to IPv4 and IPv6– RFC 2406: Description of a packet
emcryption extension to IPv4 and IPv6– RFC 2408: Specification of key
managament capabilities
![Page 11: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/11.jpg)
Henric Johnson 11
IPSec Document IPSec Document OverviewOverview
![Page 12: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/12.jpg)
Henric Johnson 12
IPSec ServicesIPSec Services
• Access Control• Connectionless integrity• Data origin authentication• Rejection of replayed packets• Confidentiality (encryption)• Limited traffic flow confidentiallity
![Page 13: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/13.jpg)
Henric Johnson 13
Security Associations Security Associations (SA)(SA)
• A one way relationsship between a sender and a receiver.
• Identified by three parameters:– Security Parameter Index (SPI)– IP Destination address– Security Protocol Identifier
![Page 14: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/14.jpg)
Henric Johnson 14
Transport Mode SA
Tunnel Mode SA
AH Authenticates IP payload and selected portions of IP header and IPv6 extension headers
Authenticates entire inner IP packet plus selected portions of outer IP header
ESP Encrypts IP payload and any IPv6 extesion header
Encrypts inner IP packet
ESP with authentication
Encrypts IP payload and any IPv6 extesion header. Authenticates IP payload but no IP header
Encrypts inner IP packet. Authenticates inner IP packet.
![Page 15: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/15.jpg)
Henric Johnson 15
Before applying AHBefore applying AH
![Page 16: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/16.jpg)
Henric Johnson 16
Transport Mode (AH Transport Mode (AH Authentication)Authentication)
![Page 17: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/17.jpg)
Henric Johnson 17
Tunnel Mode (AH Tunnel Mode (AH Authentication)Authentication)
![Page 18: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/18.jpg)
Henric Johnson 18
Authentication HeaderAuthentication Header
• Provides support for data integrity and authentication (MAC code) of IP packets.
• Guards against replay attacks.
![Page 19: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/19.jpg)
Henric Johnson 19
End-to-end versus End-End-to-end versus End-to-Intermediate to-Intermediate AuthenticationAuthentication
![Page 20: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/20.jpg)
Henric Johnson 20
Encapsulating Security Encapsulating Security PayloadPayload
• ESP provides confidentiality services
![Page 21: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/21.jpg)
Henric Johnson 21
Encryption and Encryption and Authentication Authentication
AlgorithmsAlgorithms• Encryption:
– Three-key triple DES– RC5– IDEA– Three-key triple IDEA– CAST– Blowfish
• Authentication:– HMAC-MD5-96– HMAC-SHA-1-96
![Page 22: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/22.jpg)
Henric Johnson 22
ESP Encryption and ESP Encryption and AuthenticationAuthentication
![Page 23: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/23.jpg)
Henric Johnson 23
ESP Encryption and ESP Encryption and AuthenticationAuthentication
![Page 24: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/24.jpg)
Henric Johnson 24
Combinations of Combinations of Security AssociationsSecurity Associations
![Page 25: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/25.jpg)
Henric Johnson 25
Combinations of Combinations of Security AssociationsSecurity Associations
![Page 26: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/26.jpg)
Henric Johnson 26
Combinations of Combinations of Security AssociationsSecurity Associations
![Page 27: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/27.jpg)
Henric Johnson 27
Combinations of Combinations of Security AssociationsSecurity Associations
![Page 28: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/28.jpg)
Henric Johnson 28
Key ManagementKey Management
• Two types:– Manual– Automated
• Oakley Key Determination Protocol• Internet Security Association and Key
Management Protocol (ISAKMP)
![Page 29: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/29.jpg)
Henric Johnson 29
OakleyOakley
• Three authentication methods:– Digital signatures– Public-key encryption– Symmetric-key encryption
![Page 30: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/30.jpg)
Henric Johnson 30
ISAKMPISAKMP
![Page 31: Chapter 6](https://reader036.vdocument.in/reader036/viewer/2022081515/56812ce2550346895d91a6cf/html5/thumbnails/31.jpg)
Henric Johnson 31
Recommended ReadingRecommended Reading
• Comer, D. Internetworking with TCP/IP, Volume I: Principles, Protocols and Architecture. Prentic Hall, 1995
• Stevens, W. TCP/IP Illustrated, Volume 1: The Protocols. Addison-Wesley, 1994