Re: [Anima] Benjamin Kaduk's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)

Benjamin Kaduk <kaduk@mit.edu> Thu, 15 August 2019 17:08 UTC

Return-Path: <kaduk@mit.edu>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF6411200F8; Thu, 15 Aug 2019 10:08:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 EZ__6esrzbc6; Thu, 15 Aug 2019 10:07:55 -0700 (PDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4E306120105; Thu, 15 Aug 2019 10:07:55 -0700 (PDT)
Received: from kduck.mit.edu ([24.16.140.251]) (authenticated bits=56) (User authenticated as kaduk@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id x7FH7fKr016229 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 15 Aug 2019 13:07:45 -0400
Date: Thu, 15 Aug 2019 12:07:40 -0500
From: Benjamin Kaduk <kaduk@mit.edu>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: anima@ietf.org, The IESG <iesg@ietf.org>, draft-ietf-anima-bootstrapping-keyinfra@ietf.org, tte+ietf@cs.fau.de, anima-chairs@ietf.org
Message-ID: <20190815170740.GW88236@kduck.mit.edu>
References: <156282301326.15131.7510532622479656237.idtracker@ietfa.amsl.com> <22660.1565638213@localhost> <20190814145258.GX88236@kduck.mit.edu> <15695.1565888565@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <15695.1565888565@localhost>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/b7xRpeZL_mh-5b0wmuLiRFLUqTI>
Subject: Re: [Anima] Benjamin Kaduk's Discuss on draft-ietf-anima-bootstrapping-keyinfra-22: (with DISCUSS and COMMENT)
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Aug 2019 17:08:02 -0000

On Thu, Aug 15, 2019 at 01:02:45PM -0400, Michael Richardson wrote:
> 
> Benjamin Kaduk <kaduk@mit.edu> wrote:
>     >> There does not otherwise seem to be any risk from this compromise to
>     >> devices which are already deployed, or which are sitting locally in
>     >> boxes waiting for deployment (local spares).  The issue is that
> 
>     > (That is, if the boxes are already in local storage at the time of
>     > first compromise)
> 
> yes. If you have physical care of them, then nobody could have tried an
> attack while the MASA signing key was compromised.

I guess that makes the "under physical control of the owner" the relevant
property, so emphasizing that in the text might be good.

>     >> The authors are unable to come up with an attack scenario where a
>     >> compromised voucher signature enables an attacker to introduce a
>     >> compromised pledge into an existing operator's network.  This is the
>     >> case because the operator controls the communication between Registrar
>     >> and MASA, and there is no opportunity to introduce the fake voucher
>     >> through that conduit.
> 
>     > This seems predicated on the attacker having the MASA signing key but
>     > not persistent control of the (formerly?) legitimate MASA service,
>     > right?
> 
> yes, that's right.  Assume the key was generated in a deterministic way
> (the way the SSH keys were), or brute-forced, or something like that.

I was initiall confused about this, so it might be worth adding some text.
(But then again, sometimes I'm easily confused...)

>     >> A key operational recommendation is for manufacturers to sign
>     >> nonceless, long-lived vouchers with a different key that they sign
>     >> short-lived vouchers.  That key needs significantly better protection.
>     >> If both keys come from a common trust-anchor (the manufacturer's CA),
>     >> then a compromise of the manufacturer's CA would be a bigger problem.
> 
>     > (probably some wordsmithing options for "be a bigger problem")
> 
> how about:
>               If both keys come from a common trust-anchor
>               (the manufacturer's CA), then a compromise of the
>               manufacturer's CA would compromise both keys.  Such a
>               compromise of the manufacturer's CA likely compromises
>               all keys outlined in this section.

WFM.

Thanks,

Ben