Re: [TLS] draft-ietf-tls-renegotiation-01.txt and DTLS

Marsh Ray <marsh@extendedsubset.com> Thu, 03 December 2009 20:02 UTC

Return-Path: <marsh@extendedsubset.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 217AA28C1B9 for <tls@core3.amsl.com>; Thu, 3 Dec 2009 12:02:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.496
X-Spam-Level:
X-Spam-Status: No, score=-2.496 tagged_above=-999 required=5 tests=[AWL=0.103, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UQhsejRGAuxd for <tls@core3.amsl.com>; Thu, 3 Dec 2009 12:02:06 -0800 (PST)
Received: from mho-01-ewr.mailhop.org (mho-01-ewr.mailhop.org [204.13.248.71]) by core3.amsl.com (Postfix) with ESMTP id 66CDD28C180 for <tls@ietf.org>; Thu, 3 Dec 2009 12:01:46 -0800 (PST)
Received: from xs01.extendedsubset.com ([69.164.193.58]) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.68) (envelope-from <marsh@extendedsubset.com>) id 1NGHrt-000Bwd-KS; Thu, 03 Dec 2009 20:01:37 +0000
Received: from [127.0.0.1] (localhost [127.0.0.1]) by xs01.extendedsubset.com (Postfix) with ESMTP id 01400603C; Thu, 3 Dec 2009 20:01:34 +0000 (UTC)
X-Mail-Handler: MailHop Outbound by DynDNS
X-Originating-IP: 69.164.193.58
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19OGNxOgbi8/uCZWOr5/9P2ADKV04Ou9oo=
Message-ID: <4B18191C.5080607@extendedsubset.com>
Date: Thu, 03 Dec 2009 14:01:32 -0600
From: Marsh Ray <marsh@extendedsubset.com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Tolga Acar <Tolga.Acar@microsoft.com>
References: <61840634-EA19-470F-A77A-2494F493DE85@lurchi.franken.de> <4B14098A.9090801@extendedsubset.com> <20091130182931.39B596C3EB8@kilo.networkresonance.com> <6b9359640911301031o435c8ae9w93ffffb8ac04353a@mail.gmail.com> <EB755B5E6F52BE459F045532CFD8D32A161440BF50@DF-POINTER-MSG.exchange.corp.microsoft.com>
In-Reply-To: <EB755B5E6F52BE459F045532CFD8D32A161440BF50@DF-POINTER-MSG.exchange.corp.microsoft.com>
X-Enigmail-Version: 0.96.0
OpenPGP: id=1E36DBF2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: Kyle Hamilton <aerowolf@gmail.com>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] draft-ietf-tls-renegotiation-01.txt and DTLS
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
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/listinfo/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Thu, 03 Dec 2009 20:02:08 -0000

Tolga Acar wrote:
> I looked at DTLS and it doesn't seem like it is vulnerable as TLS is.
>  The "uint16 epoch" and "uint48 sequence_number" in the record header
> are input to the MAC and are validated per RFC4347 Section 4.1.2.1.
> It seems to me that a MiTM would not have a  matching epoch+sequence
> number, the MiTM can't change them (ok, may change, but MAC would not
> validate), and it takes 2^48 for them to roll over.

Couldn't he possibly 'prep' the client by triggering the exchange of the
appropriate number of dummy records before splicing him into the server
connection?

Is there something about the DTLS sequence_number that makes it more
resilient than the TLS record sequence number?

- Marsh