Re: [Rats] Call for adoption (after draft rename) for Yang module draft

Dave Thaler <dthaler@microsoft.com> Fri, 15 November 2019 07:38 UTC

Return-Path: <dthaler@microsoft.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 B6892120113 for <rats@ietfa.amsl.com>; Thu, 14 Nov 2019 23:38:40 -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, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 FqG61SPaiU5n for <rats@ietfa.amsl.com>; Thu, 14 Nov 2019 23:38:35 -0800 (PST)
Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690109.outbound.protection.outlook.com [40.107.69.109]) (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 583CF120112 for <rats@ietf.org>; Thu, 14 Nov 2019 23:38:34 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PxcYK5SaESi+MwTXAzfvF489zKBt0KA8Is3SKoc1mS/wbqF3Ustvf0iGhCot/51SFRBFmlgiZCKEn1TBJnov+1SqgbmwJRlGjyNGFVbnSInHl5gjm7l8wsfTfgJRZ+g3ht7Id4v9bpe24zDvLreR0R0OtGj3L2BX8Qut+zOZeTBoOrOLeSxPux8cdklvUgGXcPP/BuqkOz/BuyTYs0t/bQlNX/WUxK5W77q+6CK5sIca5BV446hUUEfkM9uLxNq4IHa9EYTBKa231GzhLArxHDpCWlLw8/ZTkHgV71e5PFNeZqgIUYI2XSCKRRmo/tBK6NmcFsiGQZ55Fl097OrDFw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a5gnuDjgwLVh8xFGYpf6Fk/xSTgXEhrCA889naqpoDk=; b=YwZoDbLCM3yHlzcPDfpSb8ENQeYKod1VVAFi7MqVUQGjtXLnF0YVRBAui6eWy4SH3vCm1fR1z8OdY0UNq04RQYoVhVIC5Rdf/yGLFNogUJ2Fx+6Q4Ey46PZoYjRJbMedgQIMJk6mdcBtLpn2wNjEG2IDo0zitGh8M29uFmVLGZrpVf3SkM7JUXxMPrA+2x4bjx4zw4182CY+vVtKeQtf+HhiLMAUPmoePVZLia2HvjENA6Rj0fZuskWUcgbURD8oqLybkvkIOWCxi7HsCf7yuoiPprSOCOQOweYMfMft2K5Q1nd3YGin3F9fmPZXziczX+g9CW3774VlsO7WC+6GHg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a5gnuDjgwLVh8xFGYpf6Fk/xSTgXEhrCA889naqpoDk=; b=ioVMA3gwlB80bmINvL9Ssurxu/ROWs+Pf4DPdVAFG9GSm12oXEcUDKRAb0coWRlLYPVLzeRTEhtprqd6zsz19AKgV4dG7/jYPyvfX7h6KpPsC1KlpSBK7wWMbsc2Jz+olwwofq5SgFiCo4PWZVZ6kwY1UaPhaxvzJ2D6A1uqpCc=
Received: from MWHPR21MB0784.namprd21.prod.outlook.com (10.173.51.150) by MWHPR21MB0797.namprd21.prod.outlook.com (10.175.135.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2474.6; Fri, 15 Nov 2019 07:38:32 +0000
Received: from MWHPR21MB0784.namprd21.prod.outlook.com ([fe80::8d41:8f86:8654:8439]) by MWHPR21MB0784.namprd21.prod.outlook.com ([fe80::8d41:8f86:8654:8439%12]) with mapi id 15.20.2474.001; Fri, 15 Nov 2019 07:38:32 +0000
From: Dave Thaler <dthaler@microsoft.com>
To: Laurence Lundblade <lgl@island-resort.com>
CC: "Smith, Ned" <ned.smith@intel.com>, "Oliver, Ian (Nokia - FI/Espoo)" <ian.oliver@nokia-bell-labs.com>, "Nancy Cam-Winget (ncamwing)" <ncamwing@cisco.com>, "rats@ietf.org" <rats@ietf.org>, Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Thread-Topic: [Rats] Call for adoption (after draft rename) for Yang module draft
Thread-Index: AQHVlCwI8/lytau3hU+AhCwtIdg/0ad+jL2AgAAHhQCAAAO1AIAF46wAgACM2YCAAJAzgIAAtdsAgAB9XUCAAqYNAIABt5oQ
Date: Fri, 15 Nov 2019 07:38:32 +0000
Message-ID: <MWHPR21MB07840B6CF7BEE0A11ABE54BFA3700@MWHPR21MB0784.namprd21.prod.outlook.com>
References: <8B173958-FC2A-4D1D-A81C-F324AB632CD7@cisco.com> <147F9159-6055-4E55-ABDC-43DFE3498BF1@island-resort.com> <ce5f8206-74dc-36bb-0093-a93045d5c67f@sit.fraunhofer.de> <0A7E3A4F-8534-4E98-BCB7-1454E07699F4@island-resort.com> <C3AE2645-49C8-4313-BCED-02FEB576B614@cisco.com> <1C8A1884-A37D-45E3-8C11-2FC5A083B245@island-resort.com> <HE1PR0702MB375366C5F7FE5C497C35D73B8F740@HE1PR0702MB3753.eurprd07.prod.outlook.com> <7106C9D3-8ED1-419E-81F8-4CDA799BEDAE@intel.com> <MWHPR21MB07844F61BEFAE03F9E7DD290A3770@MWHPR21MB0784.namprd21.prod.outlook.com> <6E7D64B4-2049-4D0A-ADC5-CA3F0647779B@island-resort.com>
In-Reply-To: <6E7D64B4-2049-4D0A-ADC5-CA3F0647779B@island-resort.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=dthaler@ntdev.microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2019-11-14T20:24:13.3496979Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=096a2af9-9408-49d1-8867-8c9a9004dfea; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic
authentication-results: spf=none (sender IP is ) smtp.mailfrom=dthaler@microsoft.com;
x-originating-ip: [116.84.110.153]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 0f880aed-91a1-4b39-1e9d-08d7699ed107
x-ms-traffictypediagnostic: MWHPR21MB0797:
x-microsoft-antispam-prvs: <MWHPR21MB079760F6E64749EE573799E2A3700@MWHPR21MB0797.namprd21.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8273;
x-forefront-prvs: 02229A4115
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(39860400002)(376002)(366004)(396003)(346002)(199004)(189003)(15404003)(52536014)(11346002)(7736002)(446003)(478600001)(33656002)(66946007)(66574012)(14454004)(10090500001)(8990500004)(486006)(6436002)(81166006)(8936002)(229853002)(81156014)(5660300002)(74316002)(6916009)(476003)(8676002)(6506007)(54906003)(64756008)(66556008)(10290500003)(316002)(790700001)(6116002)(86362001)(3846002)(25786009)(66066001)(6246003)(22452003)(236005)(102836004)(14444005)(7696005)(99286004)(76116006)(4326008)(66476007)(256004)(76176011)(9686003)(6306002)(2906002)(26005)(54896002)(55016002)(186003)(66446008)(71200400001)(71190400001)(53546011); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0797; H:MWHPR21MB0784.namprd21.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: eTxlywdGzdHTQyNe8yb5c7NhtMrdjFBQ64sPX/+BzSbvcEaA6uLz51Er2p5vDrJwh0LFpSSXR4F27HgEDUndEzbF5ycEuzT2/a+VUjtakN+DufgXSYZ6sv0Z0ypf488c0LMIApjOH8GZMK1yMqmPt2eqfu2EQKYxO13iMR7tOOXIR7hPz5xlg5nVXTxz8bPWOl2TlTqXjI5zjO3TGWQRKDYZiFrneTWccAvyxg2zaeElG1zdoWNI4L27v0vqdZToOqasLMGJL0/uKwgE1uRN+pFJSSthwX4ANxABiWF4NFPdbc/3hK5Z+gjaU+lJPFrlKlc0z2+PtSGoB2ZPjZLk2QsK2wx1u26vcSisaks4L+bvPUY4GAWDLIchCL2psHN/6V/kwjlU8nIz3QcbeCmV4ihm9BQgP5cHuOLQ9jaqrYF3tP4pJi4WKTwnzjy28OXt
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_MWHPR21MB07840B6CF7BEE0A11ABE54BFA3700MWHPR21MB0784namp_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0f880aed-91a1-4b39-1e9d-08d7699ed107
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Nov 2019 07:38:32.8038 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: CHNpI0CwAFIRQbuEMVV6+z851ORbzout/eQ6j7Sd9BQy7uUZFwENH9NeomFIeoMEor8Cn1DEs4hXwOuGXEoKA6vXfZbY/DyiLlwt/eg267o=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0797
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/pW8j9nAZdrdgzA3SH9G2Fy-sDbE>
Subject: Re: [Rats] Call for adoption (after draft rename) for Yang module draft
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: Fri, 15 Nov 2019 07:38:41 -0000

Netconf is not the only protocol supported by routers.
Routers also support IPv4, IPv6, link-layer protocols such as Ethernet, routing protocols, often things like DHCP relay, RADIUS, etc.

I have not yet seen a compelling reason to use a pull-based mechanism instead of a push-based mechanism via another protocol the routers already support.
The only reason I’ve heard so far is “because they support netconf and we’re used to it”, to which the counter argument is as above:
they support other things too and we’re used to them too.

In order to know who to pull data from, the Verifier has to have some indication from the Attester that triggers the attestation request
indicated as Step 1 in draft-fedorkow-rats-network-device-attestation.  So in reality, there has to be a step before step 1,
whereby the Attester does something that makes the Attester discoverable by the Verifier.   That step could have included the EAT or the TPM data
expressed in the YANG draft, or whatever else, and then you’ve avoided the need for netconf, and reduced the number of round trips,
improving latency and bandwidth.

If there is a compelling reason to support a pull-based mechanism, and we get consensus that we need it, then great.
But so far I haven’t heard one.

Dave

From: Laurence Lundblade <lgl@island-resort.com>
Sent: Wednesday, November 13, 2019 10:07 AM
To: Dave Thaler <dthaler@microsoft.com>
Cc: Smith, Ned <ned.smith@intel.com>; Oliver, Ian (Nokia - FI/Espoo) <ian.oliver@nokia-bell-labs.com>; Nancy Cam-Winget (ncamwing) <ncamwing@cisco.com>; rats@ietf.org; Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
Subject: Re: [Rats] Call for adoption (after draft rename) for Yang module draft

My version of technology bases for attestation is something like this:

Router/Netconf World
Millions of devices. Currently TPM oriented. Long possible transition to EAT. YANG used to create very specific fine-grained interactions. No privacy issues.

Web Browser World
Billions of devices. Current attestation use is primarily WebAuthN / FIDO. JWT is used heavily for authentication so would be more EAT oriented, but TPM attestation is supported in FIDO. Larger use of attestation may evolve. Fine-grained interactions are with WebAPIs (Javascript) (sort of parallel to YANG for routers). Big privacy issues.

Mobile App World
Billions of devices. Main attestation use is Android’s Keystore. This is EAT-like, but based on X.509. Fine grained interactions are Android APIs. I may be out of date, but so far IoS doesn’t do attestation. Privacy issues vary by app.

IoT World
Billions of devices most likely going to trillions. Attestation is a critical enabling feature in this world. There are lots of protocols and formats involved. TPMs are too expensive for many of these, but are probably in use somewhere. No privacy issues for a large portion of this world.

The router world is the smallest, but it is “well represented” because this is the IETF.

I see EAT as applicable to all these worlds, where the YANG module is just for the smallish router world. So I mostly agree with Dave about proportions, however this is the IETF where YANG modules are created.  (Maybe I should go join the W3C world and work on attestations APIs for browsers after RATS is done).

LL



On Nov 11, 2019, at 5:43 PM, Dave Thaler <dthaler@microsoft.com<mailto:dthaler@microsoft.com>> wrote:

As far as I can understand from draft-birkholz-rats-basic-yang-module-01 and
draft-fedorkow-rats-network-device-attestation-01, they break down the use case
space as follows:

                        Requirements?
         +--------------+---------------+---------++---------------
         |  RoT         | Host Firewall | Privacy ||   Solution
         |  Type        |   Enabled     | Needed  ||    Pieces
         +--------------+---------------+---------++---------------
      1  |  SGX         | No            | No      ||
      2  |  SGX         | No            | Yes     ||
      3  |  SGX         | Yes           | No      ||
      4  |  SGX         | Yes           | Yes     ||
      5  |  TrustZone   | No            | No      ||
      6  |  TrustZone   | No            | Yes     ||
      7  |  TrustZone   | Yes           | No      ||
      8  |  TrustZone   | Yes           | Yes     ||
      9  |  TPM         | No            | No      || draft-birkholz-rats-basic-yang-module-01
     10  |  TPM         | No            | Yes     ||
     11  |  TPM         | Yes           | No      ||
     12  |  TPM         | Yes           | Yes     ||
     13  |SecureElement | No            | No      ||
     14  |SecureElement | No            | Yes     ||
     15  |SecureElement | Yes           | No      ||
     16  |SecureElement | Yes           | Yes     ||
     17  | Firmware     | No            | No      ||
     18  | Firmware     | No            | Yes     ||
     19  | Firmware     | Yes           | No      ||
     20  | Firmware     | Yes           | Yes     ||
     ... |   ...        |               |         ||

And draft-fedorkow-rats-network-device-attestation-01 further scopes itself down
by only being applicable to cases with "embedded" apps only = Yes, and where
the security policy is only an Exact match against reference values = Yes.
I believe that the yang draft doesn't have those two restrictions, from my reading.
However, the point is that both drafts are VERY narrow, and in the table shown above,
only address 1 out of 20 possibilies in that space.

In contrast, the TEEP WG decided that it was not interested in narrow scopings
(specifically something Global Platform specific), but instead wanted one general solution.

If the RATS WG spends effort on something that only addresses a single row out of 20+ rows,
then do we expect 19+ other solutions to also be done in the WG?  Or could we work on things
that are broader and happen to also work for row 9?

I've seen others commenting on the fact that the YANG module only supports TPMs and not
other things (EATs etc), which would just add support for a couple more rows, but still not
be general.

Personally, I would much rather see the WG spend effort on things that really are generic,
i.e., work with or without host firewalls, work with multiple RoT/TEE types, etc., rather
than seeing an explosion of point solutions.

Dave

From: RATS <rats-bounces@ietf.org<mailto:rats-bounces@ietf.org>> On Behalf Of Smith, Ned
Sent: Monday, November 11, 2019 10:12 AM
To: Oliver, Ian (Nokia - FI/Espoo) <ian.oliver@nokia-bell-labs.com<mailto:ian.oliver@nokia-bell-labs.com>>; Laurence Lundblade <lgl@island-resort.com<mailto:lgl@island-resort.com>>; Nancy Cam-Winget (ncamwing) <ncamwing@cisco.com<mailto:ncamwing@cisco.com>>
Cc: rats@ietf.org<mailto:rats@ietf.org>; Henk Birkholz <henk.birkholz@sit.fraunhofer.de<mailto:henk.birkholz@sit.fraunhofer.de>>
Subject: Re: [Rats] Call for adoption (after draft rename) for Yang module draft

Right. This implies the RATS “token” should support existing “binary” formats as an encapsulation (signed by a second TA where the TPM is a first TA) or as a conveyance (unsigned?) token. Possibly, the only added value of the latter is a tag that identifies it as a TPM binary format?


On 11/10/19, 23:21 PM, "RATS on behalf of Oliver, Ian (Nokia - FI/Espoo)" <rats-bounces@ietf.org<mailto:rats-bounces@ietf.org> on behalf of ian.oliver@nokia-bell-labs.com<mailto:ian.oliver@nokia-bell-labs.com>> wrote:

> Remote TPM attestations are useful and necessary the short run, but are of very limited capability. I believe that > EAT will replace TPM attestations in the long run (maybe decades) because they are far more expressive. I know > others believe that too.

I would disagree with the statement of "short run" ... TPM is practically the only existing standardised (hardware, software, firmware, measurement - x86 only etc) hardware root of trust in common use, ie: practically all x86 machines,  The attestation mechanisms provided are going to be around for a very long time.

From telco experience, 30 years ago we said SS7 would only be around in the short term.

> Thus, I am opposed to adoption with the current TPM-only draft. I’d be OK with the current draft and a promise > to add EAT to it.

Agree

Ian

--
Dr. Ian Oliver
Cybersecurity Research
Distinguished Member of Technical Staff
Nokia Bell Labs
+358 50 483 6237

________________________________
From: Laurence Lundblade <lgl@island-resort.com<mailto:lgl@island-resort.com>>
Sent: 11 November 2019 00:44
To: Nancy Cam-Winget (ncamwing) <ncamwing@cisco.com<mailto:ncamwing@cisco.com>>
Cc: Henk Birkholz <henk.birkholz@sit.fraunhofer.de<mailto:henk.birkholz@sit.fraunhofer.de>>; rats@ietf..org<mailto:rats@ietf..org> <rats@ietf.org<mailto:rats@ietf.org>>
Subject: Re: [Rats] Call for adoption (after draft rename) for Yang module draft


On Nov 10, 2019, at 2:20 PM, Nancy Cam-Winget (ncamwing) <ncamwing@cisco.com<mailto:ncamwing@cisco.com>> wrote:

So, Laurence, are you still OK with the adoption of the current draft with a rename for now?
Thanks, Nancy

I think the value add to the larger RATS effort of adding EAT support to this YANG protocol is really high. It a core thing to do that helps bring together the two attestation worlds and make the TPM and EAT work here less like ships in the night.

Remote TPM attestations are useful and necessary the short run, but are of very limited capability. I believe that EAT will replace TPM attestations in the long run (maybe decades) because they are far more expressive. I know others believe that too.

If we don’t include EAT in the YANG mode it is sort of like defining HTTP to only convey HTML to the exclusion of PDF. We’re defining an attestation protocol that can only move one kind of attestation even though we have consensus on what the other one looks like.

It seems relatively simple to add EAT support (or promise to add EAT support). Pretty sure I heard Henk agree to add it.

Thus, I am opposed to adoption with the current TPM-only draft. I’d be OK with the current draft and a promise to add EAT to it.

LL