Advanced IPSec Algorithms and Protocols

Similar documents
INFS 766 Internet Security Protocols. Lectures 7 and 8 IPSEC. Prof. Ravi Sandhu IPSEC ROADMAP

Virtual Private Network

Outline. Key Management. Security Principles. Security Principles (Cont d) Escrow Foilage Protection

Outline. Key Management. CSCI 454/554 Computer and Network Security. Key Management

CSCI 454/554 Computer and Network Security. Topic 8.2 Internet Key Management

IPsec (AH, ESP), IKE. Guevara Noubir CSG254: Network Security

CSC/ECE 574 Computer and Network Security. Outline. Key Management. Key Management. Internet Key Management. Why do we need Internet key management

Outline. CSC/ECE 574 Computer and Network Security. Key Management. Security Principles. Security Principles (Cont d) Internet Key Management

CIS 6930/4930 Computer and Network Security. Topic 8.2 Internet Key Management

IP Security IK2218/EP2120

Table of Contents 1 IKE 1-1

Configuring Internet Key Exchange Security Protocol

Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall 2010

Junos Security. Chapter 8: IPsec VPNs Juniper Networks, Inc. All rights reserved. Worldwide Education Services

Cisco Live /11/2016

IP Security Discussion Raise with IPv6. Security Architecture for IP (IPsec) Which Layer for Security? Agenda. L97 - IPsec.

Secure channel, VPN and IPsec. stole some slides from Merike Kaeo

IP Security II. Overview

Internet Engineering Task Force Mark Baugher(Cisco) Expires: April, 2003 October, 2002

CSC Network Security

Chapter 11 The IPSec Security Architecture for the Internet Protocol

VPN, IPsec and TLS. stole slides from Merike Kaeo apricot2017 1

A-B I N D E X. backbone networks, fault tolerance, 174

Advanced IKEv2 Protocol Jay Young, CCIE - Technical Leader, Services. Session: BRKSEC-3001

Sample excerpt. Virtual Private Networks. Contents

show crypto group summary, page 1 show crypto ikev2-ikesa security-associations summary spi, page 2

IPSec Network Applications

Internet security and privacy

Cryptography and Network Security Chapter 16. Fourth Edition by William Stallings

Index. Numerics 3DES (triple data encryption standard), 21

The IPSec Security Architecture for the Internet Protocol

IPSec. Slides by Vitaly Shmatikov UT Austin. slide 1

CSC Network Security

Protocols, Technologies and Standards Secure network protocols for the OSI stack P2.1 WLAN Security WPA, WPA2, IEEE i, IEEE 802.1X P2.

IKE and Load Balancing

IPsec NAT Transparency

CSCE 715: Network Systems Security

Network Security - ISA 656 IPsec IPsec Key Management (IKE)

IPSec Guide. ISAKMP & IKE Formats

CONTENTS. vii. Chapter 1 TCP/IP Overview 1. Chapter 2 Symmetric-Key Cryptography 33. Acknowledgements

Chapter 6. IP Security. Dr. BHARGAVI H. GOSWAMI Department of Computer Science Christ University

IPsec NAT Transparency

Configuring Security for VPNs with IPsec

VPN Overview. VPN Types

IPSec. Overview. Overview. Levente Buttyán

L13. Reviews. Rocky K. C. Chang, April 10, 2015

Virtual Private Networks

Securing Networks with Cisco Routers and Switches

VPNs and VPN Technologies

Some optimizations can be done because of this selection of supported features. Those optimizations are specifically pointed out below.

Network Security: IPsec. Tuomas Aura

The EN-4000 in Virtual Private Networks

Configuration of an IPSec VPN Server on RV130 and RV130W

IPsec and ISAKMP. About Tunneling, IPsec, and ISAKMP

Chapter 5: Network Layer Security

IPsec and ISAKMP. About Tunneling, IPsec, and ISAKMP

