Re: [perpass] privacy implications of UUIDs for IoT devices

Stephen Farrell <stephen.farrell@cs.tcd.ie> Thu, 06 October 2016 11:15 UTC

Return-Path: <stephen.farrell@cs.tcd.ie>
X-Original-To: perpass@ietfa.amsl.com
Delivered-To: perpass@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85AD61295F2 for <perpass@ietfa.amsl.com>; Thu, 6 Oct 2016 04:15:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.297
X-Spam-Level:
X-Spam-Status: No, score=-7.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.996, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.tcd.ie
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 5zUT3aU60RBX for <perpass@ietfa.amsl.com>; Thu, 6 Oct 2016 04:15:22 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 926AD1295F0 for <perpass@ietf.org>; Thu, 6 Oct 2016 04:15:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id DBCC9BE47; Thu, 6 Oct 2016 12:15:20 +0100 (IST)
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CqByBCZskpHB; Thu, 6 Oct 2016 12:15:20 +0100 (IST)
Received: from [134.226.36.93] (bilbo.dsg.cs.tcd.ie [134.226.36.93]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id 328B6BDF9; Thu, 6 Oct 2016 12:15:20 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; s=mail; t=1475752520; bh=Pe7lkcAulzoEYuTCy5OJPTVIBdyF9VAzVmlYOFIkrTg=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From; b=suL29EvQFGiyJ0/oNdocR+wjxoBmTbT0FECd7tJ3QY5YWWBARdcAL07/myDVuukFc 4IyqPJ9hD/3hrgwgl7y3RmKp795Z7VYSb1HNoPKNbDHeoF7men+NFP9AKo5Nu73JQj bUQHth9Kg3maIV8GmFdNpzAVm7k/5upIqrJM9K4w=
To: Peter Saint-Andre - Filament <peter@filament.com>, perpass@ietf.org
References: <5c32e81f-7e43-2bde-b8f4-46f08fecdefb@cs.tcd.ie> <db516334-43ab-e967-cfd5-87d920b65015@filament.com>
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Openpgp: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Message-ID: <12e330d2-1097-7fba-1a9c-514e536878b0@cs.tcd.ie>
Date: Thu, 6 Oct 2016 12:15:20 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0
MIME-Version: 1.0
In-Reply-To: <db516334-43ab-e967-cfd5-87d920b65015@filament.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms020904010401020306020501"
Archived-At: <https://mailarchive.ietf.org/arch/msg/perpass/hwr43HDIa6KS58tusaKjNZAu_ys>
Cc: Dave Thaler <dthaler@microsoft.com>
Subject: Re: [perpass] privacy implications of UUIDs for IoT devices
X-BeenThere: perpass@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "The perpass list is for IETF discussion of pervasive monitoring. " <perpass.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/perpass>, <mailto:perpass-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/perpass/>
List-Post: <mailto:perpass@ietf.org>
List-Help: <mailto:perpass-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/perpass>, <mailto:perpass-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 06 Oct 2016 11:15:24 -0000

Hiya,

So I think this is a recurring theme in various protocols
and note that the drafts referenced in this thread overnight
[1,2,3,4] total 134 pages of text. So istm that there is
scope for a bit of generic guidance on the specific issues
about which Peter is asking, i.e. guidance on what kinds
of analysis to do when inventing or re-using an identifier
in a protocol, and (mainly via reference I'd hope) describing
the attack surface created when someone doesn't do that as
well as they might.

If someone was willing to try craft a short I-D addressing
the above, that'd I think be a fine thing. Anyone want to
volunteer to try that? (If so, replying on or off list is
fine.) Or is that a silly idea? (If you think so, then
replying on the list is way better:-)

Cheers,
S.

PS: If we had such an I-D we could figure out whether it'd
be better informational, or incorporated into 3552bis or
as it's own BCP, but it's premature to wonder about that
until someone writes text I reckon.

[1] https://tools.ietf.org/html/draft-thaler-core-redirect
[2] https://tools.ietf.org/html/draft-ietf-netconf-zerotouch
[3] https://tools.ietf.org/html/draft-ietf-anima-bootstrapping-keyinfra
[4] https://tools.ietf.org/html/draft-winfaa-intarea-broadcast-consider

On 06/10/16 00:54, Peter Saint-Andre - Filament wrote:
> Over on the CORE WG list, we've had a little discussion about the
> desirability (or not) of unique identifiers for devices in the Internet
> of Things. The message below provides some context.
> 
> I'd be curious to learn more about the attack surface lurking behind
> Stephen Farrell's comment that having long-term stable identifiers for
> IoT devices is a privacy-unfriendly practice because people will abuse
> such identifiers.
> 
> To be clear, the scenarios I have in mind are not specific to CoAP and
> don't always involve IP-based networking (the technology I'm working on
> these days enables mesh networking over long-range radio), but they do
> involve discovery and eventual communication that is both end-to-end
> encrypted and as close to metadata-hiding as possible.
> 
> Thanks!
> 
> Peter
> 
> -------- Forwarded Message --------
> Subject: Re: [core] Implications of IP address / port changes for CoAP & Co
> Date: Thu, 6 Oct 2016 00:11:26 +0100
> From: Stephen Farrell
> To: core@ietf.org <core@ietf.org>;
> 
> 
> Hi Peter,
> 
> On 06/10/16 00:03, Peter Saint-Andre - Filament wrote:
>> On 10/5/16 4:28 PM, Stephen Farrell wrote:
>>
>>> On 05/10/16 23:22, Dave Thaler wrote:
>>>> It is important that every device have a unique UUID that is
>>>> endpoint-address-agnostic and protocol-agnostic.
>>>
>>> Considering the privacy implications I'm not at all sure I'd
>>> accept that argument. In fact I'd argue we ought encourage
>>> that devices not have globally unique long-term identifiers at
>>> all unless there is a real need for those, and unless we
>>> understand how to control their (ab)use.
>>
>> By "identifier" do we necessarily mean "network identifier"? It seems to
>> me that it is useful to have a unique long-term identifier for every
>> device, based on its public key. Whether you can obtain a network
>> connection to that device based on such information is another story.
> 
> It is undoubtedly useful to have long term stable identifiers of
> various kinds. I'd include key IDs and public keys as such.
> 
> Turns out that it's also fairly universally privacy unfriendly
> as people will abuse such identifiers for good and bad reasons.
> 
> So I think we need to get much better at analysing when such
> things are really needed and in what scope. My bet is that a lot
> of the time a locally or probabilistically unique more transient
> identifier would be just fine.
> 
> But yeah, I can't prove that. OTOH there is a hint in the term
> "IMSI catcher" isn't there?
> 
> Cheers,
> S.
> 
>>
>> Peter
>>
> 
> _______________________________________________
> perpass mailing list
> perpass@ietf.org
> https://www.ietf.org/mailman/listinfo/perpass
>