Re: [tcpinc] Resumption safety (was "Eric Rescorla's Discuss on draft-ietf-tcpinc-tcpcrypt-09: (with DISCUSS and COMMENT)")

"Valery Smyslov" <svanru@gmail.com> Tue, 12 December 2017 06:50 UTC

Return-Path: <svanru@gmail.com>
X-Original-To: tcpinc@ietfa.amsl.com
Delivered-To: tcpinc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09AD5127337 for <tcpinc@ietfa.amsl.com>; Mon, 11 Dec 2017 22:50:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.2
X-Spam-Level:
X-Spam-Status: No, score=-1.2 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_WEB=1.5, SPF_PASS=-0.001] autolearn=no 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 OZdaxDRAVqbb for <tcpinc@ietfa.amsl.com>; Mon, 11 Dec 2017 22:50:56 -0800 (PST)
Received: from mail-lf0-x232.google.com (mail-lf0-x232.google.com [IPv6:2a00:1450:4010:c07::232]) (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 5E8F31270AE for <tcpinc@ietf.org>; Mon, 11 Dec 2017 22:50:56 -0800 (PST)
Received: by mail-lf0-x232.google.com with SMTP id r143so21933539lfe.13 for <tcpinc@ietf.org>; Mon, 11 Dec 2017 22:50:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=1Mo9qJbDq+agCHrOTZSXfsec/SF1JWi3b5KvvvLMBuU=; b=hMg3Cb/O+7rU3xqn2HWZ2C7qwuVRfRiZIsyNJ1IUp6dLdwXlmXDxdm6jKmJ6fH8nbm Msq/cYOkJtAti8J/HTNVawMwJ8tQwGZLFmPbq240aVLZsny04lk1WF5F0d9/RxOU+cgt xazbKtLldCr4uai/wyzM9E8RIVoj8wE8qP7niIPvGJMKD6usM2SgrLEFzoBiB6DYHpa6 6nG+rIAkLp7vkf121GQjhlGOgsAqSSBUhjRc+U1aWrRh7RKd1S6V5kWs/SAzwYMZVh1Z 3dsbJEOgNRKbanQyYbW9xjZfyqn0WLlq3mN+tAXlHLIIHKGYKViII6h4HM76XjGo6xfw zXpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=1Mo9qJbDq+agCHrOTZSXfsec/SF1JWi3b5KvvvLMBuU=; b=dr7e9eMp620rXUN6NJv1Mv6KFh5lX+OFW3qIemCQhoucb7HBSwyKDa6gW94pAVRDvu reZh+JZ61PCuzD4FBdU88n1mqdV49vp7NDwxPuarzGh79//Tilae+J+vMRucMw5f8NfW RStccK0xiQ5YTTNkmif1QRugjOoT5zei7mWCq6DUAg+BuGkM1SwUgxI3wU0DfrPnedt3 4KJnKohGFkiuPQHshfbmXABsi9recRTqd+66GiEnyGvsdtxX5Brm+x0G/DkrIrtSkFrD fkDX+S0NqIJcVs35HT5u9d/AZuBMUL4+U5mvtd2zAnQuN5NW49PCwSf1g5e5RDaugQGT xw8A==
X-Gm-Message-State: AKGB3mIYo7VVW5H5gsiBLAIFyltTtxyeNmesRU+OfTdHoA4LzxcVDb41 Ju1FIeZbxA1kJ4kVLYoF3ts=
X-Google-Smtp-Source: ACJfBosDLzXgNsWdZ1owFUz9K3HnQzvJnpaY65sxwOa3OK0C3/bEkfzEZhIRCzliIKRLXdxvnLwhsA==
X-Received: by 10.25.86.17 with SMTP id k17mr1306689lfb.1.1513061454590; Mon, 11 Dec 2017 22:50:54 -0800 (PST)
Received: from buildpc ([82.138.51.4]) by smtp.gmail.com with ESMTPSA id a17sm3003550lfa.86.2017.12.11.22.50.53 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Dec 2017 22:50:53 -0800 (PST)
From: Valery Smyslov <svanru@gmail.com>
To: 'Kyle Rose' <krose@krose.org>, "'Black, David'" <David.Black@dell.com>
Cc: 'Eric Rescorla' <ekr@rtfm.com>, 'tcpinc' <tcpinc@ietf.org>, "'Mirja Kuehlewind (IETF)'" <ietf@kuehlewind.net>
References: <CAJU8_nUUHbmFcPA2obo6q3dLqL1MGE2iKen-0EQ82re=+gtTfw@mail.gmail.com> <CE03DB3D7B45C245BCA0D243277949362FD96B0D@MX307CL04.corp.emc.com> <23072.32691.892725.97892@fireball.acr.fi> <01bc01d36a71$45957db0$d0c07910$@gmail.com> <CABcZeBPN_XQc8np3CWi_-AtDUafW4ZPc8EnRje8yj57Rv-vxyw@mail.gmail.com> <B0FB25D40E23475C9259A4C204B327D2@chichi> <CE03DB3D7B45C245BCA0D243277949362FDD6E73@MX307CL04.corp.emc.com> <CAJU8_nW9fkn9E=NbKFZ3zy5uSY36WFqRcQpBYdyYuLwzAbqFHA@mail.gmail.com> <CAJU8_nX7NOSG8hkUYqG_GeqSyPzmhwsyA30Z0riqRmwK8SozpQ@mail.gmail.com>
In-Reply-To: <CAJU8_nX7NOSG8hkUYqG_GeqSyPzmhwsyA30Z0riqRmwK8SozpQ@mail.gmail.com>
Date: Tue, 12 Dec 2017 09:50:57 +0300
Message-ID: <073801d37315$90c89bd0$b259d370$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJ6HNqDgiiWUzt7fki+kFl693dS/wJwqHQYAvTkOkoCDjuZ5QKEhaS4AoyXZXgA0kbXqAIlAHoNAm5ZyXehYpk+0A==
Content-Language: ru
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpinc/EPURzkyG3Q-j2CKIPLiKVpzh8p4>
Subject: Re: [tcpinc] Resumption safety (was "Eric Rescorla's Discuss on draft-ietf-tcpinc-tcpcrypt-09: (with DISCUSS and COMMENT)")
X-BeenThere: tcpinc@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Working group mailing list for TCP Increased Security \(tcpinc\)" <tcpinc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpinc>, <mailto:tcpinc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpinc/>
List-Post: <mailto:tcpinc@ietf.org>
List-Help: <mailto:tcpinc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpinc>, <mailto:tcpinc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Dec 2017 06:50:58 -0000

Hi Kyle,

> The more I look into this, the more convinced I am that SIV-like
> constructions are the only way to entirely avoid catastrophic loss of
> security. 

That was exactly my point.

To otherwise deal completely with the problem of VM cloning
> involves the invasive complexity of layer violation. That said, I
> don't think we want to take that step at this late date, but we should
> recognize the benefits and limitations of adding nonces and look into
> adding GCM-SIV (and related) cipher modes as future TEPs.

The issue is not tcpcrypt specific. TLS, IPsec and other
security protocols that use counter-based cipher modes 
are likely to be vulnerable to VM cloning/resumption problem as well.

That's why I agree that we shouldn't take any steps now (in a hurry and for 
tcpcrypt only). The problem should be recognized and addressed 
in a more generic way.

> Kyle

Regards,
Valery.