Docsity

IP Security, Tunnel Modes - Network Security and Cryptography - Lecture Slides, Slides of Cryptography and System Security

Partial preview of the text

Download IP Security, Tunnel Modes - Network Security and Cryptography - Lecture Slides and more Slides Cryptography and System Security in PDF only on Docsity!

Cryptography and

Network Security

Chapter 16

Chapter 16 – IP Security

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

IPSec

 general IP Security mechanisms

 provides

 authentication  confidentiality  key management

 applicable to use over LANs, across public & private WANs, & for the Internet

IPSec Uses

IP Security Architecture

 specification is quite complex

 defined in numerous RFC’s

 incl. RFC 2401/2402/2406/  many others, grouped by category

 mandatory in IPv6, optional in IPv

 have two security header extensions:

 Authentication Header (AH)  Encapsulating Security Payload (ESP)

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

Authentication Header (AH)

 provides support for data integrity & authentication of IP packets  end system/router can authenticate user/app  prevents address spoofing attacks by tracking sequence numbers

 based on use of a MAC

 HMAC-MD5-96 or HMAC-SHA-1-

 parties must share a secret key

Authentication Header

Encapsulating Security Payload

(ESP)

 provides message content confidentiality & limited traffic flow confidentiality  can optionally provide the same authentication services as AH  supports range of ciphers, modes, padding  incl. DES, Triple-DES, RC5, IDEA, CAST etc  CBC & other modes  padding needed to fill blocksize, fields, for traffic flow

Encapsulating Security

Payload

Combining Security

Associations

 SA’s can implement either AH or ESP

 to implement both need to combine SA’s  form a security association bundle  may terminate at different or same endpoints  combined by

  • transport adjacency
  • iterated tunneling

 issue of authentication & encryption order

Combining Security

Associations

Oakley

 a key exchange protocol

 based on Diffie-Hellman key exchange

 adds features to address weaknesses

 cookies, groups (global params), nonces, DH key exchange with authentication

 can use arithmetic in prime fields or elliptic curve fields

ISAKMP

 Internet Security Association and Key Management Protocol

 provides framework for key management

 defines procedures and packet formats to establish, negotiate, modify, & delete SAs

 independent of key exchange protocol, encryption alg, & authentication method