Spring 2012: CS419 Computer Security Vinod Ganapathy SSL, etc.

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

Cryptography and Network Security Chapter 16
Lecture 6: Web security: SSL
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)
Working Connection Computer and Network Security - SSL, IPsec, Firewalls – (Chapter 17, 18, 19, and 23)
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.
Chapter 7 Web Security MSc. NGUYEN CAO DAT Dr. TRAN VAN HOAI.
Network Security Essentials Chapter 8 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
Cryptography and Network Security Chapter 16 Fourth Edition by William Stallings Lecture slides by Lawrie Brown.
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
CSCE 790: Computer Network Security Chin-Tser Huang University of South Carolina.
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.
Chapter 8 Web Security.
Announcement Final exam: Wed, June 9, 9:30-11:18 Scope: materials after RSA (but you need to know RSA) Open books, open notes. Calculators allowed. 1.
Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 21 – Internet 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)
Cryptography and Network Security (CS435) Part Twelve (Electronic Mail Security)
Computer Security: Principles and Practice First Edition by William Stallings and Lawrie Brown Lecture slides by Lawrie Brown Chapter 21 – Internet Security.
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 Certificates, SSL, and One time passwords Fall 2010 David Brumley.
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.
1 IPv6 Security & QoS Babu Ram Dawadi. 2 Outline IP Security Overview IP Security Architecture Authentication Header Encapsulating Security Payload Combinations.
Web Security Web now widely used by business, government, individuals but Internet & Web are vulnerable have a variety of threats – integrity – confidentiality.
Gold Coast Campus School of Information Technology 2003/16216/3112INT Network Security 1Copyright © Griffith University, INT / 3112INT Network.
Cryptography and Network Security (CS435) Part Thirteen (IP Security)
IPSec  general IP Security mechanisms  provides  authentication  confidentiality  key management  Applications include Secure connectivity over.
CSCE 715: Network Systems Security Chin-Tser Huang University of South Carolina.
Network Layer Security Network Systems Security Mort Anvari.
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
UNIT 7- IP Security 1.IP SEC 2.IP Security Architecture
Cryptography and Network Security
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.
UNIT.4 IP Security.
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
Cryptography and Network Security
Cryptography and Network Security Chapter 16
Cryptography and Network Security
SSL (Secure Socket Layer)
Cryptography and Network Security
Cryptography and Network Security
Presentation transcript:

Spring 2012: CS419 Computer Security Vinod Ganapathy SSL, etc.

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

Secure Sockets Layer (SSL) transport layer security service –originally developed by Netscape –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 Protocol Stack

SSL Record Protocol Services message integrity –using a MAC with shared secret key –similar to HMAC but with different padding confidentiality –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 –message is compressed before encryption

SSL Record Protocol Operation

SSL Change Cipher Spec Protocol one of 3 SSL specific protocols which use the SSL Record protocol a single message causes pending state to become current hence updating the cipher suite in use

SSL Alert Protocol conveys SSL-related alerts to peer entity severity warning or fatal specific alert fatal: unexpected message, bad record mac, decompression failure, handshake failure, illegal parameter warning: close notify, no certificate, bad certificate, unsupported certificate, certificate revoked, certificate expired, certificate unknown compressed & encrypted like all SSL data

SSL Handshake Protocol allows server & client to: –authenticate each other –to negotiate encryption & MAC algorithms –to negotiate cryptographic keys to be used comprises a series of messages in phases 1.Establish Security Capabilities 2.Server Authentication and Key Exchange 3.Client Authentication and Key Exchange 4.Finish

SSL Handshake Protocol

IP Security various application security mechanisms –eg. S/MIME, PGP, Kerberos, SSL/HTTPS security concerns cross protocol layers hence would like security implemented by the network for all applications authentication & encryption security features included in next-generation IPv6 also usable in existing IPv4

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

IPSec Uses

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) –Encapsulating Security Payload (ESP) –Key Exchange function VPNs want both authentication/encryption –hence usually use ESP specification is quite complex –numerous RFC’s 2401/2402/2406/2408

Security Associations a one-way relationship between sender & receiver that affords security for traffic flow defined by 3 parameters: –Security Parameters Index (SPI) –IP Destination Address –Security Protocol Identifier has a number of other parameters –seq no, AH & EH info, lifetime etc have a database of Security Associations

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

Authentication Header

Encapsulating Security Payload (ESP)

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

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

S/MIME Functions enveloped data –encrypted content and associated keys signed data –encoded message + signed digest clear-signed data –cleartext message + encoded signed digest signed & enveloped data –nesting of signed & encrypted entities

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

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) IPv4 and IPv6 Security S/MIME (Secure/Multipurpose Internet Mail Extension)