CS 356 Lecture 27 Internet Security Protocols. Spring 2013



Similar documents
Communication Systems SSL

Communication Systems 16 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2009

CSC 474 Information Systems Security

CSC Network Security

Web Security Considerations

Network Security Part II: Standards

Network Security [2] Plain text Encryption algorithm Public and private key pair Cipher text Decryption algorithm. See next slide

Transport Layer Security Protocols

The Secure Sockets Layer (SSL)

Chapter 7 Transport-Level Security

Authentication applications Kerberos X.509 Authentication services E mail security IP security Web security

Communication Security for Applications

Chapter 10. Network Security

Real-Time Communication Security: SSL/TLS. Guevara Noubir CSU610

How To Understand And Understand The Ssl Protocol ( And Its Security Features (Protocol)

Network Security Essentials Chapter 5

Chapter 17. Transport-Level Security

Chapter 32 Internet 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.

INF3510 Information Security University of Oslo Spring Lecture 9 Communication Security. Audun Jøsang

Secure Socket Layer. Security Threat Classifications

Overview of SSL. Outline. CSC/ECE 574 Computer and Network Security. Reminder: What Layer? Protocols. SSL Architecture

3.2: Transport Layer: SSL/TLS Secure Socket Layer (SSL) Transport Layer Security (TLS) Protocol

SECURE SOCKETS LAYER (SSL)

Electronic Mail Security. Security. is one of the most widely used and regarded network services currently message contents are not secure

Network Security - Secure upper layer protocols - Background. Security. Question from last lecture: What s a birthday attack? Dr.

Network Security Essentials Chapter 7

Security in IPv6. Basic Security Requirements and Techniques. Confidentiality. Integrity

Security. Contents. S Wireless Personal, Local, Metropolitan, and Wide Area Networks 1

Chapter 6 Electronic Mail Security

Transport Level Security

Part III-b. Universität Klagenfurt - IWAS Multimedia Kommunikation (VK) M. Euchner; Mai Siemens AG 2001, ICN M NT

Protocol Rollback and Network Security

Outline. Transport Layer Security (TLS) Security Protocols (bmevihim132)

Overview. SSL Cryptography Overview CHAPTER 1

Managing and Securing Computer Networks. Guy Leduc. Chapter 4: Securing TCP. connections. connections. Chapter goals: security in practice:

Network Security Web Security and SSL/TLS. Angelos Keromytis Columbia University

SSL/TLS. What Layer? History. SSL vs. IPsec. SSL Architecture. SSL Architecture. IT443 Network Security Administration Instructor: Bo Sheng

7 Network Security. 7.1 Introduction 7.2 Improving the Security 7.3 Internet Security Framework. 7.5 Absolute Security?

Standards and Products. Computer Security. Kerberos. Kerberos

Security Protocols HTTPS/ DNSSEC TLS. Internet (IPSEC) Network (802.1x) Application (HTTP,DNS) Transport (TCP/UDP) Transport (TCP/UDP) Internet (IP)

Overview of CSS SSL. SSL Cryptography Overview CHAPTER

SSL Secure Socket Layer

APNIC elearning: IPSec Basics. Contact: esec03_v1.0

Cryptography and Network Security Sicurezza delle reti e dei sistemi informatici SSL/TSL

Secure Socket Layer (SSL) and Trnasport Layer Security (TLS)

, SNMP, Securing the Web: SSL

SSL Secure Socket Layer

Computer and Network Security

Cryptography and Network Security IPSEC

CS 393 Network Security. Nasir Memon Polytechnic University Module 11 Secure

WEB Security & SET. Outline. Web Security Considerations. Web Security Considerations. Secure Socket Layer (SSL) and Transport Layer Security (TLS)

Outline. INF3510 Information Security. Lecture 10: Communications Security. Communication Security Analogy. Network Security Concepts

Lecture 10: Communications Security

Network Security. Lecture 3

Lecture 9 - Network Security TDTS (ht1)

Web Security (SSL) Tecniche di Sicurezza dei Sistemi 1

Chapter 9. IP Secure

Lecture 7: Transport Level Security SSL/TLS. Course Admin

Chapter 8. Network Security

Securing IP Networks with Implementation of IPv6

Internet Security Architecture

Secure Sockets Layer

Cryptography and Network Security Chapter 15

Protocol Security Where?

Security Engineering Part III Network Security. Security Protocols (I): SSL/TLS

INTERNET SECURITY: FIREWALLS AND BEYOND. Mehernosh H. Amroli

HTTPS: Transport-Layer Security (TLS), aka Secure Sockets Layer (SSL)

Information Security

Chapter 11 Security Protocols. Network Security Threats Security and Cryptography Network Security Protocols Cryptographic Algorithms

The basic groups of components are described below. Fig X- 1 shows the relationship between components on a network.

SECURE SOCKETS LAYER (SSL) SECURE SOCKETS LAYER (SSL) SSL ARCHITECTURE SSL/TLS DIFFERENCES SSL ARCHITECTURE. INFS 766 Internet Security Protocols

Security Engineering Part III Network Security. Security Protocols (II): IPsec

CPS Computer Security Lecture 9: Introduction to Network Security. Xiaowei Yang

NETWORK ADMINISTRATION AND SECURITY

Security Protocols and Infrastructures. h_da, Winter Term 2011/2012

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

CSCI 454/554 Computer and Network Security. Topic 8.1 IPsec

Other VPNs TLS/SSL, PPTP, L2TP. Advanced Computer Networks SS2005 Jürgen Häuselhofer

Secure Socket Layer/ Transport Layer Security (SSL/TLS)

Today s Topics SSL/TLS. Certification Authorities VPN. Server Certificates Client Certificates. Trust Registration Authorities

CS549: Cryptography and Network Security

How To Understand And Understand The Security Of A Key Infrastructure

Netzwerksicherheit: Anwendungen

T Cryptography and Data Security

Security vulnerabilities in the Internet and possible solutions

Secure Socket Layer (SSL) and Transport Layer Security (TLS)

IPV6 vs. SSL comparing Apples with Oranges

Software Engineering 4C03 Research Project. An Overview of Secure Transmission on the World Wide Web. Sean MacDonald

Network Security Fundamentals

Site to Site Virtual Private Networks (VPNs):

APNIC elearning: Network Security Fundamentals. 20 March :30 pm Brisbane Time (GMT+10)

Lecture 17 - Network Security

Network Security. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross 8-1

Electronic Mail Security

: Network Security. Name of Staff: Anusha Linda Kostka Department : MSc SE/CT/IT

IP Security. Ola Flygt Växjö University, Sweden

PGP from: Cryptography and Network Security

Three attacks in SSL protocol and their solutions

Network Security. Outline of the Tutorial

Transcription:

CS 356 Lecture 27 Internet Security Protocols Spring 2013

Review Chapter 1: Basic Concepts and Terminology Chapter 2: Basic Cryptographic Tools Chapter 3 User Authentication Chapter 4 Access Control Lists Chapter 5 Database Security (skipped) Chapter 6 Malicious Software Networking Basics (not in book) Chapter 7 Denial of Service Chapter 8 Intrusion Detection Chapter 9 Firewalls and Intrusion Prevention Chapter 10 Buffer Overflow Chapter 11 Software Security Chapter 12 OS Security Chapter 22 Internet Security Protocols

Chapter 22 Internet Security Protocols and Standards

MIME and S/MIME MIME extension to the old RFC 822 specification of an Internet mail format RFC 822 defines a simple heading with To, From, Subject assumes ASCII text format provides a number of new header fields that define information about the body of the message S/MIME Secure/Multipurpose Internet Mail Extension security enhancement to the MIME Internet e-mail format based on technology from RSA Data Security provides the ability to sign and/or encrypt e-mail messages

MIME Content Types

S/MIME Content Types

Typical S/MIME Process Bob's private key One-time session key Alice's public key This is an S/MIME message from Bob to Alice. Bob will sign and encrypt the message before sending it to This is an S/MIME message from Bob to Alice. Bob will sign and encrypt the message before sending it to DhYz949avHVA t5upjuxn8l79o ADnluV3vpuhE HMEcMBB1K9 Y8ZoJOYAmF2 BsIpLbjDkNJQR j98iklssmju650 SoDlFkYYtTqw po9812kklmhx cfgiu8700qqrr sdfgiuytp0m8 H7G4FF32jkoN NNmj78uqwplH Plaintext message (unisigned) Digital signature added (DSS/SHA) Message with signature encrypted with one-time session key (Triple DES) Encrypted copy of session key added (El Gamal) Document converted to Radix-64 format Figure 22.1 Typical S/MIME Process

S/MIME Cryptographic Algorithms default algorithms used for signing messages are DSS and SHA-1 RSA public-key encryption algorithm can be used with SHA-1 or the MD5 message digest algorithm for forming signatures radix-64 or base64 mapping is used to map the signature and message into printable ASCII characters

S/MIME Public Key Certificates default algorithms used for encrypting S/ MIME messages are 3DES and EIGamal EIGamal is based on the Diffie-Hellman publickey exchange algorithm if encryption is used alone radix-64 is used to convert the ciphertext to ASCII format basic tool that permits widespread use of S/MIME is the public-key certificate S/MIME uses certificates that conform to the international standard X.509v3

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

DomainKeys Identified Mail (DKIM) specification of cryptographically signing e-mail messages permitting a signing domain to claim responsibility for a message in the mail stream proposed Internet Standard (RFC 4871: DomainKeys Identified Mail (DKIM) Signatures) has been widely adopted by a range of e-mail providers

Message transfer agent (MTA) SMTP Message transfer agent (MTA) SMTP Message transfer agent (MTA) SMTP (SMTP, local) Mail submission agent (MSA) Message handling system (MHS) Mail delivery agent (MDA) SMTP Message user agent (MUA) Message author (SMTP, local) Message store (MS) Internet Mail Architecture (IMAP, POP, local) Message recipient Message user agent (MUA) Figure 22.2 Function Modules and Standardized Protocols Used Between Them

MTA SMTP MTA SMTP SMTP Signer MSA SMTP DNS DNS Public key query/response POP, IMAP MDA Verifier Example of DKIM MUA MUA Deployment Mail origination network Mail delivery network DNS = domain name system MDA = mail delivery agent MSA = mail submission agent MTA = message transfer agent MUA = message user agent Figure 22.3 Simple Example of DKIM Deployment

Secure Sockets Layer (SSL) one of the most widely used security services general-purpose service implemented as a set of protocols that rely on TCP subsequently became Internet standard RFC2246: Transport Layer Security (TLS) two implementation choices: provided as part of the underlying protocol suite embedded in specific packages

SSL Protocol Stack SSL Handshake Protocol SSL Change Cipher Spec Protocol SSL Alert Protocol HTTP SSL Record Protocol TCP IP Figure 22.4 SSL Protocol Stack

SSL Record Protocol Operation Application Data Fragment Compress Add MAC Encrypt Append SSL Record Header Figure 22.5 SSL Record Protocol Operation

SSL Change Cipher Spec Protocol one of three SSL specific protocols that use the SSL Record Protocol is the simplest consists of a single message which consists of a single byte with the value 1 sole purpose of this message is to cause pending state to be copied into the current state hence updating the cipher suite in use

SSL Alert Protocol conveys SSL-related alerts to peer entity alert messages are compressed and encrypted each message consists of two bytes: first byte takes the value warning (1) or fatal (2) to convey the severity of the message second byte contains a code that indicates the specific alert if the level is fatal, SSL immediately terminates the connection other connections on the same session may continue, but no new connections on this session may be established

SSL Handshake Protocol most complex part of SSL is used before any application data are transmitted allows server and client to: authenticate each other negotiate encryption and MAC algorithms negotiate cryptographic keys to be used comprises a series of messages exchanged by client and server exchange has four phases

Client Server Time client_hello server_hello certificate server_key_exchange certificate_request server_hello_done certificate Phase 1 Establish security capabilities, including protocol version, session ID, cipher suite, compression method, and initial random numbers. Phase 2 Server may send certificate, key exchange, and request certificate. Server signals end of hello message phase. SSL Handshake Protocol client_key_exchange certificate_verify Phase 3 Client sends certificate if requested. Client sends key exchange. Client may send certificate verification. change_cipher_spec finished change_cipher_spec finished Phase 4 Change cipher suite and finish handshake protocol. Note: Shaded transfers are optional or situation-dependent messages that are not always sent. Figure 22.6 Handshake Protocol Action

HTTPS (HTTP over SSL) combination of HTTP and SSL to implement secure communication between a Web browser and a Web server built into all modern Web browsers search engines do not support HTTPS URL addresses begin with https:// documented in RFC 2818, HTTP Over TLS agent acting as the HTTP client also acts as the TLS client closure of an HTTPS connection requires that TLS close the connection with the peer TLS entity on the remote side, which will involve closing the underlying TCP connection

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

IPsec general IP security mechanism s provides the capability to secure communications across a LAN, across private and public WANs, and across the Internet Provides: authentication assures that a received packet was, in fact, transmitted by the party identified as the source in the packet header and that the packet has not been altered in transit confidentiality enables communicating nodes to encrypt messages to prevent eavesdropping by third parties key management concerned with the secure exchange of keys provided by the Internet exchange standard IKEv2

IPsec Uses

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

provides two main functions: a combined authentication/ encryption function called Encapsulating Security Payload (ESP) key exchange function The Scope of IPsec VPNs want both authentication and encryption also an authenticationonly function, implemented using an Authentication Header (AH) because message authentication is provided by ESP, the use of AH is included in IPsecv3 for backward compatibility but should not be used in new applications specificatio n is quite complex numerous RFC s 2401/4302/430 3/4306

Security Associations a one-way relationship between sender and receiver that affords security for traffic flow if a peer relationship is needed for two-way secure exchange then two security associations are required is uniquely identified by the Destination Address in the IPv4 or IPv6 header and the SPI in the enclosed extension header (AH or ESP) Defined by 3 parameters: Security Parameter Index (SPI) IP Destination Address Protocol Identifier

Encapsulating Security Payload (ESP) Bit: 0 16 24 31 Security Parameters Index (SPI) Sequence Number Confidentiality Coverage Authentication Coverage Payload Data (variable) Padding (0-255 bytes) Pad Length Next Header Authentication Data (variable) Figure 22.7 IPSec ESP Format

Transport and Tunnel Modes transport mode protection extends to the payload of an IP packet typically used for end-to-end communication between two hosts ESP in transport mode encrypts and optionally authenticates the IP payload but not the IP header tunnel mode provides protection to the entire IP packet the entire original packet travels through a tunnel from one point of an IP network to another used when one or both ends of a security association are a security gateway such as a firewall or router that implements IPsec with tunnel mode a number of hosts on networks behind firewalls may engage in secure communications without implementing IPsec

Summary secure E-Mail and S/MIME DomainKeys Identified Mail Internet mail architecture DKIM strategy Secure Sockets Layer (SSL) and Transport Layer Security (TLS) SSL architecture SSL record protocol change cipher spec protocol alert protocol handshake protocol HTTPS connection initiation connection closure IPv4 and IPv6 security IP security overview scope of IPsec security associations encapsulating security payload transport and tunnel modes