Re: [Ace] Group Communication Security Disagreements

Eliot Lear <lear@cisco.com> Mon, 25 July 2016 16:29 UTC

Return-Path: <lear@cisco.com>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7ABB12D7AD for <ace@ietfa.amsl.com>; Mon, 25 Jul 2016 09:29:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.807
X-Spam-Level:
X-Spam-Status: No, score=-15.807 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 lru7oLEq-Byc for <ace@ietfa.amsl.com>; Mon, 25 Jul 2016 09:29:40 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 04BA712B05D for <ace@ietf.org>; Mon, 25 Jul 2016 09:29:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9398; q=dns/txt; s=iport; t=1469464180; x=1470673780; h=subject:to:references:from:message-id:date:mime-version: in-reply-to; bh=5RY2VdbOKhjGnzdeROH0EwqSatAyg0Lbg1qSA+zyX6w=; b=ak4LksLp0gWXCd9eDM9Zps4ArZ+hdJ/EjpaiPpdmySefaMWREVl6Q+Lx GANioGEdh3EtHuwjTRIa5wwBqIjV8uHOnfapq824h4YWgpWCEWEqx3hah ZtHXuA4wsC41VZzkxApAmpkI3D3oQChuFKfluR83dv6FOIR8AUBeFao4y o=;
X-Files: signature.asc : 481
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DXBAACPpZX/xbLJq1UCYQ/tDWHAYYdAoF7EAEBAQEBAQFdJ4RcAQEEASNmCxgqAgJXBgEMCAEBiCQIp26NVgEBAQEBAQEBAgEBAQEBAQEBAQEBDg6IIoJVhBIHCgEGgxeCWgEEjg2LG4M5gXCDaYVdiVSFa5AhNR+CBgUcgU46iAqBNQEBAQ
X-IronPort-AV: E=Sophos;i="5.28,420,1464652800"; d="asc'?scan'208,217";a="636422857"
Received: from aer-iport-nat.cisco.com (HELO aer-core-1.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2016 16:29:38 +0000
Received: from [10.61.72.235] (ams3-vpn-dhcp2283.cisco.com [10.61.72.235]) by aer-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id u6PGTbQX030094; Mon, 25 Jul 2016 16:29:37 GMT
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>, Michael StJohns <mstjohns@comcast.net>, ace@ietf.org
References: <57909032.10809@gmx.net> <6d259c5b-28e3-c748-4590-0c9f942fe343@comcast.net> <378a0359-6b31-a30c-af28-8ea567b06b00@cisco.com> <57963480.2000809@gmx.net>
From: Eliot Lear <lear@cisco.com>
Message-ID: <2a3ad2b8-a64d-9a8b-747d-c12225d8ab11@cisco.com>
Date: Mon, 25 Jul 2016 18:29:36 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <57963480.2000809@gmx.net>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="gRxoutuQm1SXvpuGP7GMd6hV2cXxaUd4h"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/3HHiX4BH2PeRJVOGDVoTg8iOiNI>
Subject: Re: [Ace] Group Communication Security Disagreements
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2016 16:29:42 -0000

Hi Hannes,


On 7/25/16 5:47 PM, Hannes Tschofenig wrote:
> In order for the attack to work a luminary and a door lock need to be in
> the same group and share the same group key.
>
> For me the question is (from an authorization point of view) why the
> door lock as well as a luminary belong to the same group. Would a door
> lock participate in a group communication interaction altogether?a

I agree in part (the part that if you have a clean separation of
authorization and authentication it *should* be possible to authorize
specific devices into a group and then determine which specific device
is misbehaving).  Also see Mike St. John's email, and I had thought what
you were asking about is what sort of transitive trust is granted.

>
>>> As I said at the microphone, if I thought you could just do this as
>>> the "ACE protocol for group control of lights" and keep people from
>>> using it for other things I'd be a lot less concerned (but still
>>> there's the whole threat of turning off all the lights in a building
>>> all at once).  But the reality is this protocol will be used for
>>> control of things beyond lights and it would be irresponsible to
>>> standardize a protocol with a real possibility for direct real-world
>>> negative impacts on safety and health.
>>>
>> Yes, but I would go further and say that network owners ask two questions:
>>
>>  1. What is this Thing?
>>  2. And what access does it require/not want?
>>
>> Absent device identity they cannot answer the 2nd question.  This is as
>> important for lighting as for any other application, because it is how a
>> network will distinguish what those applications are.
>>
> In ACE we don't care what the network does. This is outside the scope of
> the charter, intentionally. The identifier for the device is what the
> device uses to authenticate itself to the authorization server in our
> setup. We don't call this "device identity" though.

Point taken, but even so, this isn't a matter of what the network does,
but how the device identifies itself to other devices, including network
devices.

>
> The authorization server is, as the name indicates, about storing
> authorization decisions typically provided by some human. This human
> could be a user in a home network or could as well an administrator in
> an enterprise network. We don't care that much. Call it policy.

Ok.

>
>>> The way to solve this for a general involves public key cryptography -
>>> that's just how the security and physics and math work out.
>>>
>> Yes.  And as I believe has also been discussed, use of PSK seems to
>> cause us to muddle the authentication and authorization aspects of
>> OAUTH, for instance.
> I am not sure this is a fair summary of the work in OAuth. OAuth 2.0 as
> used today on the Web and in smart phone applications with bearer tokens
> makes heavy use of public key cryptography. It just has to work in a
> fragile environment -- the Web.

Use: yes as a means to authenticate transactions.  Not as authorization
itself.

Eliot