Re: Malicious Version Negotiation Handling (Was: Questions about Version Negotiation Concerning Possible Handshake Interruption)
Eric Rescorla <ekr@rtfm.com> Mon, 19 February 2018 04:42 UTC
Return-Path: <ekr@rtfm.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E4E11201FA for <quic@ietfa.amsl.com>; Sun, 18 Feb 2018 20:42:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20150623.gappssmtp.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 qhjSesShdvsT for <quic@ietfa.amsl.com>; Sun, 18 Feb 2018 20:42:18 -0800 (PST)
Received: from mail-qt0-x233.google.com (mail-qt0-x233.google.com [IPv6:2607:f8b0:400d:c0d::233]) (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 BC19612711A for <quic@ietf.org>; Sun, 18 Feb 2018 20:42:17 -0800 (PST)
Received: by mail-qt0-x233.google.com with SMTP id k25so10795123qtj.9 for <quic@ietf.org>; Sun, 18 Feb 2018 20:42:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1gVXiZZT4HzA4Z9JmFBZJBzhkMxTti0k9Ain7J78lIg=; b=ORp/e4rEUsMhnsZjINDAoTdUNG1qmV4YFCkgwwfrxpqJhLlDgBTOE6vBUw40/mcl9q B7+i1Ip6Ri2QTrf8b1vTZgWzHRgUoHAZHpRA5QKl7zd7nWBU9I4jHNOJe8794KpgB5JK 8FrYGu7ZaHH562PMpyGiJDE29r2Qf+hoYO+pP1x7IavfoQhqgRl5VNBrv0xg8N+4KDoH V76wT10JiqvAa9gpooyAj50SJdy7kqDHL5cnburWJ/MRDeK1p54zeAiqwE9zV1AZexYj WSbclbKq3bf8L48EDqx4EP6j4SLsEfpQgUzGfudnn8Hy31giNUQuM5wDWdA1JwCVKIYe la3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1gVXiZZT4HzA4Z9JmFBZJBzhkMxTti0k9Ain7J78lIg=; b=tgx9JYc0amJAXzr0k5bHv8H4giab8HU2Q0fFSdsDe7/RCthRsspLVAjVhOKN32dANb MfL0K8Rdy/8FJ/aoPb5A0EOLNQz97PBq9x0AvnijxoU5EmJ/t6c6YhnSC2Kt89orCsmX OwpAOTrvUUL+LaXHAMQrxtzFxUFnpBeGk0AC6/LgdIS7B9WoJZrSRwMCXAK851tThfoe 4MoHqSyQQA++bjnmKzLQnnEfYC0cxd0DaWdd8mAjk3O14J4+CHLzpuXns0ozJUpeM/zh fFo3uty5qq/GNj2VbWL3rG2tZQ+EfXEL+cbPM59iCTIJWTe4Vs3UISlMrSahInli7sgY YFfQ==
X-Gm-Message-State: APf1xPCdipsX2o4q06b8o4OaZtclQnmgSGZsNdW0Xhrm7VK7xdd1hI7j FuWlpg7ubVkNhIEkECw3SbuzDOIHeb6yTKO1oXAUeA==
X-Google-Smtp-Source: AH8x224JrEo/k7asfjDbQAEBAC7anDnSDXrQ+BzL6yXVg0Dry+/5eefEVsP8M1Dkl2p/8vXg8IfpxD89MA4yrSYrFV8=
X-Received: by 10.200.42.168 with SMTP id b37mr22807614qta.321.1519015336652; Sun, 18 Feb 2018 20:42:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.200.37.176 with HTTP; Sun, 18 Feb 2018 20:41:36 -0800 (PST)
In-Reply-To: <ae2d881a-1966-dc9a-f69a-44d13ad3d2e8@gmail.com>
References: <1d386744-c46a-842a-b172-24e290e03668@gmail.com> <CABkgnnVRn+1sNZQFB8BZc4VyzN5usLmYJ3xLo+p2uTeW_0Ji_Q@mail.gmail.com> <CAN1APdfpJ0rYPPiOgfcdDRx3noh+YYvJatP0MYTqRRXMBwF6pA@mail.gmail.com> <3d558827-f2a7-877c-e00a-d6a22ef241c5@gmail.com> <CANatvzzZEuJ3TY=+0BMLqbBE5mScG_Jnrypg3xkciykOX78G8A@mail.gmail.com> <CAN1APdfov8Q3E+5NkT5pmMeU=eB=fsnDFe_=BK7TDE0TpXD3yA@mail.gmail.com> <142211e0-c7c9-642f-69ef-5f0d722b77cc@gmail.com> <529ac475-5291-2b2e-acf9-05efe720d584@huitema.net> <6937_1518251684_5A7EAEA4_6937_191_1_5A7EAEA5.2000605@orange.com> <CANatvzz_2BeRns5E-OO=CKKwK66LgMd=3vVCM84_+OAxj8CutQ@mail.gmail.com> <d3c8688a-3f01-30b1-a3de-1300a43c1d99@gmail.com> <835e5014-3306-e7ac-fed0-3c90320551a9@gmail.com> <CABcZeBOHgM1xnvmx=CWEEeLnU9bO3DuFCYzbk6m2Kg=sxbYZYA@mail.gmail.com> <efc46f51-41ff-f69c-d627-f6d585013b1e@gmail.com> <CABcZeBO4OHJDtFkjcCwRFNL_mU5QzOGBcC-zMJPHStJq090gzw@mail.gmail.com> <MWHPR15MB182101493383DBBDD889B6C7B6C80@MWHPR15MB1821.namprd15.prod.outlook.com> <ae2d881a-1966-dc9a-f69a-44d13ad3d2e8@gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 18 Feb 2018 20:41:36 -0800
Message-ID: <CABcZeBPBZBaYigxNdbBq3=JtKuz8wN-WhNBwsxTdAtS=uJv2Rw@mail.gmail.com>
Subject: Re: Malicious Version Negotiation Handling (Was: Questions about Version Negotiation Concerning Possible Handshake Interruption)
To: Lingmo Zhu <zlm2006@gmail.com>
Cc: Subodh Iyengar <subodh@fb.com>, "alexandre.ferrieux@orange.com" <alexandre.ferrieux@orange.com>, Christian Huitema <huitema@huitema.net>, Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>, "quic@ietf.org" <quic@ietf.org>, Martin Thomson <martin.thomson@gmail.com>, Kazuho Oku <kazuhooku@gmail.com>
Content-Type: multipart/alternative; boundary="001a113a7dd08cc7e3056589511f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/rMnyy-AW5uLAVZndixW9K1cEKTM>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Feb 2018 04:42:19 -0000
I don't think increasing the on-path attacker's marginal difficulty from not requiring any crypto to requiring simple crypto in order to mount a DoS attack is worth changing the protocol for. -Ekr On Sun, Feb 18, 2018 at 8:34 PM, Lingmo Zhu <zlm2006@gmail.com> wrote: > Thank you for your comments and explanations. IMHO VN packet handling is > part of QUIC transport which is independent with any specific TLS version, > though attacks targeting TLS handshake could get similar result. > > I understand that we could never win against on-path attackers. But I just > wonder if we should consider about that or how far we could. > > Lingmo Zhu > > On 2018/02/19 11:41, Subodh Iyengar wrote: > >> >> > It's an attack that generates VN packets with no acceptable version, >> on path. Of course such an attacker can generate other messages to >> interfere QUIC but utilizing VN packets needs no knowledge other than CID >> and no encryption, or only CID needs to be changed from a template. If >> other cleartext packet with wrong or no AEAD encryption described for the >> TLS handshake would be just ignored, those other messages should at least >> be encrypted, which costs much more and more complex to be implemented. >> >> I agree with ekr, a TLS alert is similar and does not require knowledge >> of any state, knowledge of the cid gives you the ability to craft a packet >> that will be accepted by the client (even Handshake packets). >> >> >> Subodh >> >> ------------------------------------------------------------------------ >> *From:* QUIC <quic-bounces@ietf.org> on behalf of Eric Rescorla < >> ekr@rtfm.com> >> *Sent:* Sunday, February 18, 2018 6:55:45 PM >> *To:* Lingmo Zhu >> *Cc:* alexandre.ferrieux@orange.com; Christian Huitema; Mikkel Fahnøe >> Jørgensen; quic@ietf.org; Martin Thomson; Kazuho Oku >> *Subject:* Re: Malicious Version Negotiation Handling (Was: Questions >> about Version Negotiation Concerning Possible Handshake Interruption) >> >> >> On Sun, Feb 18, 2018 at 6:10 PM, Lingmo Zhu <zlm2006@gmail.com <mailto: >> zlm2006@gmail.com>> wrote: >> >> >> >> On 2018/02/19 1:25, Eric Rescorla wrote: >> >> >> >> On Sun, Feb 18, 2018 at 7:48 AM, Lingmo Zhu <zlm2006@gmail.com >> <mailto:zlm2006@gmail.com> <mailto:zlm2006@gmail.com >> >> <mailto:zlm2006@gmail.com>>> wrote: >> >> Hi all >> >> After some discussion with Kazuho and thanks to his help, I >> want to >> propose that for Version Negotiation handling, "a client >> MAY wait for a >> handshake packet after receiving a Version Negotiation >> packet". >> >> >> Can you describe the precise attack you are concerned about? The >> VN packet >> contains the client's randomly chosen CID, so only an on-path >> attacker can >> forge a VN, but such an attacker can also generate a bogus >> ServerHello or >> other messages that would cause the QUIC negotiation to fail. >> >> -Ekr >> >> >> >> It's an attack that generates VN packets with no acceptable version, >> on path. Of course such an attacker can generate other messages to >> interfere QUIC but utilizing VN packets needs no knowledge other >> than CID and no encryption, or only CID needs to be changed from a >> template. If other cleartext packet with wrong or no AEAD encryption >> described for the TLS handshake would be just ignored, those other >> messages should at least be encrypted, which costs much more and >> more complex to be implemented. >> >> >> Thanks for the explanation. I don't consider this a significant >> difference in attacker capabilities. >> >> -Ekr >> >> >> >> Lingmo Zhu >> >> >>
- Questions about Version Negotiation Concerning Po… Lingmo Zhu
- Re: Questions about Version Negotiation Concernin… Mikkel Fahnøe Jørgensen
- Re: Questions about Version Negotiation Concernin… Martin Thomson
- Re: Questions about Version Negotiation Concernin… Mikkel Fahnøe Jørgensen
- Re: Questions about Version Negotiation Concernin… Lingmo Zhu
- Re: Questions about Version Negotiation Concernin… Mikkel Fahnøe Jørgensen
- Re: Questions about Version Negotiation Concernin… Kazuho Oku
- Re: Questions about Version Negotiation Concernin… Mikkel Fahnøe Jørgensen
- Re: Questions about Version Negotiation Concernin… Lingmo Zhu
- Re: Questions about Version Negotiation Concernin… Christian Huitema
- Re: Questions about Version Negotiation Concernin… alexandre.ferrieux
- Re: Questions about Version Negotiation Concernin… Martin Thomson
- Re: Questions about Version Negotiation Concernin… Kazuho Oku
- Re: Questions about Version Negotiation Concernin… alexandre.ferrieux
- Re: Questions about Version Negotiation Concernin… Lingmo Zhu
- Malicious Version Negotiation Handling (Was: Ques… Lingmo Zhu
- Re: Malicious Version Negotiation Handling (Was: … Mikkel Fahnøe Jørgensen
- Re: Malicious Version Negotiation Handling (Was: … Eric Rescorla
- Re: Malicious Version Negotiation Handling (Was: … Lingmo Zhu
- Re: Malicious Version Negotiation Handling (Was: … Eric Rescorla
- Re: Malicious Version Negotiation Handling (Was: … Subodh Iyengar
- Re: Malicious Version Negotiation Handling (Was: … Lingmo Zhu
- Re: Malicious Version Negotiation Handling (Was: … Eric Rescorla
- Re: Malicious Version Negotiation Handling (Was: … Christian Huitema
- Re: Malicious Version Negotiation Handling (Was: … Eric Rescorla
- RE: Malicious Version Negotiation Handling (Was: … Lubashev, Igor
- Re: Malicious Version Negotiation Handling (Was: … Christian Huitema
- Re: Malicious Version Negotiation Handling (Was: … Mikkel Fahnøe Jørgensen
- Re: Malicious Version Negotiation Handling (Was: … Spencer Dawkins at IETF