[TLS] Encrypted SNI

Bret Jordan <jordan.ietf@gmail.com> Tue, 03 July 2018 17:08 UTC

Return-Path: <jordan.ietf@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 82FF812F1A6 for <tls@ietfa.amsl.com>; Tue, 3 Jul 2018 10:08:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 DLCOWJqpStik for <tls@ietfa.amsl.com>; Tue, 3 Jul 2018 10:08:35 -0700 (PDT)
Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED7D212D949 for <tls@ietf.org>; Tue, 3 Jul 2018 10:08:34 -0700 (PDT)
Received: by mail-it0-x229.google.com with SMTP id p17-v6so4188615itc.2 for <tls@ietf.org>; Tue, 03 Jul 2018 10:08:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=Xf1cE8KMIKhoDensj4uEYNSjvp2GLvzjYtwpFMZn/Tw=; b=FBvfMiu1mteujMwckH4Xy08UjvRzTEvOXgyB0/XXr900ydwe8HCPw5X6FLfSE5GSCB Yr+x9ssOnJmvy4SXodyBoGuhe2Jh5nfssM+EZOOibjKJruoFiANn6uo87JBqd1HORUmg JpjhMIiKmAASsLg3xIeChLc21y+dRCB5VrcDKowuQhIe2jBZZ59CZz0bBPHeia9N4zax EluaboAzbZCarpwhZh4WpfNAmtmyW3uD9SaQkvGWg+ZRZxwehVoZYan5jHhrv0zZYpqV 6LePlv/w4PwLo06kfhhdhhLRcVgelUqYaRIuk/HkAgEPvHl0s0RqQSDqN9g+WM1fFB6B eI0w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=Xf1cE8KMIKhoDensj4uEYNSjvp2GLvzjYtwpFMZn/Tw=; b=Mt+ZHvtxOsFyKCEw10/2iWB0xiXPVa8/0a2aHGCcyf3bvJ4GTxpm77MP/8ylNZwL5g WAEDq2aFR60vw5Nlo0iQr/vhjYHYuuFwtu4RY3ZxnzLtE2kS6OUn6BjsZzw9E5IBUeF1 QopJzbsYSr5OjQerpHLTozv+gjjXojNeTv5BoVy1p5Ns0/AFEDQUs/RwaGcYyx/BPWsk 0hg67/wUz0Efre9mb3g5oMiX0byOk+MrZ/YE68eSY4B80vBBC+I5UU/Yj8UgYFwpo6/W chiHJUdHhDe2X5P1e6PHATxIXh4QmII1YVcCVno3rXNFsx43dMwsOar+mV9XEzKcBGGI Y49w==
X-Gm-Message-State: APt69E1Y5z01d5n8JvDF8xcwGGrmqTlYmKPeH6B3qDcJzGirQ5JanX7W RZNXRBHaMRkQIP87cm0vs7j2Ots1
X-Google-Smtp-Source: AAOMgpdlQmHj7aJQK6HwPEX9DGAvDEexYfGM1QWZbZB/2kHjn7rQD6350KQGA8htJUW7l68QsezUpg==
X-Received: by 2002:a24:6ed0:: with SMTP id w199-v6mr10221074itc.65.1530637713719; Tue, 03 Jul 2018 10:08:33 -0700 (PDT)
Received: from [10.249.203.139] (67-128-146-21.dia.static.qwest.net. [67.128.146.21]) by smtp.gmail.com with ESMTPSA id m186-v6sm730911ita.11.2018.07.03.10.08.32 for <tls@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Jul 2018 10:08:32 -0700 (PDT)
From: Bret Jordan <jordan.ietf@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_94932F3E-CC2B-42AE-B931-A55DCA16EC68"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
Message-Id: <F4966CAA-454B-4152-A9E5-EA9714978CEA@gmail.com>
Date: Tue, 03 Jul 2018 11:08:21 -0600
To: tls@ietf.org
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/FecR_qZT7H4FE3ywj7bjSQu9w9E>
Subject: [TLS] Encrypted SNI
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Jul 2018 17:08:39 -0000

From a discussion on the PATIENT list found here: https://www.ietf.org/mail-archive/web/patient/current/msg00078.html <https://www.ietf.org/mail-archive/web/patient/current/msg00078.html>


From my personal perspective, we need to be careful with all of these efforts. It feels like the pendulum has swung so far to one side, the side of privacy-at-any-cost, that we are unknowingly increasing the risk to individuals and organizations by enabling threat actors and intrusions sets to attack networks and clients without any level of protection from the network. 

It also feels like a lot of these initiatives are being done without adequately involving and ensuring that enterprise networks and critical infrastructure can work with these changes. Question, do we know how these ideas and changes are going to impact an organizations ability to fulfill their requirements for regulatory compliance? 

If we continue down these paths, then I fear networks will be required to wrap all traffic in some other less secure protocol, outright deny some of these protocols, or be forced to fully proxy all traffic or take an approach that Google has done with their BeyondCorp design.  

