Re: [Cfrg] Security proofs v DH backdoors

Ilari Liusvaara <ilariliusvaara@welho.com> Fri, 28 October 2016 14:08 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2DDEF129AE1 for <cfrg@ietfa.amsl.com>; Fri, 28 Oct 2016 07:08:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.331
X-Spam-Level:
X-Spam-Status: No, score=-2.331 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.431] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GH-BzrGEfNrC for <cfrg@ietfa.amsl.com>; Fri, 28 Oct 2016 07:08:31 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 151431294B8 for <cfrg@irtf.org>; Fri, 28 Oct 2016 07:08:30 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 8F6D612B56; Fri, 28 Oct 2016 17:08:29 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id BOGn2oSHkLmn; Fri, 28 Oct 2016 17:08:29 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 337E02313; Fri, 28 Oct 2016 17:08:29 +0300 (EEST)
Date: Fri, 28 Oct 2016 17:08:27 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Peter Gutmann <pgut001@cs.auckland.ac.nz>
Message-ID: <20161028140827.GA24613@LK-Perkele-V2.elisa-laajakaista.fi>
References: <20161025131014.5709905.2866.6563@blackberry.com> <20161025133016.GA9081@LK-Perkele-V2.elisa-laajakaista.fi> <1477456366629.49872@cs.auckland.ac.nz>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <1477456366629.49872@cs.auckland.ac.nz>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/2G8_4YdFUqa8p5q8QSQBanlOYlQ>
Cc: CFRG <cfrg@irtf.org>
Subject: Re: [Cfrg] Security proofs v DH backdoors
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Oct 2016 14:08:33 -0000

On Wed, Oct 26, 2016 at 04:32:49AM +0000, Peter Gutmann wrote:
> Ilari Liusvaara <ilariliusvaara@welho.com> writes:
> 
> >I think there was one TLS implementation that tries to verify the groups sent
> >(of course, not all can be verified, even if those aren't maliscously
> >constructed).
> 
> (Hey, I've got to get the maximum mileage out of this one :-).  LTS has
> already foiled attacks that postdate its publication, so you know it's a good
> thing).

Unfortunately, LTS is a non-starter as web browsers are concerned. And
it is pretty much non-starter as far as everything else is concerned.

It also does not fix the reasons why web browers are first moving DHE
behind fallback and now deimplementing it entierely (because you can't
realistically reject any DHE parameters, but if you dont reject insecure
ones, you get serious security problems. Catch 22.).

Heck, the web browser vendors don't seem to be interested in DHE in TLS
1.3, even after -15 fixed the "DHE downnegotiation" problem (TLS 1.3
draft 15 and forward are not affected by the major trouble DHE causes
in prior TLS versions).

And the "backup" of DHE is unfortunately RSA key exchange, which is
well-known to be very broken (serious security problems).

So the only asymmetric key exchange that actually works is ECDHE
(P-256 or X25519).


-Ilari