Docsity

IP Security: AH and ESP for Data Confidentiality and Integrity, Slides of Cryptography and System Security

Partial preview of the text

Download IP Security: AH and ESP for Data Confidentiality and Integrity and more Slides Cryptography and System Security in PDF only on Docsity!

Chapter 16 โ€“ IP Security

If a secret piece of news is divulged by a spy before the time is ripe, he must be put todeath, together with the man to whom thesecret was told. โ€” The Art of War , Sun Tzu

IP Security

๏ƒ˜ have a range of application specificsecurity mechanisms ๏ฌ eg. S/MIME, PGP, Kerberos, SSL/HTTPS ๏ƒ˜ however there are security concerns thatcut across protocol layers ๏ƒ˜ would like security implemented by thenetwork for all applications

IPSec Uses

Benefits of IPSec

๏ƒ˜ in a firewall/router provides strong securityto all traffic crossing the perimeter ๏ƒ˜ in a firewall/router is resistant to bypass ๏ƒ˜ is below transport layer, hence transparentto applications ๏ƒ˜ can be transparent to end users ๏ƒ˜ can provide security for individual users ๏ƒ˜ secures routing architecture

IPSec Services

๏ƒ˜ Access control ๏ƒ˜ Connectionless integrity ๏ƒ˜ Data origin authentication ๏ƒ˜ Rejection of replayed packets ๏ฌ a form of partial sequence integrity ๏ƒ˜ Confidentiality (encryption) ๏ƒ˜ Limited traffic flow confidentiality

Security Associations

๏ƒ˜ a one-way relationship between sender &receiver that affords security for traffic flow ๏ƒ˜ defined by 3 parameters: ๏ฌ Security Parameters Index (SPI) ๏ฌ IP Destination Address ๏ฌ Security Protocol Identifier ๏ƒ˜ has a number of other parameters ๏ฌ seq no, AH & EH info, lifetime etc ๏ƒ˜ have a database of Security Associations

Authentication Header

Transport & Tunnel Modes

Encapsulating Security

Payload

Transport vs Tunnel Mode

ESP

๏ƒ˜ transport mode is used to encrypt &optionally authenticate IP data ๏ฌ data protected but header left in clear ๏ฌ can do traffic analysis but is efficient ๏ฌ good for ESP host to host traffic ๏ƒ˜ tunnel mode encrypts entire IP packet ๏ฌ add new header for next hop ๏ฌ good for VPNs, gateway to gateway security

Combining Security

Associations

Key Management

๏ƒ˜ handles key generation & distribution ๏ƒ˜ typically need 2 pairs of keys ๏ฌ 2 per direction for AH & ESP ๏ƒ˜ manual key management ๏ฌ sysadmin manually configures every system ๏ƒ˜ automated key management ๏ฌ automated system for on demand creation ofkeys for SAโ€™s in large systems ๏ฌ has Oakley & ISAKMP elements

ISAKMP

๏ƒ˜ Internet Security Association and KeyManagement Protocol ๏ƒ˜ provides framework for key management ๏ƒ˜ defines procedures and packet formats toestablish, negotiate, modify, & delete SAs ๏ƒ˜ independent of key exchange protocol,encryption alg, & authentication method

ISAKMP