Re: [Rats] Android comments on EAT draft

Thomas Fossati <Thomas.Fossati@arm.com> Fri, 17 May 2019 16:24 UTC

Return-Path: <Thomas.Fossati@arm.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 BCFDE120223 for <rats@ietfa.amsl.com>; Fri, 17 May 2019 09:24:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.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 oJiwDeWuPBqC for <rats@ietfa.amsl.com>; Fri, 17 May 2019 09:24:56 -0700 (PDT)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0610.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::610]) (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 A191312024E for <rats@ietf.org>; Fri, 17 May 2019 09:24:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GCo3A5SL4XVAOcSstZ3zV0RHdbkXdTLPG+XDex34AmU=; b=DYehihJmSEN74SwWV0b76eAOBPcELw5bpgLOUSlQmvGcYmTERqXDFw/5vqlIJTctkZeMasqnKgQZBb4vMtxx5SEGBPe9IxlWBoTvVDnkSF9pZ7ZD3o4zCWEjQ6U2h2IOdzYoMLKBEP2j/1VMJ0dNcZ9eMQcTIVLby6iDfCdJMZ0=
Received: from AM6PR08MB4231.eurprd08.prod.outlook.com (20.179.4.202) by AM6PR08MB3080.eurprd08.prod.outlook.com (52.135.167.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.24; Fri, 17 May 2019 16:24:48 +0000
Received: from AM6PR08MB4231.eurprd08.prod.outlook.com ([fe80::d841:9c65:9c2b:5393]) by AM6PR08MB4231.eurprd08.prod.outlook.com ([fe80::d841:9c65:9c2b:5393%6]) with mapi id 15.20.1900.010; Fri, 17 May 2019 16:24:48 +0000
From: Thomas Fossati <Thomas.Fossati@arm.com>
To: Jeremy O'Donoghue <jodonogh@qti.qualcomm.com>
CC: Shawn Willden <swillden=40google.com@dmarc.ietf.org>, "rats@ietf.org" <rats@ietf.org>, Simon Frost <Simon.Frost@arm.com>, Laurence Lundblade <lgl@island-resort.com>, Thomas Fossati <Thomas.Fossati@arm.com>
Thread-Topic: [Rats] Android comments on EAT draft
Thread-Index: AQHVC4B6mj3GlLUuMkW80Rw8v6HzmqZtBoOAgACT9wCAAKZ4gIAAAOWAgACyVICAACXDAIAAFGaAgABlhQA=
Date: Fri, 17 May 2019 16:24:48 +0000
Message-ID: <02F820AD-9AE7-486F-AD5E-DA676B51F7B9@arm.com>
References: <CAFyqnhVJ-ps4bdhsyQDOHdzHVZsXeK7_kCDXxUVUcuyDzWS3uA@mail.gmail.com> <35459D73-3D08-4E0B-814B-780AD60DD600@island-resort.com> <HE1PR0801MB1643AA2E129098E2C65F9163EF0A0@HE1PR0801MB1643.eurprd08.prod.outlook.com> <CAFyqnhX9f5s21roZvz_VcfR+sd3E89SYmunZKX-2JMC4Rqy_cw@mail.gmail.com> <CAFyqnhXzoo9+2pu1qboPSiHr7YTzfRjOcJj3oEpOX_uFWbRyKA@mail.gmail.com> <E5AEF90D-D0A4-4F64-AA60-090167A31725@qti.qualcomm.com> <EAEFEF91-D04A-474C-9048-C9DA5B98EC9C@arm.com> <B1A69042-5A07-44F6-8BE1-6D28D32EAD38@qti.qualcomm.com>
In-Reply-To: <B1A69042-5A07-44F6-8BE1-6D28D32EAD38@qti.qualcomm.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Thomas.Fossati@arm.com;
x-originating-ip: [217.140.106.55]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 838a9e9c-cf17-4bba-bfa6-08d6dae42e66
x-ms-office365-filtering-ht: Tenant
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:AM6PR08MB3080;
x-ms-traffictypediagnostic: AM6PR08MB3080:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <AM6PR08MB3080377CFB01E804B2ED97799C0B0@AM6PR08MB3080.eurprd08.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0040126723
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(376002)(396003)(366004)(39860400002)(189003)(40434004)(51914003)(199004)(86362001)(54906003)(72206003)(229853002)(966005)(25786009)(486006)(4326008)(82746002)(478600001)(6246003)(81156014)(6306002)(36756003)(6512007)(81166006)(5024004)(256004)(8676002)(33656002)(53936002)(6436002)(6916009)(91956017)(76116006)(66476007)(66946007)(73956011)(64756008)(66556008)(6486002)(8936002)(14444005)(26005)(316002)(2906002)(14454004)(66446008)(68736007)(76176011)(3846002)(102836004)(5660300002)(53546011)(6506007)(83716004)(71200400001)(66066001)(7736002)(99286004)(2616005)(71190400001)(6116002)(476003)(186003)(11346002)(305945005)(446003); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB3080; H:AM6PR08MB4231.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: COj0nRJhC4wXwLrp5h8aQaNjVe2/3hA5eiRI/irfFLYDYpa7NiSZTFpccDNxg687HqSeJlasqD9Ab5/HByPgwopUXxnpEB/JhMWGVMOZ1K4ploaHae2B38XPJmzWqMsUiWU/UdJrcVH7/ACrC27U7/1Nr7eJZoU51ePhPLspLvbW1sdhaVpfXiaCaWKbUWo7aPfxCanuUpi3ue6tqQhsZ3DD+ng2WJHXtwpDWeJLoOB7RLSAimcgfjKIa7eN0026j3gUP+RpHskgYUBK62451vuL4b0zdfKGk2YhAUCjomDXgXow4lrsF7EpVaxNOHSjtYCROZ/zMG3qqFsz0G7FnSzGLFFG3nctFwoNoEW+VcIBfn51440pVv7GD9V0lInohWbyRJeodTuwD+tLRibnCXHm6+A7Sqzqv6qsQxqlFfM=
Content-Type: text/plain; charset="utf-8"
Content-ID: <A115A8FAA79EB14EBF8B785E3F3FA8CB@eurprd08.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 838a9e9c-cf17-4bba-bfa6-08d6dae42e66
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2019 16:24:48.4048 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3080
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/Mg_hwkq9tiHw9A_8qKE-HvbQEuM>
Subject: Re: [Rats] Android comments on EAT 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, 17 May 2019 16:25:00 -0000

Jeremy: thanks for taking the time to elaborate, very much appreciated.

On 17/05/2019, 12:21, "RATS on behalf of Jeremy O'Donoghue" <rats-bounces@ietf.org on behalf of jodonogh@qti.qualcomm.com> wrote:

    Hi Thomas,


    Please see inline


    On 17 May 2019, at 10:08, Thomas Fossati <Thomas.Fossati@arm.com> wrote:

    Hi Jeremy,

    Thanks for the insights into GlobalPlatform.

    I have a few questions inline.

    On 17/05/2019, 08:53, Jeremy O'Donoghue wrote:

    This specific point is one for which GlobalPlatform has a solution in
    our TEE/SE related claim definitions. It is possible that this
    solution may be more general, although it had not previously occurred
    to me that this could be the case.

    [...]

    The Digital Letter of Approval is a published specification, available
    for free (of charge) download behind a click-through license at
    https://globalplatform.org/specs-library/?filter-committee=tps.  I am
    aware that some RATS participants may be unable/unwilling to access
    this document, so I paste the outline DLOA format information below:

    The Digital Letter of Approval (DLOA) is an XML file containing the
    minimum fields required to:

    * Identify the platform – the combination of the application and the
     platform – this DLOA corresponds to



    It is not completely clear to me what is meant by platform in this
    context?  Is it the TEE/SE only or is it the whole device or something
    else?






    Today the "platform" is a unique identifier, normally chosen by the manufacturer, that identifies the hardware and any software relevant to the Target of Evaluation described in a Security Target document - in GlobalPlatform terms this is the TEE or SE,
     but it is really dependent on the chosen Protection Profile.


    There is nothing inherently preventing this from being an entire device although there are, to my knowledge, few certifications that operate at the device level. I do expect this to change.



    Also when you mention the "platform identifier" a few paragraphs below,
    what kind of identifier is this?  And who has authority to mint these
    IDs?


    * Identify the Authority that issued the corresponding Letter of
     Approval








    * Provide the expiration date of the corresponding Letter of
     Approval

    * Identify the Letter of Approval from which this DLOA has been
     generated (i.e. include the identifier of the Letter of Approval
     issued by the Authority)

    * Ensure authenticity and integrity of the DLOA thanks to a digital
     signature computed by the Authority

    * Provide additional information such as the date of issuance of the
     corresponding Letter of Approval or a URL where the original Letter of
     Approval can be retrieved








    All of these would be issued by a Conformance Assessment Body (CAB).


    In most cases the CAB approves test laboratories to perform the testing on behalf of a device manufacturer and submit reports to the CAB for assessment. Labs may choose to participate in multiple schemes, both commercial and/or government run.


    In general, we can consider several types of Conformance Assessment Body.



    * Commercial CAB schemes such as GlobalPlatform, EMVCo, FIDO, China UnionPay
    * Government-run / Supra-national schemes such as ANSSI, BSI, SOG-IS mutual recognition, probably ENISA in future,




    In principle, anyone can set up such a scheme. In practice a degree of credibility is needed to assure relying parties of the value of a certification. Commercial CABs face challenges here and usually go to considerable lengths to show that certifications
     are meaningful (e.g. GlobalPlatform went to ANSSI for assessment of the TEE Protection Profile.


    I expect two general changes in the use of certification over the next couple of years that might affect how we think of attesting certifications:



    * Regulation at the national or supra-national level. It may be that certifications from selected "trusted" CABs are required for some device classes.
    * Creation of meaningful certifications at the whole device level. As an example, a device may have some components that are certified at high levels of assurance (e.g. a Secure Element or TPM / EAL4+), others at a lower ("substantial" / EAL2+) level
     and some without more than simple functional compliance (e.g. a WiFi subsystem). Such certification will certify a complete device as fit for purpose as some level, depending on the Security Functional Requirements for that device class.




    The general concept behind DLOA is flexible enough to adapt to these.




    The work to incorporate this in an EAT is ongoing, and will be shared
    at Public Review time, but basically you need two claims: one is a
    platform identifier and the second is the URL of a web service where
    certification details can be retrieved.

    The web service is generally operated by a Certification Body
    (GlobalPlatform in the case of GlobalPlatform compliance secretariat)
    and allows retrieval of complete certification information which is
    valid at the time of retrieval.

    If an approach based on an external registrar service is of more
    general interest, I can arrange a more detailed explanation.



    That would be fantastic.

    Cheers, t


    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.








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.