CSCE 815 Network Security Lecture 13

Slides:



Advertisements
Similar presentations
IP Security have considered some application specific security mechanisms –eg. S/MIME, PGP, Kerberos, SSL/HTTPS however there are security concerns that.
Advertisements

NS-H /11041 IP Security. NS-H /11042 TCP/IP Example.
Cryptography and Network Security
Spring 2012: CS419 Computer Security Vinod Ganapathy SSL, etc.
Internet Security CSCE 813 IPsec
IP Security. n Have a range of application specific security mechanisms u eg. S/MIME, PGP, Kerberos, SSL/HTTPS n However there are security concerns that.
Henric Johnson1 Chapter 6 IP Security Henric Johnson Blekinge Institute of Technology, Sweden
Network Security Essentials Chapter 8 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Information System Security AABFS-Jordan Summer 2006 IP Security Supervisor :Dr. Lo'ai Ali Tawalbeh Done by: Wa’el Musa Hadi.
Cryptography and Network Security Chapter 16 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Henric Johnson1 Ola Flygt Växjö University, Sweden IP Security.
Henric Johnson1 Chapter 6 IP Security. Henric Johnson2 Outline Internetworking and Internet Protocols IP Security Overview IP Security Architecture Authentication.
IP Security. Overview In 1994, Internet Architecture Board (IAB) issued a report titled “Security in the Internet Architecture”. This report identified.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
1 IP Security Outline of the session –IP Security Overview –IP Security Architecture –Key Management Based on slides by Dr. Lawrie Brown of the Australian.
Cryptography and Network Security
1 Pertemuan 11 IPSec dan SSL Matakuliah: H0242 / Keamanan Jaringan Tahun: 2006 Versi: 1.
Chapter 6 IP Security. Outline Internetworking and Internet Protocols (Appendix 6A) IP Security Overview IP Security Architecture Authentication Header.
1 Chapter 6 IP Security Henric Johnson Blekinge Institute of Technology, Sweden Revised by Andrew.
IP Security: Security Across the Protocol Stack
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
CSCE 715: Network Systems Security
/IPsecurity.ppt 1 - Chapter 6 of William Stallings. Network Security Essentials (2nd edition). Prentice Hall.
IPSec IPSec provides the capability to secure communications across a LAN, across private and public wide area networks (WANs) and across the Internet.
Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 21 – Internet Security.
IP Security.  In CERTs 2001 annual report it listed 52,000 security incidents  the most serious involving:  IP spoofing intruders creating packets.
Chapter 6 IP Security. We have considered some application specific security mechanisms in last chapter eg. S/MIME, PGP, Kerberos however there are security.
IP Security: Security Across the Protocol Stack. IP Security There are some application specific security mechanisms –eg. S/MIME, PGP, Kerberos, SSL/HTTPS.
1 Chapter 6 IP Security. 2 Outline Internetworking and Internet Protocols (Appendix 6A) IP Security Overview IP Security Architecture Authentication Header.
Chapter 8 IP Security MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI.
1 IPv6 Security & QoS Babu Ram Dawadi. 2 Outline IP Security Overview IP Security Architecture Authentication Header Encapsulating Security Payload Combinations.
1 Lecture 13 IPsec Internet Protocol Security CIS CIS 5357 Network Security.
Security IPsec 1 * Essential Network Security Book Slides. IT352 | Network Security |Najwa AlGhamdi 1.
Cryptography and Network Security (CS435) Part Thirteen (IP Security)
IPSec  general IP Security mechanisms  provides  authentication  confidentiality  key management  Applications include Secure connectivity over.
1 IPSec: An Overview Dr. Rocky K. C. Chang 4 February, 2002.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Network Layer Security Network Systems Security Mort Anvari.
Presentaion on ipsecurity Presentaion given by arun saraswat To lavkush sharma sir arun saraswat1.
第六章 IP 安全. Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
IP Security
IP Security - Chapter 6 of William Stallings. Network Security Essentials (2nd edition). Prentice Hall Slides by Henric Johnson Blekinge Institute.
IPSec Detailed Description and VPN
UNIT 7- IP Security 1.IP SEC 2.IP Security Architecture
IPv6 Security & QoS Babu Ram Dawadi.
IPSecurity.
CSE 4905 IPsec.
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.
Chapter 18 IP Security  IP Security (IPSec)
Internet and Intranet Fundamentals
IT443 – Network Security Administration Instructor: Bo Sheng
IPSec IPSec is communication security provided at the network layer.
IP Security Ch16 of Cryptography and Network Security - Third Edition
CSE565: Computer Security Lecture 23 IP Security
Cryptography and Network Security
No.9: IP Security Network Information Security 网络信息安全
Cryptography and Network Security Chapter 16
Cryptography and Network Security
IP Security and VPN Most of the slides are derived from the slides (Chapter-8) by the authors of «Computer Networking: A Top Down Approach», and from the.
IP Security - Chapter 6 of William Stallings. Network Security Essentials (2nd edition). Prentice Hall Slides by Henric Johnson Blekinge Institute.
IP Security - Chapter 6 of William Stallings. Network Security Essentials (2nd edition). Prentice Hall Slides by Henric Johnson Blekinge Institute.
Cryptography and Network Security Chapter 16
Network Security Essentials
Cryptography and Network Security Chapter 16
B. R. Chandavarkar CSE Dept., NITK Surathkal
Chapter 6 IP Security.
Cryptography and Network Security
Presentation transcript:

