Re: [Rats] 802.1AR device identity

Laurence Lundblade <lgl@island-resort.com> Tue, 13 April 2021 19:26 UTC

Return-Path: <lgl@island-resort.com>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADE2E3A2491 for <rats@ietfa.amsl.com>; Tue, 13 Apr 2021 12:26:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.816
X-Spam-Level:
X-Spam-Status: No, score=-1.816 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 G2AbuiBdmGIJ for <rats@ietfa.amsl.com>; Tue, 13 Apr 2021 12:26:28 -0700 (PDT)
Received: from p3plsmtpa12-10.prod.phx3.secureserver.net (p3plsmtpa12-10.prod.phx3.secureserver.net [68.178.252.239]) (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 3AF873A2451 for <rats@ietf.org>; Tue, 13 Apr 2021 12:26:28 -0700 (PDT)
Received: from [192.168.1.81] ([76.167.193.86]) by :SMTPAUTH: with ESMTPA id WOg6lkd9prKaTWOg6lB8WH; Tue, 13 Apr 2021 12:26:27 -0700
X-CMAE-Analysis: v=2.4 cv=NrkUz+RJ c=1 sm=1 tr=0 ts=6075f063 a=t2DvPg6iSvRzsOFYbaV4uQ==:117 a=t2DvPg6iSvRzsOFYbaV4uQ==:17 a=xt6ew7UTAAAA:8 a=OUXY8nFuAAAA:8 a=K6EGIJCdAAAA:8 a=pGLkceISAAAA:8 a=48vgC7mUAAAA:8 a=QyXUC8HyAAAA:8 a=AUd_NHdVAAAA:8 a=0XtbOteLAAAA:20 a=dHJOhkScAAAA:8 a=uherdBYGAAAA:8 a=fJKHkNSBhjea5dGItl8A:9 a=QEXdDO2ut3YA:10 a=uhck6Ij_AI0iXQIot0IA:9 a=EEPkUL_1XtRU81fs:21 a=_W_S_7VecoQA:10 a=tn93DeGZTgJ6DdWMtdD4:22 a=cAcMbU7R10T-QSRYIcO_:22 a=L6pVIi0Kn1GYQfi8-iRI:22 a=w1C3t2QeGrPiZgrLijVG:22 a=0Jc9p3VZYLcdQ-t9l-12:22 a=Ef4yma5cpRUEJWN9UqBm:22
X-SECURESERVER-ACCT: lgl@island-resort.com
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <7C6A5C38-A155-4368-ADE0-97CF16DB3DCC@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_6FE77F6B-3ED6-4F30-807C-36AEBBC41A39"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\))
Date: Tue, 13 Apr 2021 12:26:26 -0700
In-Reply-To: <BLAPR05MB7378A9F73457513AC951F82FBA7A9@BLAPR05MB7378.namprd05.prod.outlook.com>
Cc: Ira McDonald <blueroofmusic@gmail.com>, "rats@ietf.org" <rats@ietf.org>, "Smith, Ned" <ned.smith@intel.com>, Eliot Lear <lear@cisco.com>, "iotops@ietf.org" <iotops@ietf.org>, Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
To: Guy Fedorkow <gfedorkow@juniper.net>
References: <D197C29D-95C4-4696-BE22-703E14DFFE35@intel.com> <E0971364-E3AD-40C6-A08A-A0BA7E64D18F@cisco.com> <0C1A8AE6-E6C3-4AF9-9E4F-5841FB450BE3@intel.com> <957A467D-4FE4-4031-98D2-6936D014A37C@cisco.com> <62FFA122-047E-468C-A2DD-5A0E4E8EAF74@intel.com> <9EE53DF3-17AD-495D-9BE7-C15B92EF6B99@island-resort.com> <CAN40gSsCbjpVuCQwsWWjGwfL=cARHcAa0ZPsm+sk8H=9_otZUw@mail.gmail.com> <3593A760-335F-40AF-AC43-7E2D7A1EFF7B@island-resort.com> <BLAPR05MB7378A9F73457513AC951F82FBA7A9@BLAPR05MB7378.namprd05.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.17)
X-CMAE-Envelope: MS4xfFwWGNPQUoY6UokyGzTBNeaBjpCeXKwVXxMD8HHCwfnsuWphU4X20yziZFuPTrHfyIDqHov1jqSEA12cG4n8pgcpg8uOrE8vxTxS2HRWSPA4tdz4LmDZ XkzihHzsxNdo4VfF3aO+fTysSZ0Z0gF8IU6aWmLcg0kt+Nu+Vvyd6ytAolyMeYZvXnmk7549Y67dA+yd8wmB9XaVDU/3uCP1wZYYJVotLVU9SoKioCOWtPiu 1PQHQlxDegb8hjJtxihcauiyXoxoxMKQoPm3fxriFI/Zcxtia8EdG3cqYDnTHdmuz0puBqkZAKztEv4g39PVjh5SSz4ZDe6FCy0IGAA1TPQh1210OnRWWisX FaI3Xr5quOWDTwjHOI23QvT4K2mjMg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/676dsgI2Vr2jFPKpaP24htn4xUQ>
Subject: Re: [Rats] 802.1AR device identity
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Remote ATtestation procedureS <rats.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rats>, <mailto:rats-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats/>
List-Post: <mailto:rats@ietf.org>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rats>, <mailto:rats-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 13 Apr 2021 19:26:35 -0000

