Re: [Anima] [6lo] Comments needed for Security Bootstrapping of IEEE 802.15.4 based Internet of Things

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 23 February 2015 18:53 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03A421A1EFD; Mon, 23 Feb 2015 10:53:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-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, SPF_PASS=-0.001] autolearn=ham
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 OM-YcUdosRUW; Mon, 23 Feb 2015 10:53:04 -0800 (PST)
Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (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 A580D1A1EEC; Mon, 23 Feb 2015 10:53:00 -0800 (PST)
Received: by pdjy10 with SMTP id y10so27410709pdj.6; Mon, 23 Feb 2015 10:53:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=9BCNkCZD/HGdQ7fPHRL/ccIhkLI3JvWj2tg0wWtCNsY=; b=eZldD5vE9thacU1cL1Y5U3pAl/PyADyt6EdCjf8yzZpjyrpB4OA/Ael9Gx2TnVm3dq 3X66Wfo3Onfmx0MoXIGuU/7k9acofPkiONtvElwOeBTsAcuverYqpJsz1sqsE7ZSP62Q CL4vKw234lmUvHQa0I3GyoH5qfi7pifYOHzs4Zw94HauAfKUPE6Eimd5lnxH2myz4xB+ McE03dNWXBrIvOSkNj4m+qsE7W1QVXy8IF8gdekbSFAQfCwXW3+5XDFPR2Gof7V//Tm+ XDmRaVSdEUWqq+frY8NqD2drOGx2fv672rM10WUVhl1ga947GFfHvDjtWwe0ywemrW+B E9Xg==
X-Received: by 10.70.88.199 with SMTP id bi7mr21212297pdb.126.1424717579912; Mon, 23 Feb 2015 10:52:59 -0800 (PST)
Received: from ?IPv6:2406:e007:7ae1:1:28cc:dc4c:9703:6781? ([2406:e007:7ae1:1:28cc:dc4c:9703:6781]) by mx.google.com with ESMTPSA id dr5sm32200544pdb.48.2015.02.23.10.52.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 10:52:58 -0800 (PST)
Message-ID: <54EB7702.2030801@gmail.com>
Date: Tue, 24 Feb 2015 07:52:50 +1300
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: consultancy@vanderstok.org
References: <77FA386512F0D748BC7C02C36EB1106D921776@szxeml557-mbs.china.huawei.com> <6426.1422664463@sandelman.ca> <77FA386512F0D748BC7C02C36EB1106D92CC62@szxeml557-mbs.china.huawei.com> <54E7219B.6040006@gridmerge.com> <54E72846.20807@gmx.net> <54E7824A.4040906@gmail.com> <cf14f8df23dc2552f062976775e76549@xs4all.nl> <54E86F9A.8020104@gmx.net> <54E8D442.6020909@gmail.com> <8433fd8e2ec09423daf06db840bcc759@xs4all.nl>
In-Reply-To: <8433fd8e2ec09423daf06db840bcc759@xs4all.nl>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/anima/oCeRSyNAZM2LoQXNr216nduWiKs>
Cc: 6tisch-security@ietf.org, Michael Richardson <mcr+ietf@sandelman.ca>, "Hedanping (Ana)" <ana.hedanping@huawei.com>, robert.cragie@gridmerge.com, 6lo@ietf.org, Hannes Tschofenig <hannes.tschofenig@gmx.net>, anima@ietf.org
Subject: Re: [Anima] [6lo] Comments needed for Security Bootstrapping of IEEE 802.15.4 based Internet of Things
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Mon, 23 Feb 2015 18:53:07 -0000

On 23/02/2015 21:21, peter van der Stok wrote:
> Hi Brian, Hannes,
> 
> About negotiation of bootstrapping choice:
> 
> Standardizing components for the "security bootstrapping" of low resource devices, gives a consortium the possibility to agree
> on a selection of building blocks
> which is preloaded in the consortium stamped devices,
> accompanied by parameter settings.

And that is a problem. I mean the word "consortium" is a problem; it
amounts to a cartel and excludes non-consortium members from the market.
That is not what we want in the Internet. We may have to deal with it as
part of reality, but we have to focus on open standards that everybody
can implement. Whether the open standard is based on draft-pritikin or
something else is a separate question, of course.

In the last few days I've had to deal with two vendor-specific wireless
enrollment issues (garage door openers and remote weather sensors) and
I don't think that is a direction we should encourage.

> The parameter setting may further determine the bootstrap actions.
> Prefixing parameter settings is a well-known technique. 

And it's exactly what we want to avoid in autonomic networks.

   Brian

> This can be done in the factory; Servers can also be used for that matter.
> 
> Peter
> 
> Brian E Carpenter schreef op 2015-02-21 19:53:
>> Hannes,
>>
>> "Bootstrapping" is a colloquialism, of course, but it conveys the idea
>> of having no prior knowledge which is the main point here. Of course
>> it's true (as Peter said) that different situations call for differences
>> in the solution. The initial target for Anima is "professionally managed
>> networks" and for that we tend to assume that devices are pre-registered
>> in some sense; that is a false assumption for homenets and (I assume) IoT.
>> I am pretty sure that IoT approaches will be a false assumption for
>> large international carrier networks.
>>
>> I know nothing about Thread, whatever and whoever it is. If they
>> want to repeat the Bluetooth error of working in secret, there is
>> nothing we can do about it, neither can we sit back and do nothing.
>> At least draft-pritikin-anima-bootstrapping-keyinfra builds pn
>> IEEE 802.1AR.
>>
>> Regards
>>    Brian
>>
>> On 22/02/2015 00:44, Hannes Tschofenig wrote:
>>> Peter, Brian,
>>>
>>> I would strongly recommend not to use the term bootstrapping. Replacing
>>> it with some other word that explains what you want to do.
>>>
>>> After-all, we are engineers and not marketing guys. I tend to get a bit
>>> nervous when I read terms like "zero-touch" and alike that create the
>>> impression that there is no configuration that needs to be done by
>>> anyone. Of course, that's not the case.
>>>
>>> With all the security drafts in NETCONF (zerotouch) or in ANIMA I get
>>> the impression that we are re-inventing the wheel not only because we
>>> want to work on new stuff but largely because we actually don't
>>> understand the state of the art ourselves anymore. I fear that the
>>> <draft-he-iot-security-bootstrapping-00> document also falls into the
>>> category of not understanding the state-of-the-art. I understand if
>>> someone is not up-to-speed with the most recent efforts in Thread
>>> (because they are only visible to members of that organization) but the
>>> ZigBee-IP work should be known. While ZigBee-IP may be considered dead
>>> by know it also appears to me that any new work in the IETF on
>>> security/routing/etc. for IEEE 802.15.4 will have to compete against
>>> Thread. Thread has seen a dramatic growth rate in terms of membership
>>> and so I doubt that work in the same area has a lot of chances for
>>> success.
>>>
>>> Sorry for the rant but I believe it will help everyone to figure out
>>> that most of the groups are actually developing the same solutions over
>>> and over again.
>>>
>>> Now to the issue of the multi-vendor equipment. Adding new solutions (as
>>> it is done in ANIMA) while other groups and organizations have already
>>> standardized similar technologies (using different terminology) will not
>>> make the interoperability any better. I am sure you know that far too well.
>>>
>>> It would be great to have a conversation (maybe at the next IETF
>>> meeting) how the different environments (home environment, enterprise
>>> environments/industrial environments) are different in terms of
>>> provisioning credentials and configuration information to IoT devices.
>>> Needless to say that there are differences and you can see them when you
>>> look at how existing products work. That does, however, not necessarily
>>> mean that there are no common building blocks.
>>>
>>> Ciao
>>> Hannes
>>>
>>> On 02/21/2015 12:14 PM, peter van der Stok wrote:
>>>> Hi Brian,
>>>>
>>>> Just a small annotation to your default approach comment.
>>>> Bootstrapping is subject to different installation procedures.
>>>> A clear example is the difference between home (plug and play) and the
>>>> building control where bootstrapping is organized from a database.
>>>> In the professional domain the order of things can depend on the
>>>> installer. For example, some may want to bootstrap together with the
>>>> setup of the network, others may want the network to be ready and then
>>>> do the security bootstrap.
>>>>
>>>> Although I agree with your concern expressed as "a default procedure to
>>>> decide on the bootstrap procedure", I think there is room for 2-4
>>>> different security bootstrap procedures.
>>>> These procedures will be chosen as function of the application domain
>>>> and application owner, installer.
>>>>
>>>> Peter
>>>>
>>>>
>>>>
>>>> Brian E Carpenter schreef op 2015-02-20 19:51:
>>>>> Hannes,
>>>>>
>>>>> I agree that we need to compare different approaches. I do have one
>>>>> concern in the anima context that leads me to the conclusion that
>>>>> we *must* pick a preferred solution: if we consider a collection of
>>>>> multivendor equipment in factory condition that we want to bootstrap
>>>>> itself into a secure network when we apply power, I don't see how
>>>>> we can avoid having a single default solution. If not, we get a
>>>>> rather ludicrous situation where we need a single default solution
>>>>> to the problem of choosing which bootstrap solution to use.
>>>>>
>>>>> Regards
>>>>>    Brian
>>>>>
>>>>> On 21/02/2015 01:27, Hannes Tschofenig wrote:
>>>>>> Hi Danping,
>>>>>>
>>>>>> I would also like to note that
>>>>>> [I-D.pritikin-anima-bootstrapping-keyinfra] is only one possible way of
>>>>>> distributing new keys (based on already pre-provisioned certificates). I
>>>>>> would like to understand how it relates to other approaches.
>>>>>> Particularly if you consider an approach "heavy" it would be good to
>>>>>> know what your main concerns are since there is no free lunch with
>>>>>> security and most of the design decisions are trade-offs.
>>>>>>
>>>>>> Ciao
>>>>>> Hannes
>>>>>>
>>>>>> On 02/20/2015 12:59 PM, Robert Cragie wrote:
>>>>>>> [I-D.pritikin-anima-bootstrapping-keyinfra] proposes a zero-touch
>>>>>>> bootstrapping key infrastructure to allow joining device securely and
>>>>>>> automatically bootstraps itself based on 802.1AR certificate.  It can't
>>>>>>> be directly used in 802.15.4 devices due to the high security
>>>>>>> complexity
>>>>>>> and heavy communication overhead.": I disagree with this statement. We
>>>>>>> used this approach in ZigBee IP. I agree some may think the
>>>>>>> communication overhead "heavy" but that doesn't mean it can't be done.
>>>>>>> The associated security complexity is also becoming less onerous as
>>>>>>> crypto accelerators become built into hardware and cores.
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Anima mailing list
>>>>>> Anima@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/anima
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Anima mailing list
>>>>> Anima@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/anima
>>>
>>
>> _______________________________________________
>> 6lo mailing list
>> 6lo@ietf.org
>> https://www.ietf.org/mailman/listinfo/6lo
>