Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 21 – Internet Security.

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.
Cryptography and Network Security
Computer Security: Principles and Practice EECS710: Information Security Professor Hossein Saiedian Fall 2014 Chapter 22: Internet Security Protocols and.
Socket Layer Security. In this Presentation: need for web security SSL/TLS transport layer security protocols HTTPS secure shell (SSH)
7-1 Chapter 7 – Web Security Use your mentality Wake up to reality —From the song, "I've Got You under My Skin“ by Cole Porter.
Henric Johnson1 Chapter 6 IP Security Henric Johnson Blekinge Institute of Technology, Sweden
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 Chapter 6 IP Security. Henric Johnson2 Outline Internetworking and Internet Protocols IP Security Overview IP Security Architecture Authentication.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Lecture 22 Internet Security Protocols and Standards
Cryptography and Network Security Chapter 17
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.
Lecture 22 Internet Security Protocols and Standards modified from slides of Lawrie Brown.
Cryptography and Network Security Chapter 15 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Chapter 8 Web Security.
Behzad Akbari Spring 2012 (These slides are based on lecture slides by Lawrie Brown)
IP Security: Security Across the Protocol Stack
Cosc 4765 SSL/TLS and VPN. SSL and TLS We can apply this generally, but also from a prospective of web services. Multi-layered: –S-http (secure http),
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
CSCE 715: Network Systems Security
Network Security Essentials Chapter 5
Cryptography and Network Security (CS435) Part Fourteen (Web Security)
Web Security : Secure Socket Layer Secure Electronic Transaction.
Cryptography and Network Security (SSL)
/IPsecurity.ppt 1 - Chapter 6 of William Stallings. Network Security Essentials (2nd edition). Prentice Hall.
Cryptography and Network Security (CS435) Part Twelve (Electronic Mail Security)
1 Security Protocols in the Internet Source: Chapter 31 Data Communications & Networking Forouzan Third Edition.
Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 21 – Internet Security.
Karlstad University IP security Ge Zhang
Chapter 22 Internet Security Protocols and Standards.
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 32 Internet Security Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP Securty 1. Overview 2. Architecture 3. Authentication Header 4. Encapsulating Security Payload 5. Combining security Associations 6. Internet Key Exchange.
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.
S/MIME (Secure/Multipurpose Internet Mail Extensions) security enhancement to MIME – original Internet RFC822 was text only – MIME provided.
Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats – integrity – confidentiality.
Cryptography and Network Security (CS435) Part Thirteen (IP Security)
IPSec  general IP Security mechanisms  provides  authentication  confidentiality  key management  Applications include Secure connectivity over.
Network Layer Security Network Systems Security Mort Anvari.
By Marwan Al-Namari & Hafezah Ben Othman Author: William Stallings College of Computer Science at Al-Qunfudah Umm Al-Qura University, KSA, Makkah 1.
Chapter 7 : Web Security Lecture #1-Week 12 Dr.Khalid Dr. Mohannad Information Security CIT 460 Information Security Dr.Khalid Dr. Mohannad 1.
CSEN 1001 Computer and Network Security Amr El Mougy Mouaz ElAbsawi.
Cryptography CSS 329 Lecture 13:SSL.
第六章 IP 安全. Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown.
Computer and Network Security
IPSec Detailed Description and VPN
UNIT 7- IP Security 1.IP SEC 2.IP Security Architecture
BINF 711 Amr El Mougy Sherif Ismail
CSE565: Computer Security Lecture 23 IP Security
No.9: IP Security Network Information Security 网络信息安全
Cryptography and Network Security
CSCE 815 Network Security Lecture 13
Cryptography and Network Security
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 6 IP Security.
Cryptography and Network Security
Presentation transcript:

Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 21 – Internet Security Protocols and Standards

Objectives The student should be able to  Define VPN.  Describe the advantages of link versus end-to-end encryption.  Define the protection provided by SSL/TLS, IPsec.  Show where the following protocols exist in the protocol stack, and describe which applications they can be used with: SSL/TLS, IPSec, S-MIME.  Show a diagram of what happens to a packet during Tunnel versus Transport mode in IPSEC.

Internet Security Protocols and Standards  Secure Sockets Layer (SSL) / Transport Layer Security (TLS)  IPv4 and IPv6 Security  S/MIME (Secure/Multipurpose Internet Mail Extension)

VPNs Virtual Private Network (VPN): A means of carrying private traffic over a public network  Uses link encryption to give users sense that they are operating on a private network when they are actually transmitting over a public network  Communications pass through an encrypted tunnel Intranet VPN: Connects two or more private networks within the same company Extranet VPN: Connects two or more private networks between different companies  E.g., B2B or business-to-business communication. Remote Access VPN: A roaming user has access to a private network via wireless, hotel room, etc.

Encryption Types End-to-End Encryption Link Encryption Router SourceDestination

Importance of Encryption Location: MAC TCP IP LLC MAC Physical APL IC TCP IP LLC MAC Physical APL IC IP LLC MAC Physical LLC MAC Physical WirelessWired MACLLCIPTCPApp - DataCRC

Importance of Encryption Location: IP TCP IPSEC/ IP LLC MAC Physical APL IC TCP IP LLC MAC Physical APL IC IPSEC/ IP LLC MAC Physical LLC MAC Physical VPN Router/Firewall may unencrypt MACLLCIPTCPApp - DataCRC

Importance of Encryption Location: App. TCP IP LLC MAC Physical APL IC TCP IP LLC MAC Physical APL IC IP LLC MAC Physical LLC MAC Physical HTTPS HTTP MACLLCIPTCPApp - DataCRC