Thanks for the comments, Guy. Appreciate it.

Agreed that repurposing IDevID keys for EAT might be a bit weird and wrong, but it is still really useful to understand how they are intended to work and are actually used to help with the design of EAT.

802.1AR section 7.2.5 say the keys can be used for signing. Appendix B has it participating in an EAT-TLS session and gives some other very general use cases.  No matter what, the key has to be used to sign a nonce for proof of possession, so there is some signing of external data going on.

https://www.trustedcomputinggroup.org/wp-content/uploads/TPM_Keys_for_Platform_Identity_v1_0_r3_Final.pdf lists a whole bunch more use cases like IKE. Do these really get implemented? 

What are the popular and widely deployed use cases for IDevID?

I kind of want EAT to learn from IDevID here. To understand what IDevID is about so that EAT is more capable and fits in better with use cases.

LL


> On Apr 2, 2021, at 10:05 AM, Guy Fedorkow <gfedorkow@juniper.net> wrote:
> 
> Hi Laurence,
>   I agree that IDevID is intended to persist through the device’s lifetime, while LDevID is meant to represent the current owner.
>   In TCG-land, an IDevID is not advised for signing attestation evidence; its role is limited to identity, providing proof of the supplier and the real-world identity of the device (i.e., serial number). 
>   With TPM1.2 it’s actually not possible to use the IDevID to sign TPM attestation evidence, as a counter-measure to block spoofing by an attacker, so the TCG docs advise a separate attestation key with a binding that links them to the same TPM.  I think that’s not actually necessary in TPM2, although the advice for separation remains.
>   So in that context the sentence “[EAT] separates the signing scheme from the identification scheme” seems puzzling.
>  
>   But in the EAT environment, where there’s no technological block to an attacker with access to the key to spoof an attestation result, I agree that the DevID could be used to sign an EAT token carrying attestation evidence.
>  
>   Let me know if I’m missing the point!
> Thx
> /guy
>  
>  
>  
> Juniper Business Use Only
> From: Laurence Lundblade <lgl@island-resort.com <mailto:lgl@island-resort.com>> 
> Sent: Friday, March 26, 2021 2:21 PM
> To: Ira McDonald <blueroofmusic@gmail.com <mailto:blueroofmusic@gmail.com>>
> Cc: rats@ietf.org <mailto:rats@ietf.org>; Smith, Ned <ned.smith@intel.com <mailto:ned.smith@intel.com>>; Eliot Lear <lear@cisco.com <mailto:lear@cisco.com>>; Guy Fedorkow <gfedorkow@juniper.net <mailto:gfedorkow@juniper.net>>; iotops@ietf.org <mailto:iotops@ietf.org>
> Subject: Re: [Rats] 802.1AR device identity
>  
> [External Email. Be cautious of content]
>  
> I got my copy of 802-1AR.
>  
> I’ve made a PR <https://github.com/ietf-rats-wg/eat/pull/101> that
>    1) Adds an SUEID to EAT that is similar to LDevID in that it can change on device life-cycle events
>    2) Adds a whole appendix discussing the relation of IDevID to EAT
>  
> From reading 802.1AR, it’s pretty clear that IDevID is permanent. Here’s one sentence:
> These additional operations can include deletion of the IDevID certificate or IDevID key, which can be logically equivalent to decommissioning the device, 
> 802.1AR also provides for an LDevID that is less permanent in the ways that Giri seems to be asking for.
>  
> Please take a lot at the PR. It does a little compare and contrast between EAT and IDevID. I am interested in comments on it.
>  
> LL
>  
>  
>  
> 
> On Mar 11, 2021, at 11:13 AM, Ira McDonald <blueroofmusic@gmail.com <mailto:blueroofmusic@gmail.com>> wrote:
>  
> Hi Laurence,
>  
> Thanks to the wonderful *free* IEEE Get 802 program, you can go to this link (from Guy earlier)
> and create your own durable free Get 802 account and then download IEEE 802.1AR-2018 (and
> anything else from the whole IEEE 802 series that you need).
>  
> https://1.ieee802.org/security/802-1ar/ <https://urldefense.com/v3/__https:/1.ieee802.org/security/802-1ar/__;!!NEt6yMaO-gk!VIgfoJIZw6f-tQTWp0Sjo-VrLZQ-MpJRbtxsJaUCztshzqfy3ZhCgNP2Hn31Q-lsLJs$>
>  
> Cheers,
> - Ira
>  
>  
>  
> On Thu, Mar 11, 2021 at 2:02 PM Laurence Lundblade <lgl@island-resort.com <mailto:lgl@island-resort.com>> wrote:
> I want to unpack and unfold a few things here. 
>  
> Permanence / Lifecycle / Privacy — I think the main topic here is about when an ID changes relative to the lifecycle of the device and how this relates to privacy.
>  
> Compromise — I think compromise due to algorithms being compromised or the device being owned or such is a separate topic. Discussion of it seems orthogonal, should go into security considerations and really comes down to certification in the end if you really want to lock it down.
>  
> I’m not sure which is meant by “immutability” in the previous emails.
>  
> My intent in the definition of UEID was that it is truly permanent. It doesn’t change at any time in the lifecycle of the device. This is the simplest case to describe. It is not at all privacy preserving for some use cases (e.g., mobile phone), but is OK for others (e.g., dumb sensor). 
>  
> I was thinking other folks might define other IDs for other use cases. Maybe the time has come to invent one or two of those and put them in EAT.
>  
> Some Solutions
> One possibility is an SUEID, a semi-permanent UEID (maybe not use SPUIED). It is allowed to change in major events in the devices lifecycle such as events when ownership changes, the managing entity changes or on factory reset. I think this lines up with the way some MAC addresses are managed for privacy reasons. This line up is good because a UEID can be an IEEE MAC.
>  
> An RP might receive an EAT with only an UEID, only an SPUEID or both. The RP can decide what they want to use.
>  
>  
> Another one is for the Attester to authenticate the Verifier and/or Relying Party and generate a distinct UEID or SUEID just for use by that RP. This is a solution to the privacy issue. I’ve actually done an implementation of this one.
>  
>  
> A related solution is to have a privacy proxy between the Attester and the Verifier that makes RP-specific UEIDs or SUEIDs.
>  
>  
> Separation of ID from Attestation Key
> An ID that is not signed is nearly useless because anyone can forge it so we’re always talking about some sort of signing.
>  
> EAT intentionally separates the ID from the signing key. I haven’t read IDevID, but I don’t think it has this separation. The reason EAT separates them is to have a lot of flexibility to deal with the privacy and lifecycle issues that come up in real deployments for chip makers and complex supply chains.
>  
> For example, FIDO uses group attestation keys to deal with the privacy issue. One key is put into 100,000 plus devices which makes it statistically not very useful for tracking users. Maybe the device manufacture uses this tactic for billions of devices. Then maybe a use case involving only millions of these devices needs a truly global ID and have the means to program it. This can work if the keys and IDs are separate.
>  
> Or maybe the manufacturer changes signing schemes moving from a primitive MAC to EC-based pub key and onto some sort of DAA while maintaining the same scheme for device IDs.
>  
>  
> Possible harmonization with other Device IDs?
> I noticed that birkholz-rats-suit-claims <https://urldefense.com/v3/__https:/tools.ietf.org/id/draft-birkholz-rats-suit-claims-01.txt__;!!NEt6yMaO-gk!VIgfoJIZw6f-tQTWp0Sjo-VrLZQ-MpJRbtxsJaUCztshzqfy3ZhCgNP2Hn31d19M7lw$> mentions a device ID based on UUIDs. We should probably take a look at how this relates UEID. There’s probably others to check out. We probably want to re use a lot of the claims from Evidence in Attestation Results so they can be pass-through for the Verifier.
>  
> Note also that UUIDs are obsolete now.
>  
> LL
>  
>  
> P.S., Any suggestions on how to get access to IEEE IDevID? I’m not part of a big company. I tried joining IEEE once, but that wasn’t enough to get access.
>  
>  
>  
> _______________________________________________
> RATS mailing list
> RATS@ietf.org <mailto:RATS@ietf.org>
> https://www.ietf.org/mailman/listinfo/rats <https://urldefense.com/v3/__https:/www.ietf.org/mailman/listinfo/rats__;!!NEt6yMaO-gk!VIgfoJIZw6f-tQTWp0Sjo-VrLZQ-MpJRbtxsJaUCztshzqfy3ZhCgNP2Hn31_KoAAkI$>
> _______________________________________________
> RATS mailing list
> RATS@ietf.org <mailto:RATS@ietf.org>
> https://www.ietf.org/mailman/listinfo/rats <https://www.ietf.org/mailman/listinfo/rats>