Re: [TLS] RFC 8446: Correlating connections with ticket ages

Eric Rescorla <ekr@rtfm.com> Thu, 30 April 2020 13:04 UTC

Return-Path: <ekr@rtfm.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 65FE33A0909 for <tls@ietfa.amsl.com>; Thu, 30 Apr 2020 06:04:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] 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 rRv5OF5wEbxH for <tls@ietfa.amsl.com>; Thu, 30 Apr 2020 06:04:13 -0700 (PDT)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (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 8F8863A0908 for <tls@ietf.org>; Thu, 30 Apr 2020 06:04:13 -0700 (PDT)
Received: by mail-lf1-x134.google.com with SMTP id u10so1135002lfo.8 for <tls@ietf.org>; Thu, 30 Apr 2020 06:04:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eYpaDyxkUZSCWZnoRloD3TUa+/M76on7xMrym2Tsnr4=; b=xleC95TozfJYI+gaCnaSnV9HEU5TtG/Ig3MXfUljWbA+ywe3Ldjsp4sa3EDeqFQAUe qd0g3go6Kb42h5OPvOFUm9XaWG+A+Q+CYL9ELUAyeo0z8vFQdk2KVL439Twa5Xf/ap5i FHBHgxANctUG2A+1/89PF0EGn6ztQi3jsYA0Pm0EULMJtzoNXaEX033KN9WM6/ZC2lw8 8dEs31P10rHxyzq4LK6N5Abyp8sXF77r4/LPZRiP1tJNE1Ke3iIaPflt6AcEY/AKbP8n 5/GEHen12sPGOrKDJN2ASa9ZNR4PJ9APFXzUo773Ct8PsYUv9qtfQdzue406BHG65776 GRGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eYpaDyxkUZSCWZnoRloD3TUa+/M76on7xMrym2Tsnr4=; b=a/HfLm7zue9+/nYy6FfslwjJ4JkBY36x8UlhZSdfRTwOqibwiK5545ghlB/tjfZzh8 87EC/p5VVJ+OenwLvRsCmtr/IBbz2CpIyJ0HB3zKkWue9mbwQ+EAkpqYJ6joJqMIwjT4 PxkS4jEjKZqDivmkhRFwCXsKjJGInXLhEAQKihh7ZVwJXa7fSUkgMNwNUWG4v8mhOf3V mmkmjJMh3vHwktyPhAF7P66gprwckAc9rsmZyIktgn5l6owd0FPd+t/KAAvfw4pFRoWB QsjF1LpOIYdEDcLqd45OTOp1vzLiKoSb+PL8KLbDgJWlcsxNzNZ4pPoakN+9U46IPyZ5 aogw==
X-Gm-Message-State: AGi0PuYESlF8AQk/aH15BKaoqGk1JIsjX2+zdiy4zquiisAuz3TjzH1o EeQDgkcCNP/b8stk+YHt5arU2sU6bhLwaJdlEwcjug==
X-Google-Smtp-Source: APiQypK0KUuPP4n2O97C2JpUtINnZ3o82+HZTeqyLKnfpJ/hTXmRb5ZUV6AEfABunwx7jlywcLRwDHwgtLU+BkK8eZk=
X-Received: by 2002:a19:3850:: with SMTP id d16mr2076020lfj.161.1588251851526; Thu, 30 Apr 2020 06:04:11 -0700 (PDT)
MIME-Version: 1.0
References: <CA+_8xu3k7H5widc2sBMayjCjm0OftU=2sC8z9K6PNKC6NqNO1w@mail.gmail.com>
In-Reply-To: <CA+_8xu3k7H5widc2sBMayjCjm0OftU=2sC8z9K6PNKC6NqNO1w@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Thu, 30 Apr 2020 06:03:35 -0700
Message-ID: <CABcZeBOAhgN=n5t-4yLN+=Qu=y8mLhQFnHzhtwUpYJftUwi5gQ@mail.gmail.com>
To: research@bensmyth.com
Cc: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000006cd71e05a481b360"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lcXgBdQdAXGIuChUi7ixs-gCePs>
Subject: Re: [TLS] RFC 8446: Correlating connections with ticket ages
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 30 Apr 2020 13:04:16 -0000

On Thu, Apr 30, 2020 at 2:40 AM Ben Smyth <research@bensmyth.com> wrote:

> Section 4.2.11.1 explains that:
>
> ...PskIdentity contains an obfuscated version of the ticket age formed by
> taking the age in milliseconds and adding the "ticket_age_add"... This
> addition prevents passive observers from correlating connections unless
> tickets are reused.
>
> So: Correlations are possible when tickets are reused. But, what
> connection correlations are prevented when tickets aren't reused?
>

If ticket X is issued at time T and then reused at time T+delta, it
prevents the attacker from learning delta and hence from learning T.

-Ekr


>
> Best regards,
>
> Ben
> --
> TLS 1.3 tutorial: https://bensmyth.com/publications/2019-TLS-tutorial/
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>