How Secure are IPsec and SSL VPN encryptions

38
Virtual Private Networks and how secure they are..

Transcript of How Secure are IPsec and SSL VPN encryptions

Page 1: How Secure are IPsec and SSL VPN encryptions

Virtual Private Networksand how secure they are..

Page 2: How Secure are IPsec and SSL VPN encryptions

Agenda

• VPN and types of VPN• Types of encryption• SSL and Public Key Infrastructure• Diffie-Hellman Key Exchange• IPsec VPN and phases of IPsec

Page 3: How Secure are IPsec and SSL VPN encryptions

What is VPN?

• A VPN or Virtual Private Network is a method used to add security and privacy to private and public networks, like WiFi Hotspots and the Internet.

Page 4: How Secure are IPsec and SSL VPN encryptions

Types of VPN

• Site-to-site VPN– Intranet VPN– Extranet VPN

• Remote VPN

Page 5: How Secure are IPsec and SSL VPN encryptions

Site-to-Site VPN

Page 6: How Secure are IPsec and SSL VPN encryptions

Remote VPN

Page 7: How Secure are IPsec and SSL VPN encryptions

Encryption• In cryptography, encryption is the process of

encoding messages or information in such a way that only authorized parties can read it.

Page 8: How Secure are IPsec and SSL VPN encryptions

Types of Encryption

Page 9: How Secure are IPsec and SSL VPN encryptions

Symmetric Encryption

Page 10: How Secure are IPsec and SSL VPN encryptions

Asymmetric Encryption

Page 11: How Secure are IPsec and SSL VPN encryptions

Asymmetric Encryption Contd.

Page 12: How Secure are IPsec and SSL VPN encryptions

Public Key Infrastructure

Page 13: How Secure are IPsec and SSL VPN encryptions

SSL – Secure Socket Layer

• SSL (Secure Sockets Layer) is a standard security technology for establishing an encrypted link between a server and a client—typically a web server (website) and a browser; or a mail server and a mail client (e.g., Outlook).

Page 14: How Secure are IPsec and SSL VPN encryptions

SSL - Secure Socket Layer

Page 15: How Secure are IPsec and SSL VPN encryptions

SSL Bar – Green and Red

Page 16: How Secure are IPsec and SSL VPN encryptions

SSL bar and certificates cont..

Page 17: How Secure are IPsec and SSL VPN encryptions
Page 18: How Secure are IPsec and SSL VPN encryptions
Page 19: How Secure are IPsec and SSL VPN encryptions

What is SSL again?

Page 20: How Secure are IPsec and SSL VPN encryptions
Page 21: How Secure are IPsec and SSL VPN encryptions

SSL/HTTPS Proxy

Page 22: How Secure are IPsec and SSL VPN encryptions
Page 23: How Secure are IPsec and SSL VPN encryptions

IPsec – Internet Protocol Security

• IPsec is a protocol suite for secure IP communications that works by authenticating and encrypting each IP packet of a communication session. IPsec includes protocols for establishing mutual authentication between agents at the beginning of the session and negotiation of cryptographic keys to be used during the session.

Page 24: How Secure are IPsec and SSL VPN encryptions

IPsec Encapsulation

Page 25: How Secure are IPsec and SSL VPN encryptions

Diffie-Hellman Key Exchange

• Diffie–Hellman key exchange is a specific method of securely exchanging cryptographic keys over a public channel and was one of the first public-key protocols named after Whitfield Diffie and Martin Hellman.

Page 26: How Secure are IPsec and SSL VPN encryptions

Cryptographic Explanation

• Here is an example of the protocol, with non-secret values in blue, and secret values in red.

1. Alice and Bob agree to use a modulus p = 23 and base g = 5 (which is a primitive root modulo 23).

2. Alice chooses a secret integer a = 6, then sends Bob A = ga mod p1. A = 56 mod 23 = 8

3. Bob chooses a secret integer b = 15, then sends Alice B = gb mod p1. B = 515 mod 23 = 19

4. Alice computes s = Ba mod p1. s = 196 mod 23 = 2

5. Bob computes s = Ab mod p1. s = 815 mod 23 = 2

6. Alice and Bob now share a secret (the number 2).• Both Alice and Bob have arrived at the same value s, because, under mod p,

Page 27: How Secure are IPsec and SSL VPN encryptions
Page 28: How Secure are IPsec and SSL VPN encryptions

IPsec Phase-1 Messages – Main Mode

Page 29: How Secure are IPsec and SSL VPN encryptions

IPsec Phase-1 Messages – Aggressive Mode

Page 30: How Secure are IPsec and SSL VPN encryptions

IPsec Phase-2 Messages – Quick Mode

Page 31: How Secure are IPsec and SSL VPN encryptions
Page 32: How Secure are IPsec and SSL VPN encryptions

Integrity checking using hashes

Page 33: How Secure are IPsec and SSL VPN encryptions

Nat Traversal

Page 34: How Secure are IPsec and SSL VPN encryptions

Packet without IPsec encryption

Page 35: How Secure are IPsec and SSL VPN encryptions

IPsec Main Mode Negotiation

Page 36: How Secure are IPsec and SSL VPN encryptions

IPsec Aggressive Mode Negotiation

Page 37: How Secure are IPsec and SSL VPN encryptions

Questions?

Page 38: How Secure are IPsec and SSL VPN encryptions

Thank you..!!

Uday Bhatia

[email protected] https://in.linkedin.com/in/

udaybhatia92