SSH, SSL, and IPsec: wtf?
|
|
|
- Maximilian Jordan
- 10 years ago
- Views:
Transcription
1 SSH, SSL, and IPsec: wtf? Eric Rescorla RTFM, Inc. Eric Rescorla SSH, SSL, and IPsec 1
2 What are we trying to accomplish? Alice, Bob want to talk to each other But they re worried about attack How do you know you re talking to the right person? How do you know people can t listen to your conversation How do you know people can t change your conversation? We want to build a system that protects against these attacks Eric Rescorla SSH, SSL, and IPsec 2
3 Terminology Dump 1: Attacker Capabilities Passive Attacker doesn t send anything. Active Attacker is allowed to send traffic. On-path Attacker is on the communications path between A and B. Sees all traffic Can seamlessly impersonate either side Off-path Attacker is not on communications path between A and B Can t see traffic between A and B. Can sometimes send traffic as either (subject to address filtering). Eric Rescorla SSH, SSL, and IPsec 3
4 Terminology Dump 2: Security Properties Confidentiality Information being transmitted is kept secret from attackers Data Origin Authentication Receivers can determine the origin of traffic. Message Integrity Tampering of traffic can be detected. Third-party Verifiability A party not involved in the initial communication can verify what happened. (Often misleadingly called non-repudiation) Eric Rescorla SSH, SSL, and IPsec 4
5 A simple problem: remote authentication You re a Web server X connects to you claiming to be Alice How can you tell? Assumptions: All you have is the network traffic Can send messages to X Receive X s response Attackers can forge but not view, intercept, or modify traffic You have some prior relationship with Alice Eric Rescorla SSH, SSL, and IPsec 5
6 Remote authentication: basic ideas Alice needs to be able to do something others can t do Generally, compute some function But why can t X do that? How do we break the symmetry? Give Alice more resources Give Alice some secret Eric Rescorla SSH, SSL, and IPsec 6
7 One-sided authentication with shared secrets Assume Alice and Bob share a secret S ab Alice needs to prove possession of S ab (Assume Alice authenticates Bob some other way) Simple approach: Bob and Alice both store S ab Alice sends Bob S ab Bob does memcmp(). Eric Rescorla SSH, SSL, and IPsec 7
8 Problems with the previous scheme Snooping. an attacker who is on-path can capture the password and replay it Hijacking. an attacker can wait for you to exchange the password and then take over the connection One-way authentication. how does Alice authenticate Bob? Eric Rescorla SSH, SSL, and IPsec 8
9 Fixing snooping Alice doesn t send S ab over the wire Instead she computes some function f And sends f(s ab ) What properties does f need? 1st Preimage Resistant hard to compute S ab from f(s ab ) 2nd Preimage Resistant hard to find S st f(s ) = f(s ab ) Luckily, we have such functions Eric Rescorla SSH, SSL, and IPsec 9
10 Cryptographic hash functions Basic idea: one-way function (also called message digests) Take an arbitrary length bit string m and reduce it to (b) bits H(m) = h Hash functions are preimage resistant Takes approximately 2 b operations to find m given h Hash functions are collision resistant Takes approximately 2 b/2 operations to find m, m st. H(m) = H(m ) Popular algorithms: MD5, SHA-1, SHA-256 Eric Rescorla SSH, SSL, and IPsec 10
11 Challenge-Response So, Alice just sends H(S ab ), right? Wrong This becomes the new secret So we still have a replay attack problem Bob needs to force Alice to compute a new function each time Alice Bob Challenge H(S ab +Challenge) Challenge needs to be unique for every exchange Does not need to be unpredictable Eric Rescorla SSH, SSL, and IPsec 11
12 Why mutual authentication? We assumed that Alice was talking to Bob But how does Alice know that? She can t trust the network What if she s connecting to the attacker Alice Attacker Bob Challenge Challenge H(S ab +Challenge) H(S ab +Challenge) Alice has just logged in for the attacker He can issue any commands he wants (oops!) Attack Commands Eric Rescorla SSH, SSL, and IPsec 12
13 Adding mutual authentication We already know how to authenticate Alice Now we need to authenticate Bob Just reverse the procedure Alice Bob Challenge1 Challenge2 H(S ab +Challenge1+Challenge2) H(S ab +Challenge2+Challenge1) Each side needs to control its own challenges Otherwise we have replay issues again Eric Rescorla SSH, SSL, and IPsec 13
14 Hijacking This protocol still has a hijacking problem Alice Attacker Bob Challenge1 Challenge1 Challenge2 H(S ab +Challenge1+Challenge1) H(S ab +Challenge2+Challenge1) Challenge2 H(S ab +Challenge1+Challenge1) H(S ab +Challenge2+Challenge1) We need to authenticate the data Not just the initial handshake Attack commands Eric Rescorla SSH, SSL, and IPsec 14
15 Authenticating data Break the data into records Attach a message authentication code (MAC) to each record Receiver verifies MACs on record Length Data MAC Eric Rescorla SSH, SSL, and IPsec 15
16 A message authentication code? Dude, wait, what? What s a MAC? A one-way function of the key and some data F (k, data) = x x is short ( bits) Hard to compute x without k Hard to compute data even with k, x This sounds kinda like a hash MACs are usually built from hashes World s simplest MAC: H(k + data) (this has problems) Popular MACs: HMAC Eric Rescorla SSH, SSL, and IPsec 16
17 Where does the key come from? We want a key that s unique to this connection And tied to both sides Get it from the challenge-response handshake First attempt: K = H(S ab + Challenge1 + Challenge2) But now the key is the same in both directions And the same as the challenge response! Allows reflection attacks Second attempt K a b = H(S ab + AB + Challenge1 + Challenge2) K b a = H(S ab + BA + Challenge1 + Challenge2) Eric Rescorla SSH, SSL, and IPsec 17
18 World s simplest security protocol Alice Bob Challenge1 Challenge2 H(S ab +Challenge1+Challenge2) H(S ab +Challenge2+Challenge1) M essage1,m AC M essage2,m AC Each side knows who the other is All messages are authenticated But they re not confidential So don t send any secret information Eric Rescorla SSH, SSL, and IPsec 18
19 Symmetric Encryption We have two functions E, D st. E(k, P laintext) = Ciphertext D(k, Ciphertext) = P laintext These are easy to compute Either function is hard to compute without k Popular encryption algorithms: DES, 3DES, AES, RC4 Eric Rescorla SSH, SSL, and IPsec 19
20 A (mostly) complete channel security protocol Alice Bob Challenge1 Challenge2 H(S ab +Challenge1+Challenge2) H(S ab +Challenge2+Challenge1) E(k a b,(message1,mac)) E(k b a,(message2,mac)) Each side knows who the other is All messages are authenticated All messages are confidential Eric Rescorla SSH, SSL, and IPsec 20
21 So, we re done, right? How do Alice and Bob get S ab? Some out of band channel Send a letter do you trust USPS? Meet in person airplane tickets are expensive Guys with briefcases handcuffed to their wrists? All of these are pretty inconvenient We can do better Eric Rescorla SSH, SSL, and IPsec 21
22 Diffie-Hellman Key Agreement Each side has two keys ( public and private ) You publish the public key but the private key is secret F (K a pub, Kb priv ) = F (Kb pub, Ka pub ) = ZZ You need at least one private key to compute ZZ This is crypto rocket science but you don t need to understand how it works Eric Rescorla SSH, SSL, and IPsec 22
23 Using Diffie-Hellman Alice Bob Random1,K a pub Random2,K b pub E(k a b,(message1,mac)) E(k b a,(message2,mac)) Each side sends its public key The other side combines its private key with the other side s public key to compute ZZ The traffic keys are generated from ZZ Eric Rescorla SSH, SSL, and IPsec 23
24 Man-in-the-middle attack Alice Attacker Bob Random1,K a pub Random1,K A pub Random2,K A pub Random2,K b pub E(k a A,(Message1,MAC)) E(k A b,(message1,mac)) E(k A a,(message2,mac)) Each side thinks it s talking to the other E(k b A,(Message2,MAC)) This is what happens when you don t authenticate Alice and Bob need some way to authenticate each other s public keys Eric Rescorla SSH, SSL, and IPsec 24
25 Digital Signatures Remember MACs? There s a public key version of this Sign with K priv Verify with K pub A signed message can only be generated by someone who has the private key Popular algorithms: RSA, DSA, ECDSA Eric Rescorla SSH, SSL, and IPsec 25
26 Public key distribution Public key cryptography is one piece of the puzzle But only one piece I can verify a signature came from a given key But where do I get that key from? We could have a global directory Obvious scaling problems here What if I could give you a credential vouching for your public key? Eric Rescorla SSH, SSL, and IPsec 26
27 Certificates Digital signatures let us do exactly that Create a central certificate authority (CA) Alice proves her identity to the CA The CA gives her a signed message Alice s public key is X (a certificate) Anyone can verify this certificate As long as they have the public key of the CA This key is compiled into the software Popular CAs: VeriSign, Thawte, GoDaddy Eric Rescorla SSH, SSL, and IPsec 27
28 Diffie-Hellman with certificates Alice Bob Random1,Cert a Random2,Cert b E(k a b,(message1,mac)) E(k b a,(message2,mac)) Certificates contain DH public keys Each side can authenticate the other This is actually a bug Certificates are too inconvenient for users to get And the user doesn t always need to be authenticated Or is authenticated some other way Eric Rescorla SSH, SSL, and IPsec 28
29 One-way authentication with PKC One side (server) has a certificate The other side (client) makes up a random key pair Client Server Random1,Cert s Random2,K c pub E(k c s,(credit card #,MAC)) E(k s c,(ok,mac)) This authenticates the server but not the client We can do a similar trick with RSA Encrypt with public key, decrypt with private key This is the main operational mode for SSL/TLS Eric Rescorla SSH, SSL, and IPsec 29
30 Perfect Forward Secrecy What happens if one side s computer is compromised? Attacker gets private key Can decode all communications by that side Fix: have certificates with signature keys (RSA, DSA) Generate a random DH key for each handshake Sign it with your signature key Compromise of private key doesn t affect past traffic But you can MITM future connections This is the main operational mode for IPsec Eric Rescorla SSH, SSL, and IPsec 30
31 Algorithm negotiation There are a lot of choices here Who authenticates, Public key algorithm Digest algorithm Encryption algorithm Each make sense in some scenarios A good protocol is adaptable This means some kind of negotiation This needs to be protected to prevent downgrade attacks Eric Rescorla SSH, SSL, and IPsec 31
32 A complete channel security protocol Alice Bob Random1,Algorithms Random2,Algorithm,Cert b Cert a,mac(zz,handshakemsgs) M AC(ZZ,HandshakeM sgs) E(k a b,(message1,mac)) E(k b a,(message2,mac)) Eric Rescorla SSH, SSL, and IPsec 32
33 Secure Sockets Layer (SSL) Originally a Netscape proprietary protocol Target application: e-commerce What people thought the Web was for in 1994 Objective: send my credit card to Amazon securely Basic principles (ca. 1994) The server is authenticated (via certificate) The client is unauthenticated This should be easy to plug in to both sides Eric Rescorla SSH, SSL, and IPsec 33
34 SSL/TLS History (1) SSLv1 (never released) Designed by Kipp Hickman Severe security flaws (immediately obvious to anyone who knew crypto) SSLv2 Hickman again (after being beaten up by others) Modest security flaws (truncation attacks, downgrade) Very widely deployed SSLv3 Freier, Karlton, Kocher Fixes the above problems Eric Rescorla SSH, SSL, and IPsec 34
35 SSL/TLS History (2) Transport Layer Security (TLS) 1.0 (RFC 2246) First standardized version of SSL Modest improvements to key derivation TLS 1.1 (RFC 4346) Fixes for modest security flaws TLS 1.2 (RFC 5246) Flexibility for hash functions (thanks Dr. Wang!) As you can see, this is in maintenance mode Eric Rescorla SSH, SSL, and IPsec 35
36 Client HTTP over SSL (HTTPS) T CP SY N T CP SY N ACK T CP ACK Server SSL Handshake HT T P Request HT T P Response The client knows that the server expects HTTPS It s in the URL It s on a separate port The server s certificate has its domain name ( Eric Rescorla SSH, SSL, and IPsec 36
37 SSL Session Resumption Asymmetric (private key) operations are expensive And HTTPS tends to involve a lot of SSL/TCP connections Caching pays off here Each handshake establishes a session Clients can resume the session with the same keying material Thus skipping the key exchange Eric Rescorla SSH, SSL, and IPsec 37
38 Upward Negotiation What if the client and server don t know each other s capabilities Would be nice to discover them And automatically upgrade to TLS Example: SMTP Client Server HELO + T LS OK do T LS SSL Handshake SMT P transaction Of course, this allows downgrade attacks Eric Rescorla SSH, SSL, and IPsec 38
39 DoS Attacks on SSL/TLS Resource consumption Public key operations are expensive Client can force the server to do a lot of them But not blindly (TCP handshake) State on the server side SSL/TLS connection runs over TCP TCP connections are easy to DoS SSL/TLS can t protect you from this Needs to be at a lower layer Eric Rescorla SSH, SSL, and IPsec 39
40 Datagram TLS (RFC 4347) TLS requires a reliable channel The handshake is in sequence The data records depend on each other In practice this means TCP What about unreliable channels? DTLS is a slight modification of TLS Reliability for the handshake Record independence More DoS resistance (more on this later) Eric Rescorla SSH, SSL, and IPsec 40
41 Secure Shell (SSH) Originally designed by Tatu Ylonen Replacement for rsh Now the standard tool for secure remote login A lot of authentication mechanisms Other features Remote X File transfer Port forwarding Original version was seriously broken Later standardized versions are better Transport protocol looks a lot like TLS Eric Rescorla SSH, SSL, and IPsec 41
42 SSH leap of faith authentication No certificates server just has a raw public key The server provides the key when the client connects The client stores the server s key on first connection Any changes in the key are an error The key can be authenticated out of band The server operator tells the client the key fingerprint (hash) over the phone But only the most paranoid people do this This was considered insanity at the time Now it s considered clever Eric Rescorla SSH, SSL, and IPsec 42
43 SSL Key Exchange Protocol Client Server P rotocol=ssh P rotocol=ssl KeyExInit(algorithms...) KeyExInit(algorithms...) DH(group size) p,g DH c pub DH s pub,sign(ks priv,dhs pub ) Eric Rescorla SSH, SSL, and IPsec 43
44 SSH Client Authentication Server is authenticated first Client is then authenticated Raw password Challenge-response Public key GSS-API Kerberos Mechanisms are negotiated Eric Rescorla SSH, SSL, and IPsec 44
45 SSL Client Authentication Protocol Client Server Auth: None Auth: publickey,password,... publickey=xxx No publickey=y Y Y No signature OK Eric Rescorla SSH, SSL, and IPsec 45
46 Port Forwarding SSH provides a port forwarding feature Example: X11 remote X Server X Client localhost:6000 localhost:xxxx SSH Client SSH Server SSH server does setenv DISPLAY localhost:xxxx Apps just automatically work Eric Rescorla SSH, SSL, and IPsec 46
47 Secure Remote Shell SSH is backward compatible with rsh So other applications can be securely remoted Even without port forwarding Examples CVS rsync dump/restore Apps don t need security, just remote access Eric Rescorla SSH, SSL, and IPsec 47
48 IPsec: IP Security Basic idea: secure IP datagrams Instead of at application layer like TLS or SSH Why was this considered a good idea? Secure all traffic, not just TCP/UDP Automatically secure applications Without any change to the application Built-in-firewalling/access control Eric Rescorla SSH, SSL, and IPsec 48
49 IPsec history Work started in General agreement on packet formats early on Though confusion about integrity vs. authentication Key agreement was very controversial Design issues IPR issues First proposed standards published in 1998 Mishmash of IKE, ISAKMP, OAKLEY Complaints about clarity and complexity IKEv2 approved in 2005 Eric Rescorla SSH, SSL, and IPsec 49
50 IPsec architecture User Space Kernel Space HTTP SMTP... IKE Transport TCP/UDP IP SPD IPsec SAD Eric Rescorla SSH, SSL, and IPsec 50
51 IPsec Packet Formats IP Hdr IPsec Hdr TCP Hdr Data Transport Mode IP Hdr IPsec Hdr IP Hdr TCP Hdr Data Tunnel Mode Eric Rescorla SSH, SSL, and IPsec 51
52 IKE Anonymity The handshakes we ve seen leak your identity to passive attackers Arguably this is bad IKE tries to stop this Initiator Responder DH i pub DH r pub {CERT i } {CERT r } An active attacker can get the initiator s identity Eric Rescorla SSH, SSL, and IPsec 52
53 IKE DoS prevention Objective: prevent blind DoS attacks Initiator Responder DH i pub T icket DH i pub,t icket DH r pub {CERT i } Ticket has to be stateless {CERT r } Eric Rescorla SSH, SSL, and IPsec 53
54 IPsec Status Many implementations Windows, OS/X, Linux, FreeBSD, IOS... Nearly all deployments are in VPN settings And peopel are cutting over to SSL/VPN Semi-manual configuration This is not what was intended Widely regarded as a semi-failure Eric Rescorla SSH, SSL, and IPsec 54
55 What was wrong with IPsec? Complexity Time to market Wrong design goals Hard to use Eric Rescorla SSH, SSL, and IPsec 55
56 Final thoughts All of these protocols look strikingly alike To some extent they were designed by the same people But also there appear to only be so many ways to do this All have gone through multiple revisions This is really hard to get right Even when you ave experienced people Don t invent your own Usage models matter SSL/TLS and SSH got this right IPsec did not Eric Rescorla SSH, SSL, and IPsec 56
Security. Contents. S-72.3240 Wireless Personal, Local, Metropolitan, and Wide Area Networks 1
Contents Security requirements Public key cryptography Key agreement/transport schemes Man-in-the-middle attack vulnerability Encryption. digital signature, hash, certification Complete security solutions
Chapter 7 Transport-Level Security
Cryptography and Network Security Chapter 7 Transport-Level Security Lectured by Nguyễn Đức Thái Outline Web Security Issues Security Socket Layer (SSL) Transport Layer Security (TLS) HTTPS Secure Shell
Secure Sockets Layer (SSL ) / Transport Layer Security (TLS) Network Security Products S31213
Secure Sockets Layer (SSL ) / Transport Layer Security (TLS) Network Security Products S31213 UNCLASSIFIED Example http ://www. greatstuf f. com Wants credit card number ^ Look at lock on browser Use https
Real-Time Communication Security: SSL/TLS. Guevara Noubir [email protected] CSU610
Real-Time Communication Security: SSL/TLS Guevara Noubir [email protected] CSU610 1 Some Issues with Real-time Communication Session key establishment Perfect Forward Secrecy Diffie-Hellman based PFS
Transport Level Security
Transport Level Security Overview Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 [email protected] Audio/Video recordings of this lecture are available at: http://www.cse.wustl.edu/~jain/cse571-14/
Secure Socket Layer (SSL) and Transport Layer Security (TLS)
Secure Socket Layer (SSL) and Transport Layer Security (TLS) Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 [email protected] Audio/Video recordings of this lecture are available
Network Security Essentials Chapter 5
Network Security Essentials Chapter 5 Fourth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 5 Transport-Level Security Use your mentality Wake up to reality From the song, "I've Got
3.2: Transport Layer: SSL/TLS Secure Socket Layer (SSL) Transport Layer Security (TLS) Protocol
Chapter 2: Security Techniques Background Chapter 3: Security on Network and Transport Layer Network Layer: IPSec Transport Layer: SSL/TLS Chapter 4: Security on the Application Layer Chapter 5: Security
Chapter 17. Transport-Level Security
Chapter 17 Transport-Level Security Web Security Considerations The World Wide Web is fundamentally a client/server application running over the Internet and TCP/IP intranets The following characteristics
Security Protocols HTTPS/ DNSSEC TLS. Internet (IPSEC) Network (802.1x) Application (HTTP,DNS) Transport (TCP/UDP) Transport (TCP/UDP) Internet (IP)
Security Protocols Security Protocols Necessary to communicate securely across untrusted network Provide integrity, confidentiality, authenticity of communications Based on previously discussed cryptographic
Client Server Registration Protocol
Client Server Registration Protocol The Client-Server protocol involves these following steps: 1. Login 2. Discovery phase User (Alice or Bob) has K s Server (S) has hash[pw A ].The passwords hashes are
Network Security Fundamentals
APNIC elearning: Network Security Fundamentals 27 November 2013 04:30 pm Brisbane Time (GMT+10) Introduction Presenter Sheryl Hermoso Training Officer [email protected] Specialties: Network Security IPv6
Overview of CSS SSL. SSL Cryptography Overview CHAPTER
CHAPTER 1 Secure Sockets Layer (SSL) is an application-level protocol that provides encryption technology for the Internet, ensuring secure transactions such as the transmission of credit card numbers
APNIC elearning: Network Security Fundamentals. 20 March 2013 10:30 pm Brisbane Time (GMT+10)
APNIC elearning: Network Security Fundamentals 20 March 2013 10:30 pm Brisbane Time (GMT+10) Introduction Presenter/s Nurul Islam Roman Senior Training Specialist [email protected] Specialties: Routing &
Chapter 10. Network Security
Chapter 10 Network Security 10.1. Chapter 10: Outline 10.1 INTRODUCTION 10.2 CONFIDENTIALITY 10.3 OTHER ASPECTS OF SECURITY 10.4 INTERNET SECURITY 10.5 FIREWALLS 10.2 Chapter 10: Objective We introduce
7 Network Security. 7.1 Introduction 7.2 Improving the Security 7.3 Internet Security Framework. 7.5 Absolute Security?
7 Network Security 7.1 Introduction 7.2 Improving the Security 7.3 Internet Security Framework 7.4 Firewalls 7.5 Absolute Security? 7.1 Introduction Security of Communications data transport e.g. risk
Using etoken for SSL Web Authentication. SSL V3.0 Overview
Using etoken for SSL Web Authentication Lesson 12 April 2004 etoken Certification Course SSL V3.0 Overview Secure Sockets Layer protocol, version 3.0 Provides communication privacy over the internet. Prevents
Authenticity of Public Keys
SSL/TLS EJ Jung 10/18/10 Authenticity of Public Keys Bob s key? private key Bob public key Problem: How does know that the public key she received is really Bob s public key? Distribution of Public Keys!
Lecture 9 - Network Security TDTS41-2006 (ht1)
Lecture 9 - Network Security TDTS41-2006 (ht1) Prof. Dr. Christoph Schuba Linköpings University/IDA [email protected] Reading: Office hours: [Hal05] 10.1-10.2.3; 10.2.5-10.7.1; 10.8.1 9-10am on Oct. 4+5,
CPS 590.5 Computer Security Lecture 9: Introduction to Network Security. Xiaowei Yang [email protected]
CPS 590.5 Computer Security Lecture 9: Introduction to Network Security Xiaowei Yang [email protected] Previous lectures Worm Fast worm design Today Network security Cryptography building blocks Existing
Topics in Network Security
Topics in Network Security Jem Berkes MASc. ECE, University of Waterloo B.Sc. ECE, University of Manitoba www.berkes.ca February, 2009 Ver. 2 In this presentation Wi-Fi security (802.11) Protecting insecure
Managing and Securing Computer Networks. Guy Leduc. Chapter 4: Securing TCP. connections. connections. Chapter goals: security in practice:
Managing and Securing Computer Networks Guy Leduc Chapter 4: Securing TCP connections Computer Networking: A Top Down Approach, 6 th edition. Jim Kurose, Keith Ross Addison-Wesley, March 2012. (section
Network Security. Gaurav Naik Gus Anderson. College of Engineering. Drexel University, Philadelphia, PA. Drexel University. College of Engineering
Network Security Gaurav Naik Gus Anderson, Philadelphia, PA Lectures on Network Security Feb 12 (Today!): Public Key Crypto, Hash Functions, Digital Signatures, and the Public Key Infrastructure Feb 14:
SBClient SSL. Ehab AbuShmais
SBClient SSL Ehab AbuShmais Agenda SSL Background U2 SSL Support SBClient SSL 2 What Is SSL SSL (Secure Sockets Layer) Provides a secured channel between two communication endpoints Addresses all three
Network Security [2] Plain text Encryption algorithm Public and private key pair Cipher text Decryption algorithm. See next slide
Network Security [2] Public Key Encryption Also used in message authentication & key distribution Based on mathematical algorithms, not only on operations over bit patterns (as conventional) => much overhead
Overview. SSL Cryptography Overview CHAPTER 1
CHAPTER 1 Note The information in this chapter applies to both the ACE module and the ACE appliance unless otherwise noted. The features in this chapter apply to IPv4 and IPv6 unless otherwise noted. Secure
Is Your SSL Website and Mobile App Really Secure?
Is Your SSL Website and Mobile App Really Secure? Agenda What is SSL / TLS SSL Vulnerabilities PC/Server Mobile Advice to the Public Hong Kong Computer Emergency Response Team Coordination Centre 香 港 電
Security vulnerabilities in the Internet and possible solutions
Security vulnerabilities in the Internet and possible solutions 1. Introduction The foundation of today's Internet is the TCP/IP protocol suite. Since the time when these specifications were finished in
INF3510 Information Security University of Oslo Spring 2011. Lecture 9 Communication Security. Audun Jøsang
INF3510 Information Security University of Oslo Spring 2011 Lecture 9 Communication Security Audun Jøsang Outline Network security concepts Communication security Perimeter security Protocol architecture
Network Security. Marcus Bendtsen Institutionen för Datavetenskap (IDA) Avdelningen för Databas- och Informationsteknik (ADIT)
Network Security Securing communications (SSL/TLS and IPSec) Marcus Bendtsen Institutionen för Datavetenskap (IDA) Avdelningen för Databas- och Informationsteknik (ADIT) Network communication Who are you
Using BroadSAFE TM Technology 07/18/05
Using BroadSAFE TM Technology 07/18/05 Layers of a Security System Security System Data Encryption Key Negotiation Authentication Identity Root Key Once root is compromised, all subsequent layers of security
Security Protocols/Standards
Security Protocols/Standards Security Protocols/Standards Security Protocols/Standards How do we actually communicate securely across a hostile network? Provide integrity, confidentiality, authenticity
Chapter 8 Security. IC322 Fall 2014. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012
Chapter 8 Security IC322 Fall 2014 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 All material copyright 1996-2012 J.F Kurose and K.W. Ross, All
mod_ssl Cryptographic Techniques
mod_ssl Overview Reference The nice thing about standards is that there are so many to choose from. And if you really don t like all the standards you just have to wait another year until the one arises
Network Security. Lecture 3
Network Security Lecture 3 Design and Analysis of Communication Networks (DACS) University of Twente The Netherlands Security protocols application transport network datalink physical Contents IPSec overview
Authentication Types. Password-based Authentication. Off-Line Password Guessing
Authentication Types Chapter 2: Security Techniques Background Secret Key Cryptography Public Key Cryptography Hash Functions Authentication Chapter 3: Security on Network and Transport Layer Chapter 4:
APNIC elearning: IPSec Basics. Contact: [email protected]. esec03_v1.0
APNIC elearning: IPSec Basics Contact: [email protected] esec03_v1.0 Overview Virtual Private Networks What is IPsec? Benefits of IPsec Tunnel and Transport Mode IPsec Architecture Security Associations
Web Payment Security. A discussion of methods providing secure communication on the Internet. Zhao Huang Shahid Kahn
Web Payment Security A discussion of methods providing secure communication on the Internet Group Members: Peter Heighton Zhao Huang Shahid Kahn 1. Introduction Within this report the methods taken to
Outline. INF3510 Information Security. Lecture 10: Communications Security. Communication Security Analogy. Network Security Concepts
Outline INF3510 Information Security Lecture 10: Communications Security Network security concepts Communication security Perimeter security Protocol architecture and security services Example security
SSL/TLS: The Ugly Truth
SSL/TLS: The Ugly Truth Examining the flaws in SSL/TLS protocols, and the use of certificate authorities. Adrian Hayter CNS Hut 3 Team [email protected] Contents Introduction to SSL/TLS Cryptography
CRYPTOGRAPHY IN NETWORK SECURITY
ELE548 Research Essays CRYPTOGRAPHY IN NETWORK SECURITY AUTHOR: SHENGLI LI INSTRUCTOR: DR. JIEN-CHUNG LO Date: March 5, 1999 Computer network brings lots of great benefits and convenience to us. We can
Secure Socket Layer. Carlo U. Nicola, SGI FHNW With extracts from publications of : William Stallings.
Secure Socket Layer Carlo U. Nicola, SGI FHNW With extracts from publications of : William Stallings. Abstraction: Crypto building blocks NS HS13 2 Abstraction: The secure channel 1., run a key-exchange
Lecture 10: Communications Security
INF3510 Information Security Lecture 10: Communications Security Audun Jøsang University of Oslo Spring 2015 Outline Network security concepts Communication security Perimeter security Protocol architecture
Module 8. Network Security. Version 2 CSE IIT, Kharagpur
Module 8 Network Security Lesson 2 Secured Communication Specific Instructional Objectives On completion of this lesson, the student will be able to: State various services needed for secured communication
Network Security Web Security and SSL/TLS. Angelos Keromytis Columbia University
Network Security Web Security and SSL/TLS Angelos Keromytis Columbia University Web security issues Authentication (basic, digest) Cookies Access control via network address Multiple layers SHTTP SSL (TLS)
Lecture 9: Application of Cryptography
Lecture topics Cryptography basics Using SSL to secure communication links in J2EE programs Programmatic use of cryptography in Java Cryptography basics Encryption Transformation of data into a form that
CSE/EE 461 Lecture 23
CSE/EE 461 Lecture 23 Network Security David Wetherall [email protected] Last Time Naming Application Presentation How do we name hosts etc.? Session Transport Network Domain Name System (DNS) Data
2.4: Authentication Authentication types Authentication schemes: RSA, Lamport s Hash Mutual Authentication Session Keys Trusted Intermediaries
Chapter 2: Security Techniques Background Secret Key Cryptography Public Key Cryptography Hash Functions Authentication Chapter 3: Security on Network and Transport Layer Chapter 4: Security on the Application
Computer Networks. Secure Systems
Computer Networks Secure Systems Summary Common Secure Protocols SSH HTTPS (SSL/TSL) IPSec Wireless Security WPA2 PSK vs EAP Firewalls Discussion Secure Shell (SSH) A protocol to allow secure login to
12/8/2015. Review. Final Exam. Network Basics. Network Basics. Network Basics. Network Basics. 12/10/2015 Thursday 5:30~6:30pm Science S-3-028
Review Final Exam 12/10/2015 Thursday 5:30~6:30pm Science S-3-028 IT443 Network Security Administration Instructor: Bo Sheng True/false Multiple choices Descriptive questions 1 2 Network Layers Application
Network Security. Computer Networking Lecture 08. March 19, 2012. HKU SPACE Community College. HKU SPACE CC CN Lecture 08 1/23
Network Security Computer Networking Lecture 08 HKU SPACE Community College March 19, 2012 HKU SPACE CC CN Lecture 08 1/23 Outline Introduction Cryptography Algorithms Secret Key Algorithm Message Digest
EXAM questions for the course TTM4135 - Information Security May 2013. Part 1
EXAM questions for the course TTM4135 - Information Security May 2013 Part 1 This part consists of 5 questions all from one common topic. The number of maximal points for every correctly answered question
Q: Why security protocols?
Security Protocols Q: Why security protocols? Alice Bob A: To allow reliable communication over an untrusted channel (eg. Internet) 2 Security Protocols are out there Confidentiality Authentication Example:
Network Security. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross 8-1
Network Security Abusayeed Saifullah CS 5600 Computer Networks These slides are adapted from Kurose and Ross 8-1 Public Key Cryptography symmetric key crypto v requires sender, receiver know shared secret
Security Engineering Part III Network Security. Security Protocols (I): SSL/TLS
Security Engineering Part III Network Security Security Protocols (I): SSL/TLS Juan E. Tapiador [email protected] Department of Computer Science, UC3M Security Engineering 4th year BSc in Computer Science,
Communication Security for Applications
Communication Security for Applications Antonio Carzaniga Faculty of Informatics University of Lugano March 10, 2008 c 2008 Antonio Carzaniga 1 Intro to distributed computing: -server computing Transport-layer
Implementing and Managing Security for Network Communications
3 Implementing and Managing Security for Network Communications............................................... Terms you ll need to understand: Internet Protocol Security (IPSec) Authentication Authentication
Chapter 3. Network Domain Security
Communication System Security, Chapter 3, Draft, L.D. Chen and G. Gong, 2008 1 Chapter 3. Network Domain Security A network can be considered as the physical resource for a communication system. This chapter
Part 2 D(E(M, K),K ) E(M, K) E(M, K) Plaintext M. Plaintext M. Decrypt with private key. Encrypt with public key. Ciphertext
Part 2 Plaintext M Encrypt with public key E(M, K) Ciphertext Plaintext M D(E(M, K),K ) Decrypt with private key E(M, K) Public and private key related mathematically Public key can be published; private
Web Security Considerations
CEN 448 Security and Internet Protocols Chapter 17 Web Security Dr. Mostafa Hassan Dahshan Computer Engineering Department College of Computer and Information Sciences King Saud University [email protected]
Network Security Protocols
Network Security Protocols EE657 Parallel Processing Fall 2000 Peachawat Peachavanish Level of Implementation Internet Layer Security Ex. IP Security Protocol (IPSEC) Host-to-Host Basis, No Packets Discrimination
BlackBerry Enterprise Service 10. Secure Work Space for ios and Android Version: 10.1.1. Security Note
BlackBerry Enterprise Service 10 Secure Work Space for ios and Android Version: 10.1.1 Security Note Published: 2013-06-21 SWD-20130621110651069 Contents 1 About this guide...4 2 What is BlackBerry Enterprise
Secure Shell SSH provides support for secure remote login, secure file transfer, and secure TCP/IP and X11 forwarding. It can automatically encrypt,
Secure Shell SSH provides support for secure remote login, secure file transfer, and secure TCP/IP and X11 forwarding. It can automatically encrypt, authenticate, and compress transmitted data. The main
CS 356 Lecture 27 Internet Security Protocols. Spring 2013
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
ERserver. iseries. Securing applications with SSL
ERserver iseries Securing applications with SSL ERserver iseries Securing applications with SSL Copyright International Business Machines Corporation 2000, 2001. All rights reserved. US Government Users
Security agility solution independent of the underlaying protocol architecture
Security agility solution independent of the underlaying protocol architecture Valter Vasić and Miljenko Mikuc University of Zagreb, Faculty of Electrical Engineering and Computing, Unska 3, 10000 Zagreb,
How To Understand And Understand The Ssl Protocol (Www.Slapl) And Its Security Features (Protocol)
WEB Security: Secure Socket Layer Cunsheng Ding HKUST, Hong Kong, CHINA C. Ding - COMP581 - L22 1 Outline of this Lecture Brief Information on SSL and TLS Secure Socket Layer (SSL) Transport Layer Security
SSL: Secure Socket Layer
SSL: Secure Socket Layer Steven M. Bellovin February 12, 2009 1 Choices in Key Exchange We have two basic ways to do key exchange, public key (with PKI or pki) or KDC Which is better? What are the properties
Secure Socket Layer. Introduction Overview of SSL What SSL is Useful For
Secure Socket Layer Secure Socket Layer Introduction Overview of SSL What SSL is Useful For Introduction Secure Socket Layer (SSL) Industry-standard method for protecting web communications. - Data encryption
, ) I Transport Layer Security
Secure Sockets Layer (SSL, ) I Transport Layer Security _ + (TLS) Network Security Products S31213 UNCLASSIFIED Location of SSL -L Protocols TCP Ethernet IP SSL Header Encrypted SSL data= HTTP " Independent
Transport Layer Security Protocols
SSL/TLS 1 Transport Layer Security Protocols Secure Socket Layer (SSL) Originally designed to by Netscape to secure HTTP Version 2 is being replaced by version 3 Subsequently became Internet Standard known
Using IKEv2 on Juniper Networks Junos Pulse Secure Access Appliance
Using IKEv2 on Juniper Networks Junos Pulse Secure Access Appliance Juniper Networks, Inc. 1 Table of Contents Before we begin... 3 Configuring IKEv2 on IVE... 3 IKEv2 Client Side Configuration on Windows
Three attacks in SSL protocol and their solutions
Three attacks in SSL protocol and their solutions Hong lei Zhang Department of Computer Science The University of Auckland [email protected] Abstract Secure Socket Layer (SSL) and Transport Layer
Insecure network services. Firewalls. Two separable topics. Packet filtering. Example: blocking forgeries. Example: blocking outgoing mail
Insecure network services NFS (port 2049) - Read/write entire FS as any non-root user given a dir. handle - Many OSes make handles easy to guess Portmap (port 111) - Relays RPC requests, making them seem
Network Security. Abusayeed Saifullah. CS 5600 Computer Networks. These slides are adapted from Kurose and Ross 8-1
Network Security Abusayeed Saifullah CS 5600 Computer Networks These slides are adapted from Kurose and Ross 8-1 roadmap 1 What is network security? 2 Principles of cryptography 3 Message integrity, authentication
Securing IP Networks with Implementation of IPv6
Securing IP Networks with Implementation of IPv6 R.M.Agarwal DDG(SA), TEC Security Threats in IP Networks Packet sniffing IP Spoofing Connection Hijacking Denial of Service (DoS) Attacks Man in the Middle
Secure Sockets Layer
SSL/TLS provides endpoint authentication and communications privacy over the Internet using cryptography. For web browsing, email, faxing, other data transmission. In typical use, only the server is authenticated
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.
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 We have learned Symmetric encryption: DES, 3DES, AES,
Security: Focus of Control. Authentication
Security: Focus of Control Three approaches for protection against security threats a) Protection against invalid operations b) Protection against unauthorized invocations c) Protection against unauthorized
Secure Sockets Layer (SSL) / Transport Layer Security (TLS)
Secure Sockets Layer (SSL) / Transport Layer Security (TLS) Brad Karp UCL Computer Science CS GZ03 / M030 19 th November 2014 What Problems Do SSL/TLS Solve? Two parties, client and server, not previously
Communication Systems 16 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2009
16 th lecture Chair of Communication Systems Department of Applied Sciences University of Freiburg 2009 1 25 Organization Welcome to the New Year! Reminder: Structure of Communication Systems lectures
SY0-201. system so that an unauthorized individual can take over an authorized session, or to disrupt service to authorized users.
system so that an unauthorized individual can take over an authorized session, or to disrupt service to authorized users. From a high-level standpoint, attacks on computer systems and networks can be grouped
Chapter 32 Internet Security
Chapter 32 Internet Security Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 32: Outline 32.1 NETWORK-LAYER SECURITY 32.2 TRANSPORT-LAYER SECURITY 32.3
CIS 6930 Emerging Topics in Network Security. Topic 2. Network Security Primitives
CIS 6930 Emerging Topics in Network Security Topic 2. Network Security Primitives 1 Outline Absolute basics Encryption/Decryption; Digital signatures; D-H key exchange; Hash functions; Application of hash
As enterprises conduct more and more
Efficiently handling SSL transactions is one cornerstone of your IT security infrastructure. Do you know how the protocol actually works? Wesley Chou Inside SSL: The Secure Sockets Layer Protocol Inside
Cryptography and Network Security
Cryptography and Network Security Spring 2012 http://users.abo.fi/ipetre/crypto/ Lecture 9: Authentication protocols, digital signatures Ion Petre Department of IT, Åbo Akademi University 1 Overview of
SSL/TLS. What Layer? History. SSL vs. IPsec. SSL Architecture. SSL Architecture. IT443 Network Security Administration Instructor: Bo Sheng
What Layer? /TLS IT443 Network Security Administration Instructor: Bo Sheng Application TCP IPSec IP LAN layer Application TCP IP LAN layer 1 2 History v2 proposed and deployed in Netscape 1.1 (1995) PCT
Part III-b. Universität Klagenfurt - IWAS Multimedia Kommunikation (VK) M. Euchner; Mai 2001. Siemens AG 2001, ICN M NT
Part III-b Contents Part III-b Secure Applications and Security Protocols Practical Security Measures Internet Security IPSEC, IKE SSL/TLS Virtual Private Networks Firewall Kerberos SET Security Measures
Message authentication and. digital signatures
Message authentication and " Message authentication digital signatures verify that the message is from the right sender, and not modified (incl message sequence) " Digital signatures in addition, non!repudiation
Is your data safe out there? -A white Paper on Online Security
Is your data safe out there? -A white Paper on Online Security Introduction: People should be concerned of sending critical data over the internet, because the internet is a whole new world that connects
WEB Security & SET. Outline. Web Security Considerations. Web Security Considerations. Secure Socket Layer (SSL) and Transport Layer Security (TLS)
Outline WEB Security & SET (Chapter 19 & Stalling Chapter 7) Web Security Considerations Secure Socket Layer (SSL) and Transport Layer Security (TLS) Secure Electronic Transaction (SET) Web Security Considerations
Authentication applications Kerberos X.509 Authentication services E mail security IP security Web security
UNIT 4 SECURITY PRACTICE Authentication applications Kerberos X.509 Authentication services E mail security IP security Web security Slides Courtesy of William Stallings, Cryptography & Network Security,
Secure Socket Layer (TLS) Carlo U. Nicola, SGI FHNW With extracts from publications of : William Stallings.
Secure Socket Layer (TLS) Carlo U. Nicola, SGI FHNW With extracts from publications of : William Stallings. Crypto building blocks AS HS13 2 Abstraction: The secure channel 1., run a key-exchange protocol
Introduction to Cryptography
Introduction to Cryptography Part 3: real world applications Jean-Sébastien Coron January 2007 Public-key encryption BOB ALICE Insecure M E C C D channel M Alice s public-key Alice s private-key Authentication
1720 - Forward Secrecy: How to Secure SSL from Attacks by Government Agencies
1720 - Forward Secrecy: How to Secure SSL from Attacks by Government Agencies Dave Corbett Technical Product Manager Implementing Forward Secrecy 1 Agenda Part 1: Introduction Why is Forward Secrecy important?
Chapter 8. Cryptography Symmetric-Key Algorithms. Digital Signatures Management of Public Keys Communication Security Authentication Protocols
Network Security Chapter 8 Cryptography Symmetric-Key Algorithms Public-Key Algorithms Digital Signatures Management of Public Keys Communication Security Authentication Protocols Email Security Web Security
Outline. Transport Layer Security (TLS) Security Protocols (bmevihim132)
Security Protocols (bmevihim132) Dr. Levente Buttyán associate professor BME Híradástechnikai Tanszék Lab of Cryptography and System Security (CrySyS) [email protected], [email protected] Outline - architecture
IT Networks & Security CERT Luncheon Series: Cryptography
IT Networks & Security CERT Luncheon Series: Cryptography Presented by Addam Schroll, IT Security & Privacy Analyst 1 Outline History Terms & Definitions Symmetric and Asymmetric Algorithms Hashing PKI