The Internet community has developed application-specific security mechanisms in a number of application areas, including electronic mail (S/MIME,

L2TP Over IPsec Between Windows 2000 and VPN 3000 Concentrator Using Digital Certificates Configuration Example

NCP Secure Enterprise macos Client Release Notes

Chapter 6/8. IP Security

IPsec and ISAKMP. About Tunneling, IPsec, and ISAKMP

Configuring IPsec and ISAKMP

Numerics I N D E X. 3DES (Triple Data Encryption Standard), 48

Set Up a Remote Access Tunnel (Client to Gateway) for VPN Clients on RV016, RV042, RV042G and RV082 VPN Routers

CIS 6930/4930 Computer and Network Security. Final exam review

IP Security. Have a range of application specific security mechanisms

Configuration of Shrew VPN Client on RV042, RV042G and RV082 VPN Routers through Windows

CLEARPASS CONFIGURING IPsec TUNNELS

This version of the des Secure Enterprise MAC Client can be used on Mac OS X 10.7 Lion platform.

8. Network Layer Contents

Lecture 33. Firewalls. Firewall Locations in the Network. Castle and Moat Analogy. Firewall Types. Firewall: Illustration. Security April 15, 2005

Int ernet w orking. Internet Security. Literature: Forouzan: TCP/IP Protocol Suite : Ch 28

Crypto Templates. Crypto Template Parameters

Release Notes. NCP Secure Enterprise Mac Client. 1. New Features and Enhancements. 2. Improvements / Problems Resolved. 3.

NCP Secure Client Juniper Edition (Win32/64) Release Notes

Data Sheet. NCP Secure Entry Mac Client. Next Generation Network Access Technology

NCP Secure Entry macos Client Release Notes

IPsec and Secure VPNs

Lecture 12 Page 1. Lecture 12 Page 3

COSC4377. Chapter 8 roadmap

Glenda Whitbeck Global Computing Security Architect Spirit AeroSystems

Lecture 9: Network Level Security IPSec

Implementing Internet Key Exchange Security Protocol

Lecture 13 Page 1. Lecture 13 Page 3

NCP Secure Client Juniper Edition Release Notes

BCA III Network security and Cryptography Examination-2016 Model Paper 1

Data Sheet. NCP Exclusive Remote Access Mac Client. Next Generation Network Access Technology

Computer Networks. Wenzhong Li. Nanjing University

Advanced IKEv2 Protocol

VPN World. MENOG 16 Istanbul-Turkey. By Ziad Zubidah Network Security Specialist

Network Security: IPsec. Tuomas Aura T Network security Aalto University, Nov-Dec 2014

CSC 6575: Internet Security Fall 2017

Security for VPNs with IPsec Configuration Guide, Cisco IOS XE Release 3S

iii PPTP... 7 L2TP/IPsec... 7 Pre-shared keys (L2TP/IPsec)... 8 X.509 certificates (L2TP/IPsec)... 8 IPsec Architecture... 11

VPN and IPsec. Network Administration Using Linux. Virtual Private Network and IPSec 04/2009

Configuring LAN-to-LAN IPsec VPNs

Release Notes. NCP Secure Enterprise Mac Client. 1. New Features and Enhancements. 2. Improvements / Problems Resolved. 3.

Data Sheet. NCP Secure Enterprise macos Client. Next Generation Network Access Technology

Overview of the IPsec Features

IPSec Transform Set Configuration Mode Commands

Transcription:

1 Advanced IPSec Algorithms and Protocols Session Saadat Malik Copyright Printed in USA. 2

Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 3 Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 4 Copyright Printed in USA.

IPSec Composition IPSec Combines Three Main Protocols into a Cohesive Security Framework IKE Provides Framework for the Negotiation of Security Parameters and Establishment of Authenticated Keys ESP Provides Framework for the Encrypting, Authenticating and Securing Data AH Provides Framework for the Authenticating and Securing Data 5 What Is IKE? IKE (Internet Key Exchange) (RFC 249) Is a Hybrid Protocol SKEME Mechanism for Utilizing Public Key Encryption for Authentication Oakley Modes-Based Mechanism for Arriving at an Encryption Key between Two Peers ISAKMP Architecture for Message Exchange Including Packet Formats and State Transitions between Two Peers 6 Copyright Printed in USA.

Why IKE? IKE solves the problems of manual and unscalable implementation of IPSec by automating the entire key exchange process Negotiation of SA characteristics Automatic key generation Automatic key refresh Manageable manual configuration 7 How Does IKE Work? IKE Is a TWO Phase Protocol Phase 1 Exchange Peers Negotiate a Secure, Authenticated Channel with which to Communicate Main Mode or Aggressive Mode Accomplish a Phase I Exchange Phase 2 Exchange Security Associations Are Negotiated on Behalf of IPSec Services; Quick Mode Accomplishes a Phase II Exchange 8 Copyright Printed in USA.

How Does IKE Work? Phase I SA (ISAKMP SA) Main Mode (6 Messages) Aggressive Mode (3 Messages) New IPSec Tunnel or Rekey Phase II SA (IPSec SA) Quick Mode Phase II SA (IPSec SA) Quick Mode A Protected Data B C Protected Data D 9 Presentation Flow Main Mode (First 4 Messages) Pre-Shared Key Authentication (Last 2 Messages of Main Mode) Digital Signature Authentication (Last 2 Messages of Main Mode) Quick Mode (3 Messages) 1 Copyright Printed in USA.

IKE Phase 1 (Main Mode): Preparation for Sending Message 1 and 2 Goal: Negotiation of IKE SA Parameters Generation of Initiator Cookie A 8 Byte Pseudo-Random Number Used for Anti-Clogging CKY-I = md5{(src_ip, dest_ip), Random Number} Generation of Responder Cookie A 8 Byte Pseudo-Random Number Used for Anti-Clogging CKY-R = md5{(src_ip, dest_ip), Random Number} 11 IKE Phase 1 (Main Mode): Sending Message 1 The Initiator Proposes a Set of Attributes to Base the SA on Initiator Responder Initiator Cookie (Calculated and Inserted Here) SA Next Payload Next Payload Next Payload Next Payload Responder Cookie (Left for Now) Version 1 1 Message ID Total Message SA Payload SA Payload (Includes DOI and Situation) Proposal Payload Proposal Payload 1 Proposal Payload Proposal Payload 1 Transform Payload Transform Payload Exchange Flags 1 Transform Payload Transform Payload DOI Identifies the Exchange To Be Occurring to Setup IPSec SPI = For All Phase 1 Messages Includes Proposal #, Protocol ID, SPI Size, # of Transforms, SPI (Two Proposals Shown Here) Includes Transform #, Transform ID, SA Attributes, For Example, DES, MD5, DH 1, Pre Share, Timeout (Two Transform Sets Shown Here) 12 Copyright Printed in USA.

IKE Phase 1 (Main Mode): Sending Message 2 The Responder Sends Back the One Set of Attributes Acceptable to It Initiator Responder Next Payload Initiator Cookie (Same as Before) Responder Cookie (Calculated and Inserted Here) SA Version 1 1 Message ID Total Message Exchange Next Payload 1 SA Payload SA Payload (Includes DOI and Situation) Proposal Payload Proposal Payload (Includes Proposal #, Protocol ID, SPI Size, # of Transforms, SPI) Transform Payload Flags Transform Payload (Includes Transform #, Transform ID, SA Attributes) DOI Identifies the Exchange To Be Occurring to Setup IPSec PROTO_ISAKMP, SPI = for All Phase 1 Messages KEY_OAKLEY = type DES, MD5, DH 1 Pre-Share 13 IKE Phase 1 (Main Mode): Preparation for Sending Message 3 and 4 Goal: Exchange of Information Required for Key Generation Using DH Exchange Generation of DH Public Value by Initiator DH Public Value = X a X a = g a mod p Where g Is the Generator and p a Large Prime Number and a Is a Private Secret Known Only to the Initiator Generation of DH Public Value by Responder DH Public Value = X b X b = g b mod p Where g Is the Generator and p a Large Prime Number and b Is a Private Secret Known Only to the Responder 14 Copyright Printed in USA.

IKE Phase 1 (Main Mode): Preparation for Sending Message 3 and 4 Generation of a Nonce by Initiator Nonce Is a Very Large Random Number Initiator Nonce = N i Generation of a Nonce by Responder Nonce Is a Very Large Random Number Responder Nonce = N r 15 IKE Phase 1 (Main Mode): Sending Message 3 The Initiator Sends Its DH Public Value X a and Nonce N i Initiator Responder Initiator Cookie (Same as Before) Responder Cookie (Same as Before) Next Payload Version Exchange Flags Message ID Total Message Next Payload KE Payload KE Payload (Includes DH Public Value) Nonce Payload Nonce Payload (Includes Nonce) DH Public Value = X a Nonce = N i 16 Copyright Printed in USA.

IKE Phase 1 (Main Mode): Sending Message 4 The Responder Sends Its DH Public Value X b and Nonce N r Initiator Responder Initiator Cookie (Same as Before) Responder Cookie (Same as Before) Next Payload Version Exchange Flags Message ID Total Message Next Payload KE Payload KE Payload (Includes DH Public Value) Nonce Payload Nonce Payload (Includes Nonce) DH Public Value = X b Nonce = N r 17 IKE Phase 1 (Main Mode): Preparation for Sending Message 5 and 6 Goal: Exchange of Authentication Information Using DH Calculation of the Shared DH Secret by Initiator Shared Secret = (X b ) a mod p (X b ) a mod p = (X a ) b mod p = g ab Calculation of the Shared DH Secret by Responder Shared Secret = (X a ) b mod p 18 Copyright Printed in USA.

Presentation Flow Main Mode (First 4 Messages) Pre-Shared Key Authentication (Last 2 Messages of Main Mode) Quick Mode (3 Messages) 19 IKE Phase 1 (Main Mode): (Pre-Shared Keys) Preparation for Sending Message 5 and 6 Calculation of Three Keys (Initiator) SKEYID_d Used to Calculate Subsequent IPSec Keying Material SKEYID_a Used to Provide Data integrity and Authentication to IKE Messages SKEYID_e Used to Encrypt IKE Messages SKEYID = PRF (Pre-Shared Key, N i N r ) PRF = A Pseudo Random Function Based on the Negotiated Hash SKEYID_d = PRF (SKEYID, g ab CKY-I CKY-R ) SKEYID_a = PRF (SKEYID, SKEYID_d g ab CKY-I CKY-R 1) SKEYID_e = PRF (SKEYID, SKEYID_a g ab CKY-I CKY-R 2) 2 Copyright Printed in USA.

IKE Phase 1 (Main Mode): (Pre-Shared Keys) Preparation for Sending Message 5 and 6 Calculation of Three Keys (Responder) SKEYID_d Used to Calculate Subsequent IPSec Keying Material SKEYID_a Used to Provide Data integrity and Authentication to IKE Messages SKEYID_e Used to Encrypt IKE Messages SKEYID = PRF (Pre-Shared Key, N i N r ) SKEYID_d = PRF (SKEYID, g ab CKY-I CKY-R ) SKEYID_a = PRF (SKEYID, SKEYID_d g ab CKY-I CKY-R 1) SKEYID_e = PRF (SKEYID, SKEYID_a g ab CKY-I CKY-R 2) 21 IKE Phase 1 (Main Mode): (Pre-Shared Keys) Sending Message 5 The Initiator Sends Its Authentication Material and ID Initiator Responder SKEYID_e Initiator Cookie (Same as Before) Responder Cookie (Same as Before) Next Payload Version Exchange Flags Message ID Total Message Next Payload Identity Payload ID Type DOI Specific ID Data Identity Payload Hash Payload Hash Payload Identification of Initiator (ID_I) Such as Host Name or IP Address Hash_I = PRF (SKEYID, CKY-I, CKY-R, Pre-shared Key (PK-I), SA Payload, Proposals+Transforms, ID_I) 22 Copyright Printed in USA.

IKE Phase 1 (Main Mode): (Pre-Shared Keys) Sending Message 6 The Responder Sends Its Authentication Material and ID Initiator Responder SKEYID_e Initiator Cookie (Same as Before) Responder Cookie (Same as Before) Next Payload Version Exchange Flags Message ID Total Message Next Payload Identity Payload ID Type DOI Specific ID Data Identity Payload Hash Payload Hash Payload Identification of Responder (ID_R) Such as Host Name or IP Address Hash_R = PRF (SKEYID, CKY-I, CKY-R, Pre-Shared Key (PK-R), SA Payload, Proposals+Transforms, ID_R) 23 IKE Phase 1 (Main Mode): Completion of Phase 1 Initiator Authenticates the Responder 1. Decrypt message using SKEYID_E 2. Find configured PK-R using ID_R 3. Calculate Hash_R on it s own 4. If received Hash_R = self-generated Hash_R then authentication = successful!! Responder Authenticates the Initiator 1. Decrypt message using SKEYID_E 2. Find configured PK-I using ID_I 3. Calculate Hash_I on it s own 4. If received Hash_I = self-generated Hash_I then authentication = successful!! ISAKMP SA Established! 24 Copyright Printed in USA.

Presentation Flow Main Mode (First 4 Messages) Digital Signature Authentication (Last 2 Messages of Main Mode) Quick Mode (3 Messages) 25 IKE Phase 1 (Main Mode): (Digital Signatures) Preparation for Sending Message 5 and 6 Calculation of Three Keys (Initiator) SKEYID_d Used to Calculate Subsequent IPSec Keying Material SKEYID_a Used to Provide Data Integrity and Authentication to IKE Messages SKEYID_e Used to Encrypt IKE Messages SKEYID = PRF (N i N r g ab ) SKEYID_d = PRF (SKEYID, g ab CKY-I CKY-R ) SKEYID_a = PRF (SKEYID, SKEYID_d g ab CKY-I CKY-R 1) SKEYID_e = PRF (SKEYID, SKEYID_a g ab CKY-I CKY-R 2) 26 Copyright Printed in USA.

IKE Phase 1 (Main Mode): (Digital Signatures) Preparation for Sending Message 5 and 6 Calculation of Three Keys (Responder) SKEYID_d Used to Calculate Subsequent IPSec Keying Material SKEYID_a Used to Provide Data Integrity and Authentication to IKE Messages SKEYID_e Used to Encrypt IKE Messages SKEYID = PRF (N i N r g ab ) SKEYID_d = PRF (SKEYID, g ab CKY-I CKY-R ) SKEYID_a = PRF (SKEYID, SKEYID_d g ab CKY-I CKY-R 1) SKEYID_e = PRF (SKEYID, SKEYID_a g ab CKY-I CKY-R 2) 27 IKE Phase 1 (Main Mode): (Digital Signatures) Sending Message 5 The Initiator Sends Its Authentication Material and ID Initiator Responder SKEYID_e Initiator Cookie (Same as Before) Responder Cookie (Same as Before) KE Version Exchange Flags Message ID Total Message Next Payload Identity Payload ID Type DOI Specific ID Data Identity Payload Next Payload Signature Payload Signature Data Certificate Payload Certificate Encoding Certificate Data Certificate Data Identification of Responder (ID_I) Such as Host Name or IP Address Signature = Hash_I Encrypted with Priv_I = Priv_I {PRF (SKEYID, CKY-I, CKY-R, SA Payload, Proposals+Transforms, ID_I)} 28 Copyright Printed in USA.

IKE Phase 1 (Main Mode): (Digital Signatures) Sending Message 6 The Responder Sends Its Authentication Material and ID Initiator Responder SKEYID_e Initiator Cookie (Same as Before) Responder Cookie (Same as Before) KE Version Exchange Flags Message ID Total Message Next Payload Identity Payload ID Type DOI Specific ID Data Identity Payload Next Payload Signature Payload Signature Data Certificate Payload Certificate Encoding Certificate Data Certificate Data Identification of Responder (ID_I) Such as Host Name or IP Address Signature = Hash_I Encrypted with Priv_I = Priv_I {PRF (SKEYID, CKY-I, CKY-R, SA Payload, Proposals+Transforms, ID_I)} 29 IKE Phase 1 (Main Mode): (Digital Signatures) Completion of Phase 1 Initiator Authenticates the Responder 1. Decrypt message using SKEYID_E 2. Decrypt Hash_R using Pub_R 3. Calculate Hash_R on its own 4. If received Hash_R = self-generated Hash_R then authentication = successful!! Responder Authenticates the Initiator 1. Decrypt message using SKEYID_E ISAKMP SA Established! 2. Decrypt Hash_I using Pub_I 3. Calculate Hash_I on its own 4. If received Hash_I = self-generated Hash_I then authentication = successful!! 3 Copyright Printed in USA.

IKE Phase 1 (Quick Mode): Preparation for Sending Message 1 and 2 Goal: Negotiation of IPSec SA Execution of DH by Initiator Again to Ensure PFS New Nonce Generated: Ni New DH Public Value = X a X a = g a mod p Where g Is the Generator and p a Large Prime Number and a Is a Private Secret Known Only to the Initiator Execution of DH by Responder Again to Ensure PFS New Nonce Generated: Nr New DH Public Value = X b X b = g b mod p Where g Is the Generator and p a Large Prime Number and b Is a Private Secret Known Only to the Responder 31 IKE Phase 2 (Quick Mode): Sending Message 1 The Initiator Sends Authentication/keying Material and Proposes a Set of Attributes to Base the SA on Initiator Responder KE Initiator Cookie (Same as Before) Responder Cookie (Same as Before) Version Exchange Message ID Total Message Flags 32 Copyright Printed in USA.

IKE Phase 2 (Quick Mode): Sending Message 1 SKEYID_e SA Next Payload Next Payload Next Payload Next Payload Hash Payload Hash Payload SA Payload SA Payload (Includes DOI and Situation) Next Payload Proposal Payload Next Payload Next Payload Next Payload ID Type Proposal Payload Transform Payload Transform Payload Proposal Payload Proposal Payload Transform Payload Transform Payload Keyload Payload KE Payload Nonce Payload Nonce Payload (Ni ) Identity Payload Identity Payload = ID-d DOI Specific ID Data Identity Payload = ID-s Identity Payload ID Type DOI Specific ID Data Hash =PRF (SKEYID_a, Message ID, Ni, Proposals+ Transforms, X a ) Proposal: ESP or AH, SHA or MD5, DH 1 or 2, SPI (Two Proposals Shown Here) Transform: Tunnel or Transport, IPSec Timeout KE Payload = X a ID-s = Source Proxy ID-d = Destination Proxy 33 IKE Phase 2 (Quick Mode): Sending Message 2 The Responder Sends Authentication/Keying Material and Proposes a Set of Attributes to Base the SA on Initiator Responder KE Initiator Cookie (Same as Before) Responder Cookie (Same as Before) Version Exchange Message ID Total Message Flags 34 Copyright Printed in USA.

IKE Phase 2 (Quick Mode): Sending Message 2 SKEYID_e Next Payload Next Payload Next Payload Next Payload Hash Payload Hash Payload SA Payload SA Payload (Includes DOI and Situation) Transform Payload Proposal Payload (Accepted Proposal) Proposal Payload Transform Payload (Accepted Transform) Next Payload KE Payload Next Payload Next Payload ID Type KE Payload Nonce Payload Nonce Payload (Nr ) Identity Payload DOI Specific ID Data Identity Payload = ID-s (Generally Similar to ID-d for Initiator) ID Type Identity Payload DOI Specific ID Data Identity Payload = ID-d (Generally Similar to ID-s for Initiator) Hash = PRF (SKEYID_a, Message ID Ni, Nr, Accepted Proposal+ Transform, X b ) Proposal: with Responder s SPI KE Payload = X b 35 IKE Phase 2 (Quick Mode): Completion of Phase 2 Initiator Generates IPSec Keying Material 1. Generate new DH shared ssecret = (X b ) a mod p 2. IPSec session key = PRF (SKEYID_d, protocol (ISAKMP), new DH shared secret, SPI r, N i, N r ) Responder Generates IPSec Keying Material 1. Generate new DH shared secret = (X a ) b mod p 2. IPSec session key = PRF (SKEYID_d, protocol (ISAKMP), new DH shared secret, SPI i, N i, N r ) 36 Copyright Printed in USA.

IKE Phase 2 (Quick Mode): Sending Message 3 The Initiator Sends across a Proof of Liveness Initiator Responder SKEYID_e KE Initiator Cookie (Same as Before) Responder Cookie (Same as Before) Version Exchange Flags Message ID Total Message Hash Payload Hash Payload Hash = PRF (SKEYID_a, Message ID, N i, N r ) IPSec SA Established! 37 One Page Summary: Pre-Shared Main Mode DES MD5 DH 1 Pre-Share DES SHA DH 2 Pre-Share HDR, SA Proposal HDR, SA choice DES MD5 DH 1 Pre-Share Generate DH Public Value and Nonce HASH I =HMAC(SKEYID, KE I KE R cookie I cookie R SA ID I ) Phase I SA Parameter Negotiation Complete HDR, KE I, Nonce I HDR, KE R, Nonce R DH Key Exchange Complete, Share Secret SKEYID e Derived Nonce Exchange Defeat Replay HDR*, ID I, HASH I HDR*, ID R, HASH R Generate DH Public Value and Nonce HASH R =HMAC(SKEYID, KE R KE I cookie R cookie I SA ID R ) IDs Are Exchanged, HASH Is Verified for Authentication ID and HASH Are Encrypted by Derived Shared Secret 38 Copyright Printed in USA.

One Page Summary: Signatures Main Mode Initiator IKE Responder DES MD5 DH 1 Rsa-sig Generate DH Public Value and Nonce HASH I =HMAC(SKEYID, KE I KE R cookie I cookie R SA ID I ) HDR, SA Proposal Phase I SA Parameter Negotiation Complete HDR, KE I, Nonce I [,cert_req] HDR*, ID I [,cert I ], Signature I HDR, SA choice HDR, KE R, Nonce R [,cert_req] DH Key Exchange Complete, Share Secret Derived Nonce Exchange Defeat Replay, Optional cert_req HDR*, ID R [,cert R ],signature DES MD5 DH 1 Rsa-sig Generate DH Public Value and Nonce HASH R =HMAC(SKEYID, KE R KE I cookie R cookie I SA ID R ) IDs Are Exchanged, Signature Is Verified for Authentication ID and Signature Are Encrypted by Derived Shared Secret DES SHA DH 2 Pre-Share 39 One Page Summary: Quick Mode Initiator IPSec Responder ESP DES SHA PFS 1 HDR*, HASH 1, Sa proposal, Nonce I [,KE I ] [,ID CI,ID CR ] ESP DES SHA PFS 1 HDR*, HASH 2, SA choice, Nonce R, [,KE R ] [,ID CI,ID CR ] HDR*, HASH 3 4 Copyright Printed in USA.

Aggressive Mode Using Pre-Shared Key: A Quick Overview Initiator IKE Responder DES MD5 DH 1 Pre-Share DES MD5 DH 2 Pre-share HDR, SA Proposal, KE I, Nonce I, ID I DES MD5 DH 1 Pre-Share HDR,SA choice, KE R, Nonce R,ID R,HASH R HDR, HASH I Three messages compared to the 6 messages in main mode Group pre-shared key lookup possible for remote access applications Less secure; ID is not protected (except RSA encryption) 41 Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 42 Copyright Printed in USA.

PKI: IKE Authentication Architecture Registration and Certification Issuance Certificate Authority Key Recovery Key Generation Certificate Revocation Certificate Distribution Key Storage Trusted Time Service Support for Non-Repudiation 44 Signature Verification Message Decrypt the Received Signature Signature Decrypt Using Alice s Public Key Signature Message with Appended Signature Message Hash Function Re-Hash the Received Message Alice Hash of Message If Hashes Are Equal, Signature Is Authentic Hash Message 47 Copyright Printed in USA.

Digital Certification Certificate Authority Alice 4 Hash 1 2 Request for CA s Public Key 3 CA Sends Its Public Key 5 Cert Req. Alice Alice.. Message Digest Sign CA s Private Key Bob Trusts Alice s Public Key after Verifies Her Signature Using CA s Public Key Alice 6 Alice.. Convey Trust in Her Public Key 7 Bob (Already Has CA s Public Key) 48 X.59 v3 Certificate Subject Public Key Info Version Serial Number Signature Algorithm ID Issuer (CA) X.5 Name Validity Period Subject X.5 Name Algorithm ID Public Key Value Issuer Unique ID Subject Unique ID Extension CA Digital Signature Signing Algorithm e.g. SHA1withRSA CA s Identity Lifetime of this Cert User s Identity e.g. cn, ou, o User s Public Key (Bound to User s Subject Name) Other User Info e.g. subaltname, CDP Signed by CA s Private Key 5 Copyright Printed in USA.

Simple Certificate Enrollment Protocol (SCEP) A PKI communication protocol that supports secure issuance certificates to network device in a scalable manner Use existing PKCS standards: PKCS #1, RSA algorithms PKCS #7, digital signature, digital envelop PKCS #1, certificate request syntax Uses HTTP as transport for certificate enrollment, access Uses LDAP or HTTP for CRL support 56 SCEP Overview Getting CA s Certificate Get CA/RA Cert: HTTP Request Message Send CA/RA Cert: HTTP Response Message Compute Fingerprint and Call CA Operator Operator Check Fingerprint 57 Copyright Printed in USA.

SCEP Overview Enrollment PKCSReq: PKI Cert. Enrollment Message CertRep: pkistatus = PENDING Compute Fingerprint and Operator Check Fingerprint Call CA Operator CetCertInitial: Polling Message CertRep: pkistatus = GRANTED Certificate Attached 58 Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 59 Copyright Printed in USA.

Message Authentication and Integrity Check Using Hash Message Message Message Hash MAC MAC Insecure Channel MAC? Hash Hash Output Sender Receiver Secret Key Only Known by Sender and Receiver MAC (Message Authentication Code): cryptographic checksum generated by passing data thru a message authentication algorithm MAC is often used for message authentication and integrity check HMAC keyed hashed-based MAC 61 Commonly Used Hash Functions (MD5 and SHA) Message Padding Block1 (512 Bits) Block2 (512 Bits) Block n (512 Bits) Last Block IV H H H H 128 Bits Both MD5 and SHA are derived based on MD4 MD5 provides 128-bit output, SHA provide 16-bit output; (only first 96 bits used in IPSec) Both of MD5 and SHA are considered one-way strongly collision-free hash functions SHA is computationally slower than MD5, but more secure Hash 128 Bits 62 Copyright Printed in USA.

Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 63 Data Encryption Standard (DES) Symmetric key encryption algorithm Block cipher: works on 64-bit data block, use 56-bit key (last bit of each byte used for parity) Mode of operation: how to apply DES to encrypt blocks of data Electronic Code Book (ECB) Cipher Block Chaining (CBC) K-bit Cipher FeedBack (CFB) K-bit Output FeedBack (OFB) 65 Copyright Printed in USA.

DES CBC Mode IV m 1 m 2 m n XOR XOR C n-1 XOR K K K DES Encrypt( ) DES Encrypt( ) DES Encrypt( ) C 1 C 2 C n C 1 C 2 C n K DES Decrypt( ) K DES Decrypt( ) K DES Decrypt( ) Encrypt( ) IV C n-1 XOR XOR XOR m 1 m 2 m n 66 Triple-DES 64-bit Plaintext Block 56-bit 56-bit 56-bit DES DES DES 64-bit Cipher Text 168-bit total key length Mode of operation decides how to process DES three times Normally: encrypt, decrypt, encrypt More secure than DES but slower So is 3DES optimally the fastest, the easiest to implement and the securest algorithm out there? 67 Copyright Printed in USA.

Rijndael the chief drawback to this cipher is the difficulty Americans have pronouncing it The designers, Vincent Rijmen and Joan Daemen, know what they are doing. Bruce Schneier 68 AES: the New Encryption Standard Advanced Encryption Standard formerly known as Rijndael Successor to DES and 3DES Will ultimately become the default ESP cipher Symmetric key block cipher Strong encryption with long expected life AES can support 128, 192 and 256 keys strengths but 128 is considered safe HMAC-SHA-1 and HMAC-MD5 can serve as the IKE generators of the 128 bit AES keys 69 Copyright Printed in USA.

AES: Pseudo Code Cipher(byte in[4*nb], byte out[4*nb], word w[nb*(nr+1)]) begin byte state[4,nb] state = in AddRoundKey(state, w[, Nb-1]) for round = 1 step 1 to Nr 1 SubBytes(state) ShiftRows(state) MixColumns(state) AddRoundKey(state, w[round*nb, (round+1)*nb-1]) end for SubBytes(state) ShiftRows(state) AddRoundKey(state, w[nr*nb, (Nr+1)*Nb-1]) out = state end 7 AES: The Complete Cipher Input Key 1 Round Key Schedule Key 2 Round 1 Key Nr Round Nr Output 71 Copyright Printed in USA.

AES: Individual Rounds Input Note: Last Round Is Slightly Different from the Rest of the Rounds Sub Bytes Shift Rows Mix Columns Add Round Key Output 72 AES Functions: SubBytes and ShiftRows SubBytes s, s 4 s 12 s 1 s 5 s 9 s s 13 5 s 2 s 6 s 3 s 14 s 7 s 8 s 1 s 11 s 15 S-Box s' s' 4 s' 8 s' 12 s' 1 s' s' 5 5 s' 9 s' 13 s' 2 s' 6 s' 1 s' 14 s' 3 s' 7 s' 11 s' 15 ShiftRows s s 4 s 5 s 2 s 13 s 6 s 3 s 14 s 7 s 8 s 1 s 12 s 9 s 1 s 11 s 15 s s 4 s 9 s 14 s 15 s 6 s 3 s 8 s 5 s 12 s 13 s 1 s 1 s 2 s 7 s 11 73 Copyright Printed in USA.

AES Functions: MixColumns and AddRoundKey MixColumns s, s 4s4 s 8 s 12 s' s' s4 4 s' 8 s' 12 s 1 s 5 s 5 s 9 s 13 Mix s' 1 s' s' 5 5 s' 9 s' 13 s 2 s 6 s 6 s 1 s 14 Columns s' 2 s' s 6 6 s' 1 s' 14 s 3 s 7 s 6 s 11 s 15 s' 3 s' 7 s' 11 s' 15 s 7 AddRoundKey s s 4 s s4 12 s 1 s s 5 5 s s 6 6 s s 7 6 s 8 s 9 s 2 s 13 s 1 s 3 s 14 s 11 s 15 XOR Word from Key Schedule s' s' s 4 4 s' 8 s' 12 s' 1 s' s' 5 5 s' 9 s' 13 s' 2 s' s 6 6 s' 1 s' 14 s' 3 s' s 7 7 s' 11 s' 15 74 Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 75 Copyright Printed in USA.

Remote Access Features Mode config Extended authentication 76 Placement of Mode Config and X-auth in IKE Phase I SA (ISAKMP SA) Main Mode (6 Messages) Aggressive Mode (3 Messages) New IPSec Tunnel or Rekey Phase 1.5: X-auth and/or Mode Config Phase II SA (IPSec SA) Quick Mode Phase II SA (IPSec SA) Quick Mode A Protected Data B C Protected Data D 77 Copyright Printed in USA.

Mode Config Mechanism Used to Push Attributes to Remote Access IPSec Clients Private Network IPSec Gateway Public Network Remote Access IPSec Client Internal IP Address DNS Server DHCP Server Net Bios Name Server Optional Attributes 78 Mode Config Protocol Specifications Type = ISAKMP_CFG_REQUEST = 1 or ISAKMP_CFG_REPLY = 2 or ISAKMP_CFG_SET = 3 or ISAKMP_CFG_ACK = 4 Next Payload Type = 1 Reserved = Attributes ( Attributes in Request) ISAKMP HEADER Reserved = Attributes Payload Identifier Hash Payload Hash Hash = Prf (SKEYID_a, ISAKMP Header M-ID Attribute Payload) Initiator Remote Client Attribute Request Attribute Reply Responder IPSec Gateway ISAKMP HEADER Next Reserved = Attributes Payload Payload Type = 2 Reserved = Identifier Attributes (Set to the Values for One or More of the Attributes to Be Pushed) Hash Hash Payload Payload Hash Attributes = INTERNAL_IP4_ADDRESS 1 INTERNAL_IP4_NETMASK 2 INTERNAL_IP4_DNS 3 INTERNAL_IP4_NBNS 4 INTERNAL_ADDRESS_EXPIRY 5 INTERNAL_IP4_DHCP 6 Other Allowed but Not Mandatory 79 Copyright Printed in USA.

X-auth Mechanism Used to Perform Per User Authentication for RA Clients Private Network IPSec Gateway Public Network Remote Access IPSec Client AAA Server Generic Username/Password Chap OTP S/Key 8 X-auth Protocol Specifications Type = ISAKMP_CFG_REQUEST = 1 or ISAKMP_CFG_REPLY = 2 or ISAKMP_CFG_SET = 3 or ISAKMP_CFG_ACK = 4 Next Payload Type = 1 Reserved = Attributes ( Attributes in Request) ISAKMP HEADER Reserved = Attributes Payload Identifier Hash Payload Hash Hash = Prf (SKEYID_a, ISAKMP Header M-ID Attribute Payload) Initiator IPSec Gateway ISAKMP HEADER Next Reserved = Attributes Payload Payload Type = 2 Reserved = Identifier Attributes (Set to the Values for One or More of the Attributes to Be Pushed) Hash Hash Payload Payload Hash Attribute Request Attribute Reply Responder IPSec Client Attributes = XAUTH_TYPE 1652 XAUTH_USER_NAME 16521 XAUTH_USER_PASSWORD 16522 XAUTH_PASSCODE 16523 XAUTH_MESSAGE 16524 XAUTH_CHALLENGE 16525 XAUTH_DOMAIN 16526 XAUTH_STATUS 16527 81 Copyright Printed in USA.

X-auth Protocol Specifications Type = ISAKMP_CFG_REQUEST = 1 or ISAKMP_CFG_REPLY = 2 or ISAKMP_CFG_SET = 3 or ISAKMP_CFG_ACK = 4 Initiator IPSec Gateway Hash Type = 3 Reserved = Attributes (X-auth_Status = OK or FAIL) ISAKMP HEADER Reserved = Attributes Payload Identifier Hash Payload Hash Attribute Set Attribute Ack Responder IPSec Client ISAKMP HEADER Hash Next Reserved = Attributes Payload Payload Type = 24 Reserved = Identifier Attributes Attributes (Set to (None the Values Included) for One or More of the Attributes to Be Pushed) Hash Hash Payload Payload Hash 82 Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 83 Copyright Printed in USA.

TED (Tunnel Endpoint Discovery) Mechanism Used to Dynamically Discover Peer and Negotiate Proxies Private Network IPSec Peer A Public Network IPSec Peer B IPSec ACL: 1 to 2 IPSec ACL: 2 to 1 Private Network Peer A Dynamically End Host 1 Discovers Peer B End Host 2 1 Host 1 to Host 2 2 Probe: 1 to 2 Response: B to A 3 4 ISAKMP Negotiation Started from A to B 84 TED Protocol Specifications Initiator Proxy = Configured Source Address For IPSec Interesting Traffic Initiator IPSec Gateway NP Cisco s Vendor ID Along with Capability Flags NP Reserved = ID Payload ID = Initiator s ID Encoded as IP Address NP Reserved = ID Payload ID = Initiator s Proxy Reserved = Vendor Payload Special Vendor ID Payload NP Cisco s Vendor ID Along with Capability Flags NP Reserved = ID Payload ID = Responder s ID Encoded as IP Address NP Reserved = ISAKMP HEADER Vendor Payload TED Probe TED Response ISAKMP HEADER Reserved = Vendor Payload Reserved = Private Payload TED Response Payload Special Vendor Payload = Hash of Special String +TED Version Number (3) +IPVersion+Src IP and Port+ IP and Port Responder IPSec Client TED Response Payload = Protocol Version+ Matched Proxies 85 Copyright Printed in USA.

Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 86 IPSec and NAT: The Problem Private Network IPSec Remote Client PAT Device Public Network IPSec Gateway Private Network Port Address Translation Fails since in ESP Packets L4 Port Info Is Encrypted 87 Copyright Printed in USA.

IPSec and NAT: Three Solutions Always on IPSec over UDP (most deployed) Always on IPSec over TCP (an alternate solution) Need based IPSec NAT traversal (in the works) Private Network IPSec Remote Client PAT Device Public Network IPSec Gateway Private Network External IP Header ESP Header Original IP Header TCP/UDP Header Payload ESP Trailer External IP Header UDP 8 bytes Header ESP Header Original IP Header TCP/UDP Header Payload ESP Trailer 88 Always on IPSec over UDP: Part of Mode Config Type = ISAKMP_CFG_REQUEST = 1 or ISAKMP_CFG_REPLY = 2 or ISAKMP_CFG_SET = 3 or ISAKMP_CFG_ACK = 4 Next Payload Type = 1 Reserved = Identifier Attributes (MODECFG_UDP_NAT_PORT = ) ISAKMP HEADER Reserved = Attributes Payload Hash Payload Hash Hash = Prf (SKEYID_a, ISAKMP Header M-ID Attribute Payload) Initiator Remote Client Attribute Request Attribute Reply Responder IPSec Client ISAKMP HEADER Next Reserved = Attributes Payload Payload Type = 2 Reserved = Identifier Attributes Attributes (MODECFG_UDP_NAT_PORT (Set to the Values for One or = x More of the Attributes to Be Pushed) Hash Hash Payload Payload Hash (Optional) Attribute = MODECFG_UDP_NAT_PORT Value = UDP Port Number: 1 49151 89 Copyright Printed in USA.

Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 91 DPD Rules Peer A Peer B I Wonder if B Is Dead, I Have to Send Some Data to It I Don t Care if A Is Dead, I Don t Have Anything to Send Passage of IPSec Traffic Is Proof of Liveliness DPD Is Asynchronous Each Peer Sets Its Own WORRY METRIC Check on Peer Only if there Is a Need to Do So 92 Copyright Printed in USA.

DPD Protocol Specifications Vendor ID Payload Is Exchanged in IKE Negotiation Beforehand Next Payload Protocol ID = ISAKMP ISAKMP HEADER Reserved DOI = IPSec DOI SPI SIZE SPI = CKY-I CKY-R Notify Payload Notify Message Type = R-U- THERE Notification Data = Sequence Number Initiator R-U-THERE R-U-THERE-ACK Responder Next Payload Protocol ID = ISAKMP ISAKMP HEADER Reserved DOI = IPSec DOI SPI SIZE SPI = CKY-I CKY-R Notify Payload Notify Message Type = R-U- THERE Notification Data = Sequence Number 94 Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 95 Copyright Printed in USA.

IKE v2: Replacement for Current IKE Specification Feature preservation Most of the features and characteristics of the baseline parent IKE v1 protocol are being preserved in v2 Compilation of features and extensions Quite a few features that were added on top of the baseline IKE protocol functionality in v1 are being reconciled into the mainline v2 framework New features A few new mechanisms and features are being introduced in the IKE v2 protocol as well (Please Note that This Information Is Current as of February 23; Finalization of the Specifications of the IKE V2 Protocol Is Still a Work in Progress) 96 IKE v2: What Is Not Changing Features in v1 that have been debated but are ultimately being preserved in v2 Two phases of negotiation Use of nonces to ensure uniqueness of keys v1 extensions and enhancements being merged into mainline v2 specification Use of a configuration payload similar to MODECFG for address assignment X-auth type functionality retained through EAP Use of NAT Discovery and NAT Traversal techniques 97 Copyright Printed in USA.

IKE v2: What Is Changing Significant changes being made to the baseline functionality of IKE Use of suites for algorithm negotiation EAP adopted as the method to provide legacy authentication integration with IKE Public Signature keys and pre-shared keys, the only methods of IKE authentication Use of stateless cookie to avoid certain types of DOS attacks on IK 98 Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 99 Copyright Printed in USA.

What Is a Multicast Group? Two or more parties who send and receive the same data transmitted over a network Packet delivery can be multicast, or unicast (where identical data is directed to each group member) Group members can be routers, PCs, telephones, any IP device There are many different examples of group topologies 1 Types of Multicast Groups Single-Source Multicast Publish -Subscribe Multiple-Source Multicast Multipoint Control Unit 11 Copyright Printed in USA.

Securing Multicast Groups What Is Needed to Secure Group Traffic? Policy distribution Distribution of the knowledge that group traffic is protected, and what is needed to participate in the group Protect the data in transit Only group members should be able to participate in the group Non-group members should not be able to spoof or disrupt group communication Deliver keys to all group members 12 Solution: GDOI and Key Server Group Domain of Interpretation (GDOI) Re-uses IKE protocols and definitions IETF MSEC Internet Draft stage Key server method A key server unilaterally chooses the keys Group members join by registering with the key server The key server replaces keys when a group member leaves Can scale to very large groups by using multiple collaborating key servers (Please Note that This Information Is Current as of the Beginning of 23; GDOI Is Still a Work in Progress) 13 Copyright Printed in USA.

GDOI Overview Distributes keys and policy for groups Security associations and keys Can efficiently re-key the group when needed When a member joins/leaves the group When an existing SA is about to expire Quickly and efficiently eject a group member 14 GDOI Protocol Flow Two phases IKE phase 1 protocol GDOI registration protocol Group Member IKE Phase 1 GDOI Registration Key Server Security protections IKE phase 1 provides authentication, confidentiality, and integrity GDOI registration provides authorization and replay protection 15 Copyright Printed in USA.

GDOI Registration Protocol Member Requests to Join Group Using an ID Payload Key Server Returns Policy in SA Payload Group Member Member Agrees to Policy Key Server Key Server Returns Keys Using a KD Payload 16 GDOI Registration Results When registration is complete a group member has: Data security SAs and keys GDOI Rekey SA and keys (if defined to be part of the group policy) 17 Copyright Printed in USA.

GDOI Rekey Message One message exchange Sent from key server to all group members IP multicast message is the most efficient distribution Security protections Authentication/integrity provided by a digital signature on the message Confidentiality provided using keys distributed during GDOI registration Replay protection through use of a message sequence number Group Member GDOI Rekey Key Server 18 GDOI Rekey Results When rekey is complete a group member has one or more of the following: New data security SAs and keys New GDOI Rekey SA and keys 19 Copyright Printed in USA.

Agenda Analysis of Baseline IPSec Functionality IKE: IPSec Negotiation Protocol Flow PKI: IPSec Authentication Architecture SHA and MD5: IPSec Hashing Mechanisms DES and AES: IPSec Encryption Techniques Analysis of the Enhancements in IPSec Remote Access Features Tunnel End Point Discovery (TED) IPSec NAT Traversal Dead Peer Detection (DPD) IPSec Work in Progress: IKE v2, Multicast IPSec 11 So, Where Can I Read in Detail about All This? Network Security Principles and Practices by Saadat Malik Also Available at the Networkers CiscoPress Booth 111 Copyright Printed in USA.

Please Complete Your Evaluation Form Session 112 113 Copyright Printed in USA.