IP Security IPSec 2 * Essential Network Security Book Slides. IT352 | Network Security |Najwa AlGhamdi 1.

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

Spring 2012: CS419 Computer Security Vinod Ganapathy SSL, etc.
CS470, A.SelcukIPsec – AH & ESP1 CS 470 Introduction to Applied Cryptography Instructor: Ali Aydin Selcuk.
IPSec In Depth. Encapsulated Security Payload (ESP) Must encrypt and/or authenticate in each packet Encryption occurs before authentication Authentication.
ISAKMP RFC 2408 Internet Security Association & Key Management Protocol Protocol Establish, modify, and delete SAs Negotiate crypto keys Procedures Authentication.
Security at the Network Layer: IPSec
Network Security Essentials Chapter 8 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Network Layer Security: IPSec
Cryptography and Network Security Chapter 16 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Chapter 5 Network Security Protocols in Practice Part I
Chapter 13 IPsec. IPsec (IP Security)  A collection of protocols used to create VPNs  A network layer security protocol providing cryptographic security.
ECE 454/CS 594 Computer and Network Security Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall.
1 Lecture 15: IPsec AH and ESP IPsec introduction: uses and modes IPsec concepts –security association –security policy database IPsec headers –authentication.
Henric Johnson1 Ola Flygt Växjö University, Sweden IP Security.
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.
Crypto – chapter 16 - noack Introduction to network stcurity Chapter 16 - Stallings.
Encapsulation Security Payload Protocol Lan Vu. OUTLINE 1.Introduction and terms 2.ESP Overview 3.ESP Packet Format 4.ESP Fields 5.ESP Modes 6.ESP packet.
Cryptography and Network Security
1 IPsec Youngjip Kim Objective Providing interoperable, high quality, cryptographically-based security for IPv4 and IPv6 Services  Access.
Chapter 6 IP Security. Outline Internetworking and Internet Protocols (Appendix 6A) IP Security Overview IP Security Architecture Authentication Header.
Internet Security CSCE 813 IPsec. CSCE Farkas2 Reading Today: – Oppliger: IPSec: Chapter 14 – Stalllings: Network Security Essentials, 3 rd edition,
Network Security. Contents Security Requirements and Attacks Confidentiality with Conventional Encryption Message Authentication and Hash Functions Public-Key.
What is in Presentation What is IPsec Why is IPsec Important IPsec Protocols IPsec Architecture How to Implement IPsec in linux.
IP Security: Security Across the Protocol Stack
IPSec in a Multi-OS Environment. What is IPSec? IPSec stands for Internet Protocol Security It is at a most basic level a way of adding security to your.
1 Section 10.9 Internet Security Association and Key Management Protocol ISAKMP.
IP Security Lawrence Taub IPSEC IP security — security built into the IP layer Provides host-to-host (or router-to-router) encryption and.
CSCE 715: Network Systems Security
ECE 454/CS 594 Computer and Network Security Dr. Jinyuan (Stella) Sun Dept. of Electrical Engineering and Computer Science University of Tennessee Fall.
SMUCSE 5349/49 IP Sec. SMUCSE 5349/7349 Basics Network-level: all IP datagrams covered Mandatory for next-generation IP (v6), optional for current-generation.
Information management 1 Groep T Leuven – Information department 1/26 IPSec IP Security (IPSec)
TCP/IP Protocols Contains Five Layers
IPSec IPSec provides the capability to secure communications across a LAN, across private and public wide area networks (WANs) and across the Internet.
Karlstad University IP security Ge Zhang
IPsec Introduction 18.2 Security associations 18.3 Internet Security Association and Key Management Protocol (ISAKMP) 18.4 Internet Key Exchange.
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.
IPSEC : KEY MANAGEMENT PRESENTATION BY: SNEHA A MITTAL(121427)
IPSec ● IP Security ● Layer 3 security architecture ● Enables VPN ● Delivers authentication, integrity and secrecy ● Implemented in Linux, Cisco, Windows.
IP Security: Security Across the Protocol Stack. IP Security There are some application specific security mechanisms –eg. S/MIME, PGP, Kerberos, SSL/HTTPS.
Data Security and Encryption (CSE348) 1. Lecture # 25 2.
Chapter 8 IP Security MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI.
IP security Ge Zhang Packet-switched network is not Secure! The protocols were designed in the late 70s to early 80s –Very small network.
IPSec and TLS Lesson Introduction ●IPSec and the Internet key exchange protocol ●Transport layer security protocol.
1 IPv6 Security & QoS Babu Ram Dawadi. 2 Outline IP Security Overview IP Security Architecture Authentication Header Encapsulating Security Payload Combinations.
Encapsulated Security Payload Header ● RFC 2406 ● Services – Confidentiality ● Plus – Connectionless integrity – Data origin authentication – Replay protection.
1 Lecture 13 IPsec Internet Protocol Security CIS CIS 5357 Network Security.
Internet Security CSCE 813 IPsec. CSCE813 - Farkas2 TCP/IP Protocol Stack Application Layer Transport Layer Network Layer Data Link Layer.
Authentication Header ● RFC 2402 ● Services – Connectionless integrity – Data origin authentication – Replay protection – As much header authentication.
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.
IPSec – IP Security Protocol By Archis Raje. What is IPSec IP Security – set of extensions developed by IETF to provide privacy and authentication to.
IPSec is a suite of protocols defined by the Internet Engineering Task Force (IETF) to provide security services at the network layer. standard protocol.
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.
K. Salah1 Security Protocols in the Internet IPSec.
8-1Network Security Virtual Private Networks (VPNs) motivation:  institutions often want private networks for security.  costly: separate routers, links,
第六章 IP 安全. Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Chapter 5 Network Security Protocols in Practice Part I
UNIT 7- IP Security 1.IP SEC 2.IP Security Architecture
IPSecurity.
CSE565: Computer Security Lecture 23 IP Security
Cryptography and Network Security
Cryptography and Network Security
Presentation transcript:

