Re: [Secdispatch] Comments on draft-knodel-e2ee-definition-02

Chelsea Komlo <chelsea.komlo@gmail.com> Tue, 27 July 2021 00:20 UTC

Return-Path: <chelsea.komlo@gmail.com>
X-Original-To: secdispatch@ietfa.amsl.com
Delivered-To: secdispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 139E33A084F for <secdispatch@ietfa.amsl.com>; Mon, 26 Jul 2021 17:20:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=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 irEOWiYKLhP1 for <secdispatch@ietfa.amsl.com>; Mon, 26 Jul 2021 17:20:52 -0700 (PDT)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (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 2A3B03A0847 for <secdispatch@ietf.org>; Mon, 26 Jul 2021 17:20:51 -0700 (PDT)
Received: by mail-lf1-x136.google.com with SMTP id h14so18631756lfv.7 for <secdispatch@ietf.org>; Mon, 26 Jul 2021 17:20:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IqgyhOU6XijE/I7/yoPMwLvoYDwNarGzNzUPt+1LJNs=; b=M5YozTOZfSIi4m7PCW5k4s/pket3ucicIHT7Vd3dMiNfbLje1U9GY7J5zJ249PES/+ XbtTF2aNl4TeE3Y/zm0X8WLMqVe8Xf4veoPteaqzBQGc1VCYnaNxt1HcEjl93Lvvjt8W +f4Tc+siq3hDGdJU3MHXRLTb+OZH/Pm4Er1NaLdgi+N/DE6kutOwIfhflSjsBTmtPmQ/ 6m2f1jTy5DcdXeDRrmBUxOP062fCCGTyM1CFFt9zJ5YhFegnhULZ2LL47taE7FRV904B Nwm0ieUvf6S5eBAG8CiWQJaqoxl1pINkoDHmUNZ5WE7OA3fMyLtp5gvZIOWVvmI8S+2c vG0w==
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=IqgyhOU6XijE/I7/yoPMwLvoYDwNarGzNzUPt+1LJNs=; b=nNu2DUJbKXr/Ha68vk2MZxY7pNhxydtUB9aGn6zlu4eWzMnlPd0fv0J57/GR7+/DoJ e6Og5BOGpG5fiDaQKgbmCcT8VUEzn1qcRBRT23VkWItbB9tultgsWOvvlfcFVY+66ap9 duku7S+VwwDWZrMtdh+L0TQjcMrmCmARAB4GZpdY0I40GwPduGms/nLkJsHOf5+uf+Rg OBcSr5sjJ9mIjTJnOLR5Ki9KcpBosKXKo88PWfzloK1ojTb5C11C7Vn/q2bDFYnXBQu4 NN6dEWWBr3g2OrQM4qv0fmmpxAEpMG/4Hk8ImZ425zyqGaRZOcpVI8axsQMPDdTK/A75 futA==
X-Gm-Message-State: AOAM5316jIn5ajMtB0Q/IqNn1Xjkll0gCUVnfISDkojXat3CIZOePcRU idYjJEiZWST1f2hsr4SDiuV9d2IAiBdqzxOhxWcjmo66
X-Google-Smtp-Source: ABdhPJzH4UVBRG47pgvF1CDd85eOwWgUWZLb9P0VA+W+EunAkJVLSwaouk+9V0iTvk6dXgEBlnRFaRXQSWhawcAWBrs=
X-Received: by 2002:a05:6512:3497:: with SMTP id v23mr15102332lfr.286.1627345247999; Mon, 26 Jul 2021 17:20:47 -0700 (PDT)
MIME-Version: 1.0
References: <CABcZeBOZwcpvJweCDh_vbd7vL0ccab3S6hKgPHKuoWPUtkBr9g@mail.gmail.com>
In-Reply-To: <CABcZeBOZwcpvJweCDh_vbd7vL0ccab3S6hKgPHKuoWPUtkBr9g@mail.gmail.com>
From: Chelsea Komlo <chelsea.komlo@gmail.com>
Date: Mon, 26 Jul 2021 18:20:34 -0600
Message-ID: <CAJoqpTKpmRVxfgS0XW+tKTmYkkqDcx64F0_+RGs+3kUn+z-7WQ@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
Cc: IETF SecDispatch <secdispatch@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000006f18f605c80fd78f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdispatch/hNKODafa1uubnsNsyoeqFv7CnaQ>
Subject: Re: [Secdispatch] Comments on draft-knodel-e2ee-definition-02
X-BeenThere: secdispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Security Dispatch <secdispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdispatch/>
List-Post: <mailto:secdispatch@ietf.org>
List-Help: <mailto:secdispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/secdispatch>, <mailto:secdispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Jul 2021 00:20:57 -0000

Hi Eric,

Thanks for this review; responses specifically for the succinct definition.

On Mon, Jul 26, 2021 at 5:08 PM Eric Rescorla <ekr@rtfm.com> wrote:

>
>    The adversary successfully subverts an end-to-end encrypted system if
>    it can succeed in either of the following: 1) the adversary can
>    produce the participant's local state (meaning the adversary has
>    learned the contents of participant's messages), or 2) the states of
>    conversation participants do not match (meaning that the adversary
>    has influenced their communication in some way).  To prevent the
>    adversary from trivially winning, we do not allow the adversary to
>    compromise the participants' local state.
>
>    We can say that a system is end-to-end secure if the adversary has
>    negligible probability of success in either of these two scenarios
>    [komlo].
>
> I'm not sure if this is intended to be a formal definition, but
> it seems to me that it has a number of edge cases which are
> problematic:
>
> 1. Consider the case where I persuade you to install a new E2E
>    messenger and then send you a message. At this point, I know
>    your state, but presumably I have not violated the defn.
>

Sure, this is a trivial win condition.  This is considered in the citation
but should be reflected in this draft.

2. Consider the case where A sends a message to B but I succeeed
>    in blocking that message by (for instance) jamming B's network.
>    In this case, the states don't match, but again we wouldn't
>    say E2EE was violated.
>

DoS is another trivial win condition; it is considered in the citation and
should also be reflected in this draft. Note that while protocols/systems
should try to protect against this case, it cannot be ruled out entirely.

I'll work with Mallory to make these edits.

Thanks,
Chelsea