Re: [Teep] Charter strawman proposal

Nick Cook <Nick.Cook@intercede.com> Wed, 26 April 2017 13:06 UTC

Return-Path: <Nick.Cook@intercede.com>
X-Original-To: teep@ietfa.amsl.com
Delivered-To: teep@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC07A12741D for <teep@ietfa.amsl.com>; Wed, 26 Apr 2017 06:06:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.922
X-Spam-Level:
X-Spam-Status: No, score=-1.922 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=intercedeltd.onmicrosoft.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 7N_FwFuH09V0 for <teep@ietfa.amsl.com>; Wed, 26 Apr 2017 06:06:12 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0058.outbound.protection.outlook.com [104.47.0.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 410E7129B14 for <teep@ietf.org>; Wed, 26 Apr 2017 06:06:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=IntercedeLtd.onmicrosoft.com; s=selector1-intercede-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=S4thpYQbD8HGii+yXgfIzwCnG3JYKG6N9OQhfcZVt7A=; b=qVOYys4V/KrPtboGkRkc6Ecrh1Tj5XoVj+a/pYEfl3Rb/apz0P/oz6pPloS9ZzliyNqL16e8BUL4NFvoX0lgjXuSvZi9vjOpxlZO3LZnd8Yq19pup8W825OIa6f92lcPa5kxKLjqqs56nvwyYC7C7OCZeEw1bPns7dX6avg+Ao0=
Received: from VI1PR06MB3215.eurprd06.prod.outlook.com (10.170.230.150) by VI1PR06MB3216.eurprd06.prod.outlook.com (10.170.230.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.10; Wed, 26 Apr 2017 13:06:08 +0000
Received: from VI1PR06MB3215.eurprd06.prod.outlook.com ([10.170.230.150]) by VI1PR06MB3215.eurprd06.prod.outlook.com ([10.170.230.150]) with mapi id 15.01.1034.021; Wed, 26 Apr 2017 13:06:08 +0000
From: Nick Cook <Nick.Cook@intercede.com>
To: "teep@ietf.org" <teep@ietf.org>
Thread-Topic: [Teep] Charter strawman proposal
Thread-Index: AQHSqL68mO89E9JZ4UKv8TzEjiyq5aHXwH6A
Date: Wed, 26 Apr 2017 13:06:08 +0000
Message-ID: <VI1PR06MB321539A06179D62B7C0001F0FF110@VI1PR06MB3215.eurprd06.prod.outlook.com>
References: <HE1PR0802MB2475D750A62DFFAB28F1768CFA320@HE1PR0802MB2475.eurprd08.prod.outlook.com> <0627F5240443D2498FAA65332EE46C84366EA50D@CRSMSX102.amr.corp.intel.com> <HE1PR0802MB24757875E98E453BAFD35C40FA320@HE1PR0802MB2475.eurprd08.prod.outlook.com>
In-Reply-To: <HE1PR0802MB24757875E98E453BAFD35C40FA320@HE1PR0802MB2475.eurprd08.prod.outlook.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=intercede.com;
x-originating-ip: [80.2.227.94]
x-microsoft-exchange-diagnostics: 1; VI1PR06MB3216; 7:boj+Ec8EOgadIBh1V/Us9U++UP4dfKFomqrPYtOqH6oUyh5gHfs2wU3OU91woAaXUWp2crwckCw1tzpG4o5YSQ+VJXlLvWRNwieJ6hYPtn3EZ98qmSk/32prq7+fXfuFvHV7l0cClNoS+y8+VoGvz25K8LgGkvmc35qRl4X+RN5WKw5XqwG1Sl20JeiV64NJYLwNgTypAA90Rl+SPoe9K7BgdLg+ioBe8u65/jOc3E+Pbp1SjO8DvnAwmARSRQnO209V6+iv2SCYu1iH/WmURJgQ9JJx53ZwsuFTtVz557cxcLVOia+6mjCLx0hiuz5RDJ8H1B+z9imsaoW76ifHQA==
x-ms-office365-filtering-correlation-id: c53e89f6-72e2-4caa-0551-08d48ca50138
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081); SRVR:VI1PR06MB3216;
x-microsoft-antispam-prvs: <VI1PR06MB32165CBF403ABC2D4235636BFF110@VI1PR06MB3216.eurprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(180628864354917)(278428928389397)(192374486261705)(228905959029699);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(3002001)(10201501046)(6041248)(20161123560025)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(6072148); SRVR:VI1PR06MB3216; BCL:0; PCL:0; RULEID:; SRVR:VI1PR06MB3216;
x-forefront-prvs: 0289B6431E
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39450400003)(39830400002)(39400400002)(39410400002)(13464003)(51414003)(40434004)(76176999)(122556002)(54356999)(2501003)(5890100001)(189998001)(561944003)(86362001)(50986999)(5660300001)(74316002)(66066001)(33656002)(7736002)(305945005)(55016002)(6916009)(7696004)(2351001)(8936002)(6506006)(6436002)(99286003)(81166006)(6246003)(8676002)(2950100002)(5640700003)(1730700003)(77096006)(2906002)(53546009)(110136004)(102836003)(3846002)(3660700001)(3280700002)(2900100001)(6306002)(9686003)(229853002)(6116002)(53936002)(38730400002)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR06MB3216; H:VI1PR06MB3215.eurprd06.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: intercede.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Apr 2017 13:06:08.2252 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 1075719f-f133-43d2-8156-800f80fef316
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR06MB3216
Archived-At: <https://mailarchive.ietf.org/arch/msg/teep/EXKXv1JQIgxkJAKcW9jJl85cF14>
Subject: Re: [Teep] Charter strawman proposal
X-BeenThere: teep@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: A Protocol for Dynamic Trusted Execution Environment Enablement <teep.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/teep>, <mailto:teep-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/teep/>
List-Post: <mailto:teep@ietf.org>
List-Help: <mailto:teep-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/teep>, <mailto:teep-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Apr 2017 13:06:16 -0000

