• Aucun résultat trouvé

TLS attacks : CRIME & Heartbleed

N/A
N/A
Protected

Academic year: 2022

Partager "TLS attacks : CRIME & Heartbleed"

Copied!
18
0
0

Texte intégral

(1)

TLS attacks :

CRIME & Heartbleed

Valentin ZELIONII Marie SAUVANT François LETTERLE

Pierre LACOUVE Maxime LETERRE

1

(2)

1994 : Netscape creates SSL

1999 : Creation of TLS

2015 : End of SSL

2018 : TLS 1.3 (latest version)

Introduction : TLS history

2

(3)

How does TLS work ?

HTTPS

3

(4)

CRIME Attack Method

Duong and Rizzo at the Ekoparty security conference in 2012

C : Compression R : Ration

I : Info-leak

ME : Made easy

4

(5)

CRIME : Initialization

5

(6)

CRIME Algorithm

6

(7)

CRIME Prevention

Client

Server

Disable the compression of SPDY or HTTPS requests

Prevent the use of data compression on transactions using the protocol

negotiation features of the TLS protocol

7

(8)

CRIME Prevention

- Never supported TLS compression or SPDY

- Only supported SPDY

- The compression was removed in Firefox 15

- Supported both TLS compression and SPDY compression

- The compression was removed in Chrome 21 8

(9)

CRIME Prevention

9

(10)

CRIME Prevention

10

(11)

HeartBleed main characteristics

- Reference : CVE-2014-0160

- OpenSSL versions : 1.0.1 to 1.0.1f and 1.0.2-beta - Vulnerability informations :

- heartbeat extension (RFC6520)

- Introduced in december 2011 by Robin Seggelmann - Released with 1.0.1 on 14th of March 2012

- Alive until 1.0.1g release on 7th of April 2014 (2 years) - Implementation mistake (an equality was not checked)

- Available on apache and nginx servers.

- Informations leaked :

- memory of client and server

- Primary and secondary keys (public and private keys, usernames and passwords) - Protected content (instant messages, emails, business critical documents)

11

(12)

HeartBleed Attack method

12

(13)

HeartBleed Attack method

1. Ask for the server for an answer with a longer response than the word you’re requesting it to answer

2. Wait

3. Profit from an incredibly long and detailed answer from the server

13

(14)

Consequence of HeartBleed

- impossible to detect the attack in the log

- All Web-Server and Router that use SSL versions between March 2012 and April 2014

HeartBleed can be used to retrieve : - Password

- Identifier

- see same encryption key - and other confidential data

14

(15)

The Heartbleed fix

fix :

- 10 elementary code line

- only verification of the size send if the server is potentially vulnerable :

- upgrade to the last version - Change the certificates SSL

- change the passwords of the systems that were exposed

15

(16)

The positive consequences

- in 48 hours: the 500 largest website had fixed the breach - Vulnerability has strong media coverage

- Investment in open source by large companies

16

(17)

Other examples

POODLE ( Padding Oracle On Downgraded Legacy Encryption)

DROWN

17

(18)

Any questions ?

18

Références

Documents relatifs

A single set may contain validity attributes with different validity inter- vals, making the set valid for multiple time intervals (which is essential for our efficient

The effort of everybody —ihe Or- ganizing Committee, the City of Barcelona, the Generalitat of Catalonia, the Government of Spain, as well as the Spanish Olympic Committee, the

For the SVM, the following

In the public-index setting, inner products also proved useful [4] to build adaptively secure identity-based broadcast encryption (IBBE) and revocation schemes with short

modified the Goyal -2 system using attribute-based encryption techniques [36, 26] to achieve full black-box traceability: unlike Goyal - 2 , the scheme of [25] preserves

Nevertheless, the combinatorial R-matrices for fundamental crystals, the orbit of the highest weight vertex in the crystals and the strong Bruhat order on this orbit become more

Tutti i disegni e le fotografie sono di proprietà di Silca, ogni riproduzione anche parziale, senza autorizzazione scritta della Silca è vietata secondo termini di legge.. Per

This brings us to our main question whether we can isolate a complexity class C inside #P that is closed under logspace reductions for which our problem (in the case of