Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A brief introduction to HTTPS

ThierrySans
April 11, 2016
31

A brief introduction to HTTPS

ThierrySans

April 11, 2016
Tweet

Transcript

  1. Today, we are going to 1. understand HTTP 2. break

    HTTP 3. secure HTTP with HTTPS 4. go beyond HTTPS
  2. The concept of session The session id (a.k.a authentication token)

    is • unique and unforgeable (usually a long random string) • sent back and forth between the web browser and the web server in the cookie • bound to user’s data on the server
  3. How to steal user’s credentials ➡ Brute force the user’s

    password or session ID ➡ Steal the user’s password or session ID
  4. Do you trust the network? ๏ Threat 1 : an

    attacker can eavesdrop messages sent back and forth interesting!
  5. Do you really trust the network? ๏ Threat 2 :

    an attacker can tamper with messages sent back and forth I am example.com! example.com
  6. Confidentiality and Integrity ๏ Threat 1 : an attacker can

    eavesdrop messages sent back and forth
  7. Confidentiality and Integrity ๏ Threat 1 : an attacker can

    eavesdrop messages sent back and forth Confidentiality: how do exchange information secretly?
  8. Confidentiality and Integrity ๏ Threat 1 : an attacker can

    eavesdrop messages sent back and forth Confidentiality: how do exchange information secretly? ๏ Threat 2 : an attacker can tamper messages sent back and forth
  9. Confidentiality and Integrity ๏ Threat 1 : an attacker can

    eavesdrop messages sent back and forth Confidentiality: how do exchange information secretly? ๏ Threat 2 : an attacker can tamper messages sent back and forth Integrity: How do we exchange information reliably?
  10. Generic solution - HTTPS ✓ HTTPS = HTTP + TLS

    ➡ Transport Layer Security (TLS previously known as SSL) provides • confidentiality: end-to-end secure channel • integrity: authentication handshake

  11. Why and when using HTTPS? HTTPS = HTTP + TLS

    ➡ TLS provides • confidentiality: end-to-end secure channel • integrity: authentication handshake
 ➡ HTTPS protects any data send back and forth including: • login and password • session ID ✓ HTTPS everywhere 
 HTTPS must be used during the entire session
  12. Beyond this lecture 15-349 Introduction to Computer and Network Security

    • symmetric and asymmetric crypto-systems • the TLS protocol • network and host-based threat, vulnerabilities, attacks 
 and counter-measures 15-437 Web Application Development • the HTTP protocol • how to deploy your web application over HTTPS • web-based threats, vulnerabilities, attacks and counter-measures