I agree that these modifications all make sense. Rather than making a lightweight definition of TEE in the first paragraph I would prefer to call out the GP definition and identify any amendments to that which we are including in our usage of the acronym TEE in the TEEP/OTrP specification. This would clearly be a footnote definition to the charter.

 
For the security domain part we should expand this to define what we mean by it specifically. I regard the use of security domain in OTrP as a protocol level grouping of a service provider's applications for management purposes and that there *must* be hardware isolation between security domains so that one security domain cannot be influenced by another, unless it exposes an API to allow it. The way that the trusted applications are implemented will be technology specific - again the protocol has requirements here (e.g. each TA to be manageable in its own right and to be able to be personalized) that we need to state but the protocol doesn't dictate the exact implementation.

We don't have the definitions in the draft spec and we will need to add that as we evolve it in the WG.





Nick Cook

-----Original Message-----
From: Hannes Tschofenig [mailto:Hannes.Tschofenig@arm.com] 
Sent: 28 March 2017 23:39
To: Wheeler, David M <david.m.wheeler@intel.com>; teep@ietf.org
Subject: Re: [Teep] Charter strawman proposal

Thanks, David. Those are indeed useful suggestions. Your presentation today at the BOF also clarified some of these points and now make much more sense to me.

Let me try to incorporate your suggestions to see how well the text reads and whether it makes sense to others.

Ciao
Hannes

-----Original Message-----
From: Wheeler, David M [mailto:david.m.wheeler@intel.com]
Sent: 28 March 2017 14:18
To: Hannes Tschofenig; teep@ietf.org
Subject: RE: Charter strawman proposal

Hannes,
Thanks for drafting this. I look forward to great discussions around this topic. I have made some modifications below.

I have made the following types of modifications:
* a protocol is not required in every case, therefore, a protocol may be advantageous to the marketplace (but not a requirement) a standard protocol will ease portability, create a level playing field/access for different TEEs, and increase adoption for more secure devices
* a relay application on the rich OS side is not required - what is required is some service access onto the network stack for communications It is possible for some TEEs to provide trusted stacks - a service access point must be accessible to protocol entities outside the device
* the server side architecture interacts with the application, but maintenance of the app is optional
* discovery of actual TEE capabilities is important as well

I think security domains is an area for discussion, so I leave that alone. But hope to have more discussions and a better understanding of the requirements around SDs in the future.

It might be useful to discuss other potential standards groups that we should be aligned with, especially in the IoT space.

Thanks,
Dave Wheeler

--------

TEEP -- A Protocol for Dynamic Trusted Execution Environment Enablement Charter

The Trusted Execution Environment (TEE) is a secure area of the main processor. The TEE, as an isolated execution environment, provides security features, such as isolated execution, integrity of Trusted Applications along with confidentiality of their assets. In general terms, the TEE offers an execution space that provides a higher level of security than a "rich" operating system and more functionality than a secure element. Implementations of the TEE concept have been developed by ARM, and Intel using the TrustZone and the SGX technology, respectively.

[It may be advantageous to build the marketplace to have a protocol that supports] programmatically install, update, and delete applications running in the TEE. [ This ] protocol runs between a [trusted service] running [within] the TEE, a relay application [or service access point on the device's network stack ] and a server-side infrastructure [ that interacts with and optionally maintains ] the applications. Since [ some tasks ( such as management tasks) ] are security sensitive where the server side requires information about the device capabilities (in form of attestation), the client-side demands server-side authentication, and privacy considerations have to be taken into account.

This working group aims to develop an application layer protocol providing TEEs with the following functionality,
 * discovery of TEE capabilities
 * management of trusted applications,
 * attestation, and
 * security domain management (which provides a logical space that contains the service provider's applications).

The solution approach must take a wide range of TEE technologies into account and will focus on the use of public key cryptography.

The group will produce the following deliverables. First, an architecture document describing the involved entities, their relationships, assumptions, the keying framework and relevant use cases. Second, a solution document that describes the above-described functionality. The use of the best possible encoding format will be decided in the working group. The group may document several attestation technologies considering the different hardware capabilities, performance, privacy and operational properties.

The group will maintain a close relationship with the GlobalPlatform to ensure proper use of existing TEE-relevant application layer interfaces and other abstractions used by GlobalPlatform-compliant TEE devices.

Milestones

Aug 2017     Submit "TEEP Architecture" document as WG item.

Oct 2017     Submit "TEEP Protocol" document as WG item.

Nov 2017     Participation in the IETF #100 Hackathon to work on the TEEP Protocol.

Dec 2017     Submit "TEEP Architecture" to the IESG for publication as an Informational RFC.

Mar 2017     Organization of an interoperability event at IETF #101.

Apr 2017     Submit "TEEP Protocol" to the IESG for publication as a Proposed Standard.

[1] Wikipedia, 'Trusted execution environment', URL: https://en.wikipedia.org/wiki/Trusted_execution_environment (March 2017).
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

_______________________________________________
TEEP mailing list
TEEP@ietf.org
https://www.ietf.org/mailman/listinfo/teep
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.