Link versus End-to-End Encryption Use when LINK is vulnerable: Packet sniffers & eavesdroppers Use when Intermediate nodes may be compromised Link-Specific: All packets transmitted on the single link are encrypted Connection-Specific: A connection is encrypted across all its links Encrypted for all protocol layers (at or above encryption layer) Encrypted for upper layer protocols only Intermediate nodes decryptIntermediate nodes cannot decrypt Provides node authenticationProvides user authentication Transparent to user: One key per linkNot user-transparent: One key per connection One algorithm for all usersUser selects encryption algorithm Encryption done in hardwareEncryption done in hardware or software Virtual Private Network (VPN) IP Security (IPsec) Secure Shell (SSH) Secure Socket Layer (SSL)

Encryption Protocols HTTPFTPSMTP TCP or UDP IPSec IP HTTP SSL or TLS TCP IP HTTPSVPN

Secure Sockets Layer (SSL)  transport layer security service originally developed by Netscape originally developed by Netscape version 3 designed with public input version 3 designed with public input  subsequently became Internet standard RFC2246: Transport Layer Security (TLS)  use TCP to provide a reliable end- to-end service  may be provided in underlying protocol suite  or embedded in specific packages SSL + HTTP used together = HTTPS SSL + HTTP used together = HTTPS HTTP SSL or TLS TCP IP

SSL Record Protocol Services  message integrity using a MAC with shared secret key using a MAC with shared secret key similar to HMAC but with different padding similar to HMAC but with different padding  confidentiality using symmetric encryption with a shared secret key defined by Handshake Protocol using symmetric encryption with a shared secret key defined by Handshake Protocol AES, IDEA, RC2-40, DES-40, DES, 3DES, Fortezza, RC4-40, RC4-128 AES, IDEA, RC2-40, DES-40, DES, 3DES, Fortezza, RC4-40, RC4-128 message is compressed before encryption message is compressed before encryption

SSL Record Protocol Operation

SSL Handshake Protocol First 3 phases: Handshake Protocol Phase 4: Change Cipher Spec

Public Key Infrastructure (PKI) Digital Certificate User: Sue Public Key: Sue registers with CA through RA Certificate Authority (CA) Register(Owner, Public Key) 2. Registration Authority (RA) verifies owners 3. Send approved Digital Certificates 5. Tom requests Sue’s DC  6. CA sends Sue’s DC  Sue Tom 4. Sue sends Tom message signed with Digital Signature 7. Tom confirms Sue’s DS

IPSec  general IP Security mechanisms  provides authentication authentication confidentiality confidentiality key management key management  applicable to use over LANs, across public & private WANs, & for the Internet

IPSec Uses

Tunnel vs. Transport Mode Host A Host D Encrypted: Transport Mode: End-to-End Encryption Tunnel Mode: Encryption between two gateways: Virtual Private Network (A form of link encryption) Gtwy B Gtwy C Internet Host A Host D Gtwy B Gtwy C Internet IP=C | ESP | IP=D | Data IP=D | ESP | Data IP=D | Data IP=D | ESP | Data

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

IP Security Architecture  mandatory in IPv6, optional in IPv4  have two security header extensions: Authentication Header (AH) Authentication Header (AH) Encapsulating Security Payload (ESP) Encapsulating Security Payload (ESP) Key Exchange function Key Exchange function  VPNs want both authentication/encryption hence usually use ESP hence usually use ESP  specification is quite complex numerous RFC’s 2401/2402/2406/2408 numerous RFC’s 2401/2402/2406/2408

Two Modes (From Network Security Essentials 2 nd Ed., W. Stallings, Prentice Hall) Authentication Header (AH) Encapsulated Security Payload (ESP encryption & authentication) Access control XX Connectionless integrity XX (AH opt.) Data Origin Authentication XX (AH opt.) Rejection of Replayed Packets XX Confidentiality X Limited Traffic Flow Confidentiality X

Authentication Header (AH)  provides support for data integrity & authentication of IP packets end system/router can authenticate user/app end system/router can authenticate user/app prevents address spoofing attacks by tracking sequence numbers prevents address spoofing attacks by tracking sequence numbers  based on use of a MAC HMAC-MD5-96 or HMAC-SHA-1-96 HMAC-MD5-96 or HMAC-SHA-1-96  parties must share a secret key

Authentication Header SPI = Security Association # Authentication Data = Message Authentication Code

Encapsulating Security Payload (ESP)

S/MIME (Secure/Multipurpose Internet Mail Extensions)  security enhancement to MIME original Internet RFC822 was text only original Internet RFC822 was text only MIME provided support for varying content types and multi-part messages MIME provided support for varying content types and multi-part messages with encoding of binary data to textual form with encoding of binary data to textual form S/MIME added security enhancements S/MIME added security enhancements  have S/MIME support in many mail agents eg MS Outlook, Mozilla, Mac Mail etc eg MS Outlook, Mozilla, Mac Mail etc

S/MIME Process

S/MIME Cryptographic Algorithms  digital signatures: DSS & RSA  hash functions: SHA-1 & MD5  session key encryption: ElGamal & RSA  message encryption: AES, 3DES, etc  MAC: HMAC with SHA-1  must map binary values to printable ASCII use radix-64 or base64 mapping use radix-64 or base64 mapping

S/MIME Public Key Certificates  S/MIME has effective encryption and signature services  but also need to manage public-keys  S/MIME uses X.509 v3 certificates  each client has a list of trusted CA’s certs  and own public/private key pairs & certs  certificates must be signed by trusted CA’s

Summary  Secure Sockets Layer (SSL) / Transport Layer Security (TLS)  IPsec: IPv4 and IPv6 Security  S/MIME (Secure/Multipurpose Internet Mail Extension)