Chapter 9 - IP Security

Class: CSCE-465-63860


IP Security Overview

Applications of IPSec

Examples include:

image.png307x356

Benefits of IPSec

IPsec Documents

IPsec Services

Table 9.1 - Tunnel Mode and Transport Mode Functionality

Transport Mode SA Tunnel Mode SA
AH Authenticates IP payload and selected portions of IP header and IPv6 extension headers (Not recommended - deprecated). Authenticates entire inner IP packet (inner header plus IP payload) plus selected portions of outer IP header and outer IPv6 extension headers.
ESP Encrypts IP payload and any IPv6 extension headers following the ESP header. Encrypts entire inner IP packet.
ESP with Authentication Encrypts IP payload and any IPv6 extension headers following the ESP header. Authenticates IP payload but not IP header. Encrypts enture inner IP packet. Authenticates inner IP packet.

image-1.png459

Security Association (SA)

Security Association Database (SAD)

Security Policy Database (SPD)

SPD Entries

Table 9.2 Host SPD Example:

image-2.png417

image-3.png335x372

Prevention of Replay Attacks

image-4.png415x171

Virtual Private Networks (VPN)

Combining Security Associations

Secure Key Establishment

Key Management in IPSec

ISAKMP/OAKLEY

IKE Genealogy

image-5.png439

Features of IKE Key Determination

Algorithm is characterized by five important features:

  1. It employs a mechanism known as cookies to thwart clogging attacks (recipient to make useless work)
  2. It enables the two parties to negotiate a group; this, in essence, specifies the global parameters of the Diffie-Hellman key exchange
  3. It uses nonces to ensure against replay attacks
  4. It enables the exchange of Diffie-Hellman public key values
  5. It authenticates the Diffie-Hellman exchange to thwart man-in-the- middle-attacks

IKE Overview

IKEv2: Phase One:
image-6.png398

IKEv2: Phase Two (Create Child-SA):
image-7.png399x253

IKE Payload Types

image-8.png399x303

Cryptographic Suites for IPSec

https://wiki.strongswan.org/projects/strongswan/wiki/IKEv2CipherSuites

NIST SP on IPSec

OpenVPN Alternative

Summary