Re: [Anima] verification of manufacturer in BRSKI

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 23 February 2018 02:19 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 E64CF126DD9 for <anima@ietfa.amsl.com>; Thu, 22 Feb 2018 18:19:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.911
X-Spam-Level:
X-Spam-Status: No, score=-1.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 SoKkhW7e5sfF for <anima@ietfa.amsl.com>; Thu, 22 Feb 2018 18:19:43 -0800 (PST)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 427E4126BFD for <anima@ietf.org>; Thu, 22 Feb 2018 18:19:43 -0800 (PST)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id B5F8420091; Thu, 22 Feb 2018 21:27:09 -0500 (EST)
Received: from obiwan.sandelman.ca (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 4D18C80B01; Thu, 22 Feb 2018 21:19:42 -0500 (EST)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Anoop Kumar Pandey <anoop@cdac.in>
cc: 'Toerless Eckert' <tte@cs.fau.de>, anima@ietf.org
In-Reply-To: <007701d3aace$c289ec00$479dc400$@cdac.in>
References: <003101d3a570$32e4c510$98ae4f30$@cdac.in> <22127.1519000017@obiwan.sandelman.ca> <005b01d3a95e$f0ba5680$d22f0380$@cdac.in> <18734556-d4a9-560f-724c-09287d4e0f20@gmail.com> <003501d3aa07$a37f0560$ea7d1020$@cdac.in> <20180220062131.GA23498@faui40p.informatik.uni-erlangen.de> <00b701d3aa31$9d13db40$d73b91c0$@cdac.in> <20180220154840.GB23498@faui40p.informatik.uni-erlangen.de> <007701d3aace$c289ec00$479dc400$@cdac.in>
X-Mailer: MH-E 8.6; nmh 1.7-RC3; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Thu, 22 Feb 2018 21:19:42 -0500
Message-ID: <10140.1519352382@obiwan.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/_AK1p4fupzKGWPYpqN7unFxJS8I>
Subject: Re: [Anima] verification of manufacturer in BRSKI
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.22
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: Fri, 23 Feb 2018 02:19:45 -0000

Anoop Kumar Pandey <anoop@cdac.in> wrote:
    > So JRS has all legitimate manufacturers and is procuring pledges from
    > known sources (out of these legitimate manufacturers), then where is
    > the hostility?

There are hostile devices on the network, and there are hostile networks that
might attempt to take over the pledge.  The IDevID protects the network
against hostile pledges, and the voucher protects the pledge against hostile
networks.

There is also the non-malicious situatoin where a pledge simply has multiple
(usually wireless!) networks to which it may join.  The voucher lets the
pledge decide which network will have it.  However, we haven't decided how to
do this for 802.11; in 6tisch we are doing this for 802.15.4.

    > That’s what I was trying to say in my initial mail that given an
    > unknown MI or a collaboration between pledge and MI, can security be
    > established using Automated BRSKI?

If your network's policy is to accept devices from unknown MIs, and the
MI is willing to issue vouchers to unknown domains, then you can be sure
that the connection is good.  By definition the pledge, being built by the
MI, is *always* in collaboration with it.

In ANIMA we do not go into home user situations, but that's due to charter
restrictions, not technology.  We do think that BRSKI can be used to
bootstrap Homenet.  In that situation, one can imagine buying lightbulbs
From Home Depot, and bring them home.  A JRC could run on a phone (or more
likely an app that speaks to a JRC via an API).  Unknown MIs might be
accepted, but why do that when a QR code could be scanned by the phone to
introduce the MI.

    > Also the pledge trusts JRC if JRC is able to pass on the voucher from
    > MASA to pledge. MASA only checks JRC’s certificate. Therefore any JRC
    > having a valid certificate may pass on the voucher from MASA to pledge
    > and become owner of the pledge [case of theft].

Yes, that's the case if the manufacturer does not know (or care) who bought
what.  That's reasonable for quite a number of cases.  Routers are usually
spared by manufacturers by geography, and given <4hr replacement SLAs,
there just isn't time on a Sunday morning at 4am to do any sales paperwork.
What might matter is that the JRC is *a* customer, but it doesn't matter which.

{Such a thing would have really helped me out in quite a number of times,
as I would get woken up at 5am, when the field operative guys can't figure
out why the router with the "export" firmware won't run securely, because it
needs the "cryptographic" firmware, but that license key is not valid for
that device}

    > I believe, BRSKI is a one-time imprinting service to a domain through
    > JRC. Once that is done, any unauthorized access (depending on the
    > vulnerability in the pledge) post EST, may not be stopped.

That's true.
That's not entirely our problem; we do however, by providing the pledge
with an LDevID and certificate trust anchors via EST, support doing very
secure authorization processes later on.  No default passwords, etc.
because no passwords are needed if both ends have certificates they can use.

    > BRSKI, is it one time process?
    > Or during each access to device will it re-run?

One time process.

    > When do we require to re-run this, only on domain-transfer?

On resale, the device should be put through a factory reset to clear
things.  The MASA will have to be willing to issue a new voucher to the
new domain owner.

    > Does it happen automatically whenever a device enters a domain or can
    > it started deliberately?

It is not automatic.
It needs to be deliberate.


--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-