IP Security IPSec 2 * Essential Network Security Book Slides. IT352 | Network Security |Najwa AlGhamdi 1

Encapsulating Security Payload (ESP) provides message content confidentiality, data origin authentication, connectionless integrity, an anti-replay service, limited traffic flow confidentiality services depend on options selected when establish Security Association (SA), net location can use a variety of encryption & authentication algorithms

Encapsulating Security Payload 1.Security Parameters Index (32 bits): Identifies a security association 2.Sequence Number (32 bits): A monotonically increasing counter value; this provides an anti-replay function 3.Payload Data (variable): This is a transport-level segment (transport mode) or IP packet (tunnel mode) that is protected by encryption 4. Padding (0–255 bytes): for various reasons 5.Pad Length (8 bits): the number of pad bytes immediately preceding this field 6.Next Header (8 bits): identifies the type of data in the payload data field 7.Integrity check value (variable): a variable-length field that contains the Integrity Check Value computed over the ESP packet

Encryption & Authentication Algorithms & Padding ESP can encrypt payload data, padding, pad length, and next header fields – if needed have IV at start of payload data ESP can have optional ICV for integrity – is computed after encryption is performed ESP uses padding – to expand plaintext to required length

Anti-Replay Service replay is when attacker resends a copy of an authenticated packet use sequence number to thwart this attack sender initializes sequence number to 0 when a new SA is established – increment for each packet – must not exceed limit of 2 32 – 1 receiver then accepts packets with seq no within window of (N –W+1)

Anti-Reply Service IT352 | Network Security |Najwa AlGhamdi 6

IPSec 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 of keys for SA’s in large systems – has Oakley & ISAKMP elements

Oakley a key exchange protocol based on Diffie-Hellman key exchange Oakley is designed to retain the advantages of Diffie-Hellman while countering its weaknesses 1.no info on parties 2.man-in-middle attack 3. cost : subject to clogging attack, in which opponent request a high number of keys, and the receiver will spend computing resources to respond.

Oakley Oakley proposed Security Enhancement on Diffie-Hellman 1.It employs a mechanism known as cookies (random number) to thwart clogging attacks. –Cookies exchange require each side to send a cookie, and the other side should acknowledge. The acknowledge must be repeated at the start of Diffie-Helman exchange. 2.It uses nonces to ensure against replay attacks. 3.It authenticates the Diffie-Hellman exchange to thwart man-in-the-middle attacks

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 IKEv2 no longer uses Oakley & ISAKMP terms, but basic functionality is same

IKEV2 Exchanges [1],[2] : exchange information concerning cryptographic algorithms and other security parameters The result of this exchange is to set up a special SA called the IKE SA [1] [2] [3][4] : authenticate one another and set up a first IPsec SA to be placed in the SADB [3] [4] (b) establish further SAs for protecting traffic informational exchange is used to exchange management information, IKEv2 error messages, and other notifications

ISAKMP 1.Initiator SPI (64 bits): chosen by the initiator to identify a unique SA 2.Responder Cookie (64 bits): chosen by responder to identify unique IKE SA 3.Next Payload (8 bits): type of the first payload in the message. 4.Major/Minor Version (4 bits): Indicates major/minor version of IKE in use 5.Exchange Type (8 bits): type of exchange. 6.Flags (8 bits): specific options set for this IKE exchange. 7. Message ID (32 bits) 8. Length (32 bits): of total message (header plus all payloads) in octets

IKE Payloads Type  Security Association (SA) –used to begin the setup of a new SA; carries various attributes  Proposal (P) –used during SA setup; indicates protocol to be used (AH or ESP) and number of transforms  Transform (T) –used during SA setup; indicates transform (e.g., DES, 3DES) and its attributes  Key exchange (KE) –used to carry key exchange data (e.g., Oakley)  Identification (ID) –used to exchange identification information (e.g., IP address)  Certificate (CR) –carries a public key certificate (PGP, X.509, SPKI, …)  Hash (HASH)  Signature (SIG)  Nonce (NONCE)  Notification (N) –contains error or status information  Delete (D) –indicates one or more SAs that the sender has deleted from its database (no longer valid)