CSCE 815 Network Security Lecture 13 IP Security (IPSec) March 4, 2003

PGP Homework 5.4 page 159 Find PGP on SUNs (whereis, which, whatis, man-k) Construct a RSA based signing key Construct an encryption key Pick a partner from the class. Send a signed but cleartext message to your partner. Validate the signature of the received message. Send the key and an encrypted message to the partner. Decrypt the message.

Chapter 6 – 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

Outline Internetworking and Internet Protocols (Appendix 6A) IP Security Overview IP Security Architecture Authentication Header Encapsulating Security Payload Combinations of Security Associations Key Management

TCP/IP Example (fig 6.13)

IP Security have considered some application specific security mechanisms eg. S/MIME, PGP, Kerberos, SSL/HTTPS however there are security concerns that cut across protocol layers would like security implemented by the network for all applications

IPSec general IP Security mechanisms provides authentication confidentiality key management applicable to use over LANs, across public & private WANs, & for the Internet Internet Engineering Task Force (IETF) develops protocol standards for the internet

IPv4 Header

IP version 4 Fields Version (4 bits) the value is 0100 = 4 Internet Hedaer Length (IHL)(4) length of header in 32bit words. The minimum value is 5. Type of Service(8) Total Length (16) Total IP packet length in octets Identification (16) sequence number Flags(3) “more”, and “don’t fragment” Fragment offset (13) where is belongs in 64bit units Time to Live (TTL) (8) number of “seconds” for packet to live Checksum Addresses 32 bit source and destination addresses Options

IPv6 Header

IP version 6 Fields Version (4 bits) the value is 0110 (6) Traffic class (8) priority of this packet for routers Flow Label(20) label packets for special processing by routers Payload Length(16) Next Header(8) – usually TCP or UDP or an IPv6 extension Hop limit (8) Source Address(128=16 octets=4 words) Destination address (128=16octets=4 words)

IP 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.

IP Security Overview Applications of IPSec Virtual Private Networks Secure branch office connectivity over the Internet Secure remote access over the Internet Establshing extranet and intranet connectivity with partners Enhancing electronic commerce security Virtual Private Networks http://www.howstuffworks.com/vpn.htm Two protocols Authentication Header (AH) authentication protocol Encapsulating Security Protocol (ESP) combined encryption/authentication protocol

IP Security Scenario

IP Security Architecture specification is quite complex defined in numerous RFC’s RFC 2401 – overview of security architecture RFC 2402 – packet authentication extension RFC 2406 – packet encryption RFC 2408 – key management many others, grouped by category mandatory in IPv6, optional in IPv4 Figure 6.2 summarizes additional documents

IPSec Document Overview

Benefits of IPSec in a firewall/router provides strong security to all traffic crossing the perimeter is resistant to bypass is below transport layer, hence transparent to applications can be transparent to end users can provide security for individual users if desired

Routing Applications support IPsec can play a vital role in routing architecture Routing protocols such as OSPF run on top of IPSec Benefits provided by IPSec for routing application Router advertisement is valid Neighbor advertisement is avlid Verify redirect message come from the same router the initial packet was sent from Validate routing update messages

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 Table 6.1 summarizes the services provided by AH and ESP

Security Associations a one-way relationship between sender & receiver that affords security for traffic flow For two-way it requires two separate SAs Uniquely defined by 3 parameters: Security Parameters Index (SPI) this is carried in AH and ESP headers IP Destination Address Security Protocol Identifier has a number of other parameters Sequence number, AH & EH info, lifetime etc have a database of Security Associations

SA Parameters Sequence number counter Sequence counter overflow flag Anti-replay window AH info: authentication algorithm, keys, key lifetimes ESP info: encryption and authentication algorithm, keys, key lifetimes Lifetime of this Security Association (SA) IPSec protocol mode: tunnel or transport Path MTU maximum transmission unit

SA Selectors IPSec offers flexibility in selecting and applying SAs to IP traffic Security Policy database (SPD) SPD entries define a subset of the IP traffic and the SA that should be applied to this traffic

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-96 parties must share a secret key

IPSec Services Access Control Connectionless integrity Data origin authentication Rejection of replayed packets Confidentiality (encryption) Limited traffic flow confidentiallity

ESP with authentication 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.

Before applying AH

Transport Mode (AH Authentication)

Tunnel Mode (AH Authentication)

Authentication Header Provides support for data integrity and authentication (MAC code) of IP packets. Guards against replay attacks.

End-to-end versus End-to-Intermediate Authentication

Encapsulating Security Payload ESP provides confidentiality services

Encryption and Authentication Algorithms Three-key triple DES RC5 IDEA Three-key triple IDEA CAST Blowfish Authentication: HMAC-MD5-96 HMAC-SHA-1-96

ESP Encryption and Authentication

ESP Encryption and Authentication

Combinations of Security Associations

Combinations of Security Associations

Combinations of Security Associations

Combinations of Security Associations

Key Management Two types: Manual Automated Oakley Key Determination Protocol Internet Security Association and Key Management Protocol (ISAKMP)

Oakley Three authentication methods: Digital signatures Public-key encryption Symmetric-key encryption

ISAKMP

Recommended 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