The IETF work needs to do more outreach with enterprise networks and critical infrastructure and be fundamentally more inclusive. Privacy-at-any-cost is not a holistic design. 

Thanks,
Bret
PGP Fingerprint: 63B4 FC53 680A 6B7D 1447  F2C0 74F8 ACAE 7415 0050
"Without cryptography vihv vivc ce xhrnrw, however, the only thing that can not be unscrambled is an egg."



### Copied content from the PATIENT discussion ####


On Tue, Jul 3, 2018 at 8:09 AM, Kathleen Moriarty <kathleen.moriarty.ietf at gmail.com <mailto:kathleen.moriarty.ietf%20at%20gmail.com>> wrote:
On Sun, Mar 18, 2018 at 9:06 AM, Eric Rescorla <ekr at rtfm.com <mailto:ekr%20at%20rtfm.com>> wrote:
>
>
> On Sun, Mar 18, 2018 at 12:54 PM, Tony Rutkowski <tony at yaanatech.co..uk>
> wrote:
>>
>> Your point is one that deserves further discussion, Eric - which seems
>> likely to scale rapidly going forward.  It is key.
>>
>> So how does draft-ietf-tls-sni-encryption it into the argument?
>
>
> As you suggest, SNI encryption is intended to conceal the SNI, which of
> course would make SNI inspection difficult.
>
> My evaluation of the current state of SNI encryption is that given the
> current technical state, it will not see particularly wide deployment, with
> the primary scenario being "at-risk" sites who are subject to censorship who
> either hide behind or co-tenant with sites which are not subject to
> censorship. That probably isn't going to be incredibly common right now. Of
> course, this is regrettable from the perspective of people designing these
> protocols, but I think that's the situation.

EKR posted a draft to encrypt SNI, see:
https://www.ietf.org/mail-archive/web/tls/current/msg26468.html <https://www.ietf.org/mail-archive/web/tls/current/msg26468.html>

It targets the CDNs who host most of the web traffic in the US at
least.  The right place to comment on this would be the TLS list of
course, but since proposals are being posted, this is a reality and
needs to be discussed.  Those using SNI need to make sure their use
cases are clear and understood and argue the pros and cons.

Kathleen,

Thanks for pointing out this draft.

As they say, predictions are hard, especially about the future. In March, the ESNI problem looked pretty intractable and then subsequently we had this idea about why it might be workable.

-Ekr

Best regards,
Kathleen

>
> -Ekr
>
>> On 18-Mar-18 8:45 AM, Eric Rescorla wrote:
>>
>> On Sun, Mar 18, 2018 at 12:30 PM, Tony Rutkowski <tony at yaanatech.co.uk <mailto:tony%20at%20yaanatech.co.uk>>
>> wrote:
>>>
>>> Hi Diego,
>>>
>>> It is also worth referencing a relatively recent Lawfare article on the
>>> scaling litigation in the U.S. against those supporting e2e encryption
>>> services or capabilities.
>>>
>>> https://www.lawfareblog.com/did-congress-immunize-twitter-against-lawsuits-supporting-isis <https://www.lawfareblog.com/did-congress-immunize-twitter-against-lawsuits-supporting-isis>
>>>
>>> This litigation trend is also likely to increase the insurance costs of
>>> providers.  Indeed, a provider that supports TLS1.3, QUIC, SNI, etc, may not
>>> even be able to get insurance.  It may be fun and games to play crypto rebel
>>> in venues like the IETF where the risk exposure is minimal, but when it
>>> comes to real world consequences and costs, the equations for providers are
>>> rather different.
>>
>>
>> I think this rather overestimates the degree to which both TLS 1.3 and
>> QUIC change the equation about what a provider is able to determine from
>> traffic inspection. As a practical matter, the primary change from TLS 1.2
>> is that the provider does not get to see the server's certificate, but it
>> does see the SNI. Given that the SNI contains the identity of the server
>> that the client is connected to and that the other identities in the
>> certificate are often whatever the provider decided to co-locate on the same
>> machine, I'm not sure how much information you are really losing.
>>
>> -Ekr
>>
>>>
>>>
>>>
>>> --tony
>>>
>>>
>>> _______________________________________________
>>> PATIENT mailing list
>>> PATIENT at ietf.org <mailto:PATIENT%20at%20ietf.org>
>>> https://www.ietf.org/mailman/listinfo/patient <https://www.ietf.org/mailman/listinfo/patient>
>>
>>
>>
>>
>> _______________________________________________
>> PATIENT mailing list
>> PATIENT at ietf.org <mailto:PATIENT%20at%20ietf.org>
>> https://www.ietf.org/mailman/listinfo/patient <https://www.ietf.org/mailman/listinfo/patient>
>>
>>
>
>
> _______________________________________________
> PATIENT mailing list
> PATIENT at ietf.org <mailto:PATIENT%20at%20ietf.org>
> https://www.ietf.org/mailman/listinfo/patient <https://www.ietf.org/mailman/listinfo/patient>
>



-- 

Best regards,
Kathleen