Re: [Rats] [CoRIM] The use case for TDX- and SEV-SNP-measured virtual firmware

Henk Birkholz <henk.birkholz@sit.fraunhofer.de> Wed, 10 January 2024 17:30 UTC

Return-Path: <henk.birkholz@sit.fraunhofer.de>
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 9469EC14F5F8 for <rats@ietfa.amsl.com>; Wed, 10 Jan 2024 09:30:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=sit.fraunhofer.de header.b="tfKFjjSt"; dkim=pass (1024-bit key) header.d=fraunhofer.onmicrosoft.com header.b="fjadbnv/"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vy4Q1_DS_qlk for <rats@ietfa.amsl.com>; Wed, 10 Jan 2024 09:30:46 -0800 (PST)
Received: from mail-edgeka27.fraunhofer.de (mail-edgeka27.fraunhofer.de [IPv6:2a03:db80:4420:b000::25:27]) (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 E597DC14F5EB for <rats@ietf.org>; Wed, 10 Jan 2024 09:30:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sit.fraunhofer.de; i=@sit.fraunhofer.de; q=dns/txt; s=emailbd1; t=1704907846; x=1736443846; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=1kc2A8lYADRGBUDu/Yyz9LwH2SkupcxCS3vxL0DO8Oo=; b=tfKFjjStdR1goreU2UY+N2MpBG8tx6/IvMyJXlVFP8OHCUr04/5cTmt1 NMLLR4EcuQq72+6mOxJPDsQ0/pFNOrsYptCcY9eX5uAqfurN2XKt93E3c 3AjWHoBOarpGQwVaMObCD5qL7UpeL1oalazN5AP33EtAp1NcCA0FPbm0C plYOMBYdPH1brbyN4R7ABn9PXvKOfwAk2+CgW7Xb8pWenhzkukuw0PxVK H8BVMjSXRMkSqZ3IGB70AYDEn2ZGpEpt2ghzc6fq56iIHksAyzJUOK8Dp m/mM2CFAJ7UK56yQN/XcedjWU/bDo2dKnTtzHKkAKEzfEjZ1dAVICkF9v g==;
X-CSE-ConnectionGUID: NaxUjLdZQqivHlzr26FY8w==
X-CSE-MsgGUID: 4fHcJFtVQGym1CLrCWyOYw==
Authentication-Results: mail-edgeka27.fraunhofer.de; dkim=pass (signature verified) header.i=@fraunhofer.onmicrosoft.com
X-IPAS-Result: A2EDAAB1055l/xmkZsBRCRkBAQEBAQEBAQEBAQEBAQEBAQESAQEBAQEBAQEBAQEBQIE7BAEBAQEBCwGCECh8gV8DhFCDT4ROiRktA4ETikqQeIEsFIERAxgWGw0PAQEBAQEBAQEBCAEuCwsEAQEDAQOCC4J0AodAJzQJDgECAQMBAQEBAwIDAQEBAQEBAQEGAQEGAQEBAQEBBgcCgRmFLz0Ngm0iaoEdAQEBAQEBAQEBAQEBAQEBAQEBARcCDQImDCgBAR4BAQEDAQEhDwEFCAEBJQcLAQ8JAhIGAgImAgIgBgsXDgYBCQMBBQIBAYIkWAGCKwMxFAaaE5poGjd6gTK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5R6TLYuYHHUSEMnqDcd5RwcvH3wwoXGgSYqmu/pqXjAB/Wy9sxuWy43vJja +KSpmso+0Jcnx2x/MoBsrjyq4AK7xP/x3k++d1kYoHtGwZrJN++F51IsDuGcpF7Wd4mXzRws T0hmdXu2La+dSkOjZkryBPcYqbYNYaS6w/lVOGfLC0+iH82ML68hhPn6UG70aW8Tci71l9Ws zBI2sfBrHED1hHfq4CHR/Jx813n2GOn2Rra9+dEJk45j+zcLZsgyaQ3jZ0drQLIGSqepQ==
X-Talos-CUID: 9a23:F6LZ7WiPM/ao3OKQu8UwRPGHEDJuVHTN8XX0L32BEGd3aLmHUwXO1pI0jJ87
X-Talos-MUID: 9a23:ppH5vwlP4r3JgVaJSQ0bdno+OudjwYqyNnkigJBfkO2eHhNhHAaC2WE=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="6.04,184,1695679200"; d="scan'208";a="6556146"
Received: from mail-mtaf25.fraunhofer.de ([192.102.164.25]) by mail-edgeka27.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2024 18:30:39 +0100
X-CSE-ConnectionGUID: dWfbq4sERH2nFZ+lFiU4HQ==
X-CSE-MsgGUID: U9G2pZgfR4qmN1n5GQ8toA==
IronPort-SDR: 659ed43d_90QwmLNaJO7O8e4lY+oia9XMiEqCtfwXGcCbUA0vCM/y+SE yTr46TRQ0zWDyhGTK7/XMrAjA6YHfGFEtHiczGw==
X-IPAS-Result: A0APAACA0p5l/3+zYZlRCRkBAQEBAQEBAQEBAQEBAQEBAQESAQEBAQEBAQEBAQEBQAkcgRYEAQEBAQELAYFmKigHPjdYgQcDhE+DTQEBhE5fhkUBgXQtAzgBWopKkHiBLBSBEQNWDwEDAQEBAQEIAS4LCwQBAYISgnQChz0CJzQJDgECAQECAQEBAQMCAwEBAQEBAQEBBgEBBQEBAQIBAQYFgQoThWwNhkYBAQEDAQEQEQ8BBQgBARQRBwsBDwkCEgYCAiYCAiA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J2G5NDpJcejA
X-Talos-MUID: 9a23:8raZ9A3KWeoUVCeyOCiIHdYSzjUj3vWBUlg/nps859CBE3V2Zhik3Ciwa9py
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="6.04,184,1695679200"; d="scan'208";a="225632984"
Received: from 153-97-179-127.vm.c.fraunhofer.de (HELO smtp.exch.fraunhofer.de) ([153.97.179.127]) by mail-mtaF25.fraunhofer.de with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jan 2024 18:30:37 +0100
Received: from XCH-HYBRID-04.ads.fraunhofer.de (10.225.9.46) by XCH-HYBRID-03.ads.fraunhofer.de (10.225.9.57) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Wed, 10 Jan 2024 18:30:37 +0100
Received: from DEU01-FR2-obe.outbound.protection.outlook.com (104.47.11.169) by XCH-HYBRID-04.ads.fraunhofer.de (10.225.9.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28 via Frontend Transport; Wed, 10 Jan 2024 18:30:37 +0100
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IwXDt4rIeVfqO96hzLfm1nRiGxl639dbSjoBZ7+zShv8bwGNYaNjm20Zi3d/JxtlIFr9avj1gBZmquc88MgfVseadHox73u/hB9n+mHJteIogiZilwPojzRwVYnPnlAzYNeilC4dKCNWdpu85cdy2j1W4PQQOC0v3lEpv/5CPGILWZBYl7x1SG8xil3l592xxgDLleb3N6/4FL+bz0nwOq4Gfy4oeUFccQXpt0nLFgBbuzzAorFZZH9kUeV9Ocr6j4uP34lOWcFQA5Fm3WAjPyQ1xsHmH53+o++v260fEcURbaqCtJGqKB20j8mShWOs4MTWkt21+DCFYvhuw26geA==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lFTorkB0FcguaPe7RoY/ftMM1l3Txvb8X1JAw8OuAbY=; b=O5JN83VS1Vb+fhh3tKCscc/bCweroRuG/wDizSwNDepcBtncrdw3aFeJ3VHBKE+Yf0eQJINNOQlEp3WuVrkO2L3BAxIaEqalkdIZENiL+TTvPY+uMc5NkzO3k0bNQpn5rymj5LuC1qrX9PCUbGrt9JOq/+sPd7N9HOIAblAxcRdwxTr6KlRyVKDWqmMjOGRBNAM4C2wZffpFpgYSSFDuK1oYwSXyReB5EqT8GwDrlZgWt2jUJkOt6C7yl8rU9aw1Y1y/X3cnBEhzFQMF0DByQVBNoU+kqNQwi2Omeu3HDxkxjtA8UF4+cbzNiTgpIbxnucmsxMpj46y1w8VLX6L0Aw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sit.fraunhofer.de; dmarc=pass action=none header.from=sit.fraunhofer.de; dkim=pass header.d=sit.fraunhofer.de; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fraunhofer.onmicrosoft.com; s=selector2-fraunhofer-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lFTorkB0FcguaPe7RoY/ftMM1l3Txvb8X1JAw8OuAbY=; b=fjadbnv/FQpKookVLt1Vk1SCJNeGSC10/B/Jw6yA8YWLzO4IOjtUpy0MlDMCHnvi1AuA2Ptr2v+MsszLtDYQWaaW6MZwJ8deoXmM9agKYEW98BNhkSNb+Peo5LVGgAnWD+uWTblKYpkVhUEmg8+EUMvReEPYSEjwM+SZ4/Q39/4=
Received: from FR0P281MB2879.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4c::8) by FR2P281MB2347.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:3a::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Wed, 10 Jan 2024 17:30:35 +0000
Received: from FR0P281MB2879.DEUP281.PROD.OUTLOOK.COM ([fe80::a3df:349f:8d92:1d7f]) by FR0P281MB2879.DEUP281.PROD.OUTLOOK.COM ([fe80::a3df:349f:8d92:1d7f%4]) with mapi id 15.20.7181.018; Wed, 10 Jan 2024 17:30:35 +0000
Message-ID: <955ed46a-7f32-da8b-06e2-10c45bf5c1d9@sit.fraunhofer.de>
Date: Wed, 10 Jan 2024 18:30:34 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
Content-Language: en-US
To: Dionna Amalie Glaze <dionnaglaze@google.com>, Tom Jones <thomasclinganjones@gmail.com>
CC: rats <rats@ietf.org>
References: <CAAH4kHak38yodUYUJGGPjor42PB5cNgHnC_h-c0F3T6KJapTjw@mail.gmail.com> <CAK2Cwb4zHtRTjb82njC1eUc-R83Fjpw39JNBfCT+tFNaLoTcRw@mail.gmail.com> <CAAH4kHYqYONbs4mODjJ_hRmhxrbzHup1pbUbVGWuijFf0tGyZA@mail.gmail.com> <4efe6901-ea7a-e24c-98f9-957289b6d1dc@sit.fraunhofer.de> <CAK2Cwb58BXdQ0K+nXWzcH6QPdfUVO-SdUSaKBiMq249X8enr+g@mail.gmail.com> <CAAH4kHZ9vDE7KrpqL9C7kAOm7DnWQRMNSp6udj_iV-s1uVXeJQ@mail.gmail.com>
From: Henk Birkholz <henk.birkholz@sit.fraunhofer.de>
In-Reply-To: <CAAH4kHZ9vDE7KrpqL9C7kAOm7DnWQRMNSp6udj_iV-s1uVXeJQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-ClientProxiedBy: FR4P281CA0041.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:c7::11) To FR0P281MB2879.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4c::8)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: FR0P281MB2879:EE_|FR2P281MB2347:EE_
X-MS-Office365-Filtering-Correlation-Id: 24d07f68-5d78-43e8-29c1-08dc1201dabb
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: pz5Ey5xW36mmGKa7OVXuV4NI0EkOjg9SM78AU2LCGkHR5wH41EPrZOgYFA5Icwpo1KIQi3d70MBd10vTR/6gAdRDX9vmgPtYg+StPzPzZdGw9RLTWW3ldBK//rLsWfN0EYP6KJRVvaeLf5t03/punSDTOtzx/21uVWzXPVr67jTRg84rn7iOzWRIt4hdAG9BCDoMHrUeyRzFYr0wuxiYrdtwZt8knz9XqxmH4Vfop4+V/ZJvLcj7YA2tXtH39UJnnJJmhKTN1XX5InZjfz4jvaeZQgNT3gr2DowHHV+b3sC4nDUIiAlNVZhdDmVOF46JCTe3OlTZO1gS1nXBX3jc7SacnTEhmt/p90P3K0f91VoYo9OVS6iJ33q9udgZxZGgMl2JNMiAyCVg+sbHbZ19DpsxE4zzi7lL+U7vH6OZKPpSdN7sQxq1eLdgPumDRAoTlP/7N8hHJwbnEASuFt5n3atuxMUxZbHYItMzppU9ewa34CoK74b5/7Kei2umeRphCRiu1cFMsoeLEi5GUGyMjBUR3w0kmSmtLZTBtmTh0RBEoTcmWnDQhB6jMg5Wnj6Tq6evkYeBn8LzT/kRf/H+Dpoli9KDlHFpl/hv5SFb2fntLsNEYY80kg6A/uPno5SxsnVsSwZACKcQnfpIdzNYpWSoE9ov0BTnkn9jwtY8S2oqNBTmTvkWIPNhL7cvLD0E
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:FR0P281MB2879.DEUP281.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(376002)(39860400002)(136003)(396003)(366004)(346002)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(66899024)(38100700002)(82960400001)(5660300002)(44832011)(2616005)(26005)(2906002)(30864003)(66946007)(66556008)(66476007)(6486002)(4326008)(53546011)(6512007)(110136005)(966005)(478600001)(316002)(8676002)(8936002)(41300700001)(83380400001)(31686004)(6506007)(31696002)(86362001)(45980500001)(43740500002); DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: yCdqzukSH6pUBPo/lUamS1YdphmBRob29unbvgQm1RTWnFsLa956zFBb0VW/9+OURQKAX74TFZ4b/mM8UFDp5BRp7HsOsRywHtSQBY0/gNNiKyKVOxw5TTCTf9HsR/lSZQ/lgURc2sd0X7hzyXs2UoSVU1kOuvoRqfXHNTkDz/dvAtHqyUZ1hVuhgdo31P6PSUEmloFpprtVInlM7BMaczqTxS26o2yDzdNWhtUPAB3jldp8L7O7Py8tzhWvKiEJbNkewdHtl3ESPvgaGuV1KZx4wl1WznLuSArujVb9EWn54Mdr13J56n4s8PR2Tpg8+qxR3VuEMtlt+AkifoM9jUH6O+b8JvdW2S8GPr+pNZI+d54BBH1awpjh1korLdPtf2p36KMmJRCXyNkDzvpfP4yGt6WIpGg5h0bcAssnYCiHWdKdOu66sTQKeDWjxJcmBp6hYYu8FErZ6MatBK9NRAYVnnlrWJ3KMoFDUmDvQGcFlxJkC9zVaBxU0keX21wfUl0iXOZqjmYSjScmS44l6BUOLT2WRHfVgQmFzBINNSR/R8/dqnM5NpkgBFMj4WPtfb6az4nw/OvE6yk5pJmdXhW7c1dZS/Kx6DAMXO4tirAzqZPZTtPUL51lMsEgjXaDthzWzyvwhlV6WonJkKZgpVqg4SKnqqZJNymplDLXku5eCbjudJALW3aXYNjVlHyWcW/qxT0P9toZMzAahb9PsMHh1UHjxwf5VheKbcvESsxSkB+rheEsqIwImamScatFthqa3dZu+3usyOWffI4FQZ6Hq4w/EWLfd2llJTz5exbi/Y8sX6lK37LPiaAuxJvN1IAyP1KTFr/9jwBhsUxKzZs0tBxKAYx5A7qZ5mUf8q4nmSy8v83zp0+cOuEUpgJ9av9MoXO29RgqOwzZEvwIqfw3CTH2v65S22YH5ubFOQ0z9LRXaue7T5LNtQRJGp20HIb6at3c3/A/afJxa6UMXNnHyNET/8V3t2j1DzNerFVm2BTkK8SIIfiSI8+/ighPUu3PtOPMdpPFOUmp3FpRRaXrY8xeV//JniD4ZC3hHJE2aKojVpkPkqWdgYd9JErd41XS8+MP1nlRUzww5XLI2RHR4lYdsZs3oy0cTOhaxJh1FfEpunKqfrG7Evz3Sb1deq63ixU0SMR51+fYdmfxDd/KKw4w4dNnb2q1AbBv+pppgYFpYdNq6lhGOOPMN3qF7qEiFKVVKoi/EF8b+qvhoavI4iFh3Jpm2w7ZLLDbLJ92bEDx4eWDbouvnpifPzve0i91tNNzSkb+hTTdBCLJZOeek91UGW5tiovK32SeVrfM9rIB5L6WdOpB2ina6e0tRPtM3duKNi8m120exeYmMm3AzFcRT+SNZL3qRkE+HoxhvDT7aNZfXK+dUbdHZITSrgV/l3Bx9VVpymvui7DcpYPKAxbO4CSawGzhLpuB/BiT+sCLRrdPOvN6jJHXv6q6bGOfKjqv4ovCChUM5eUTY95WZcZcdu2vT175E7xt4I9gBVxm2lJaZJFSkV1/QE9Or3NDGB5DpdLXt/DWOQHznW9svSJoF8qY8ZTIz+Df2GcZdHgJvt//DbnXi7mKR0hvNP43HUyiZ8DF4pId9WlUlWmOVGVBuY8mROgboYBnX0U=
X-MS-Exchange-CrossTenant-Network-Message-Id: 24d07f68-5d78-43e8-29c1-08dc1201dabb
X-MS-Exchange-CrossTenant-AuthSource: FR0P281MB2879.DEUP281.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2024 17:30:35.4715 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f930300c-c97d-4019-be03-add650a171c4
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: Mpi4jctwRvEIUZjNtfd+qVDpTLkSnTzBWWeIJTDOybQlkSFevv0m2pxrOmP/2N4yHSVYm8ew/DoDCXkM8TTYhufKN5nO29f1aNZbBFC8KRc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: FR2P281MB2347
X-OriginatorOrg: sit.fraunhofer.de
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/qiKmH8iYrofOonTld1cVLIIMTC0>
Subject: Re: [Rats] [CoRIM] The use case for TDX- and SEV-SNP-measured virtual firmware
X-BeenThere: rats@ietf.org
X-Mailman-Version: 2.1.39
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: Wed, 10 Jan 2024 17:30:52 -0000

Hi Tom,
hi Dionna

role composition is a thing and an entity taking on both the role of a 
Verifier and the role of a Relying Party. In draft form, there is even 
the a composition of the corresponding Conceptual messages Evidence and 
Attestation Result: AR-augmented Evidence in 
https://datatracker.ietf.org/doc/draft-ietf-rats-ar4si/ that would cater 
hybrid models with multiple Relying Parties.


Viele Grüße,

Henk


On 10.01.24 17:41, Dionna Amalie Glaze wrote:
> On Tue, Jan 9, 2024 at 3:31 PM Tom Jones <thomasclinganjones@gmail.com> wrote:
>>
>> This is the part that sounds like a hand wave
>>
>> its job right, such that you can take the chip's signature of a
>> virtual instance's boot state at face value, so long as the key
>> certificate roots back to the manufacturer's published root of trust.
>>
>> I am the guy that gets this attestation and needs to make the trust decisions. How do I know what that means when I make the trust decision. I hope that you are not going tell me to read some policy statement
>>
>> At least in tls we have the CA!B for a min set of policies.
>>
> 
> CA/B and certificate transparency are certainly the kind of efforts
> that build transparency efforts are trying to emulate. The SLSA
> framework for securing build environments and certifying builds is a
> step towards the "Baseline Requirements" for how, say, firmware
> binaries are produced. If you trust that the builder has met these
> requirements, you can make the logical jump that the binary artifacts
> are a product of the sources that are pointed to by the signed SLSA
> provenance document. You can make the trust decision based on your
> personal trust in the sources and toolchain that produced the binary
> whose measurement is in the hardware-rooted attestation report. If you
> trust Google's SLSA attestations, you can add the SLSA root key to
> your trust anchor. If you only trust the attestation if you have some
> personal endorsement of the measurement, then that sounds like an
> appraisal policy to require
> 
> What kind of extra controls do you want for specifying your trust decisions?
> 
>> BTW I was the guy at Intel trying to build the very first of these back in 1996 so I understand the problem.
>>
> 
> Thanks for fighting the good fight.
> 
> The Open Compute Project appears to be very similar to RATS in their
> goals, but is starting simpler. They have hardware manufacturers
> coming together to decide on a common evidence format, and they want
> to avoid the need for offloading trust decisions to a verifier.
> Instead of minting trust decisions behind an EAT, they essentially
> would always pass around the whole CMW of the attestations of the
> target environment. If that's more appealing to you, you can just
> collapse the roles of relying party and verifier.
> 
>> thx ..Tom (mobile)
>>
>> On Tue, Jan 9, 2024, 1:06 PM Henk Birkholz <henk.birkholz@sit.fraunhofer.de> wrote:
>>>
>>> Hi Dionna,
>>>
>>> thank you for bringing the CVM goals here! I think they are a great
>>> addition to the mix. Let's try to figure out some answers to your
>>> questions step by step.
>>>
>>> You are touching on a lot of topics, so I am focusing on adding context
>>> to the RATS side of things first and in the interest of the list's
>>> subscribers only point quickly to one recent SCITT activity up front:
>>>
>>>> https://github.com/ietf-wg-scitt/draft-ietf-scitt-architecture/pull/156
>>>
>>> Pending the approval of that PR, the initial attempt to facilitate DIDs
>>> as a first citizen identifier is a thing of the past.
>>>
>>>
>>> So, RATS: please let me try to add some additional context about in-toto
>>> attestations in the context of RATS & CoRIM to start with, in the way
>>> how I currently understand it.
>>>
>>> The attestations you refer to are described here, I think:
>>>
>>>> https://github.com/in-toto/attestation/tree/main/spec/v1
>>>
>>> In remote attestation land, the concept that can be found at that
>>> pointer is potentially best compared with a RATS Endorsement or NIST's
>>> 3rd-Party Attestation and maybe also NIST's 1st-Party Attestation (a
>>> "self-attestation"), I think. It seems not to be RATS Evidence, I think,
>>> which is the input to a RATS Verifier, and I am happy to exchange more
>>> thoughts about that.
>>>
>>> in-toto attestations' outer layer are in-toto Envelopes with a JSON
>>> encoding, which are signed using DSSE:
>>>
>>>> https://github.com/secure-systems-lab/dsse/blob/v1.0.0/envelope.md
>>>
>>> DSSE - Dead Simple Signing Envelope - is an alternative approach to
>>> JOSE's JWS. Some reasoning about why it is defined as it is can be found
>>> here:
>>>
>>>> https://github.com/secure-systems-lab/dsse/#why-not
>>>
>>> In CoRIM work, we are also defining semantics that could be viewed as a
>>> type of pre-defined set of predicates as defined by in-toto:
>>>
>>>> https://github.com/in-toto/attestation/tree/main/spec/predicates
>>>
>>> I am an under the impression (maybe wrongfully so!) that the
>>> similarities seem to end there.
>>>
>>> Two of CoRIM's goals - in a simplified nutshell - are compactness
>>> combined with standardized signing. The JSON encoding prescribed by
>>> in-toto seems to be going down a different path, but hypothetically it
>>> might be possible to transfer all semantics covered in CoRIM into
>>> in-toto predicates. The DSSE uses a signing scheme that seems to make
>>> some unique choices on flexibility and extensibility, of which I would
>>> be careful to assume that they can be simply adopted as is. I am happy
>>> to exchange more thoughts on these topics, too.
>>>
>>> We definitely agree on the goal to not overly burden Verifiers with
>>> respect to their duty of appraisal of Evidence. There is a lot more in
>>> your email, but I am stopping here for now so that we can work through
>>> your illustrated goals and corresponding questions iteratively, if that
>>> is okay for you.
>>>
>>>
>>> Viele Grüße,
>>>
>>> Henk
>>>
>>> p.s. I started the email off with your reply to Tom instead of your
>>> initial email. Sorry!
>>>
>>>
>>> On 09.01.24 20:34, Dionna Amalie Glaze wrote:
>>>> On Mon, Jan 8, 2024 at 5:15 PM Tom Jones <thomasclinganjones@gmail.com> wrote:
>>>>>
>>>>> I don't understand the process that would allow a 3rd party attestor to make any assertion about what happened in the Google cloud (or any other cloud for that matter.)  Does anyone else understand the basis for virtual instances being attested as secure?
>>>>
>>>> The process is by transferring trust to a third party attester that
>>>> you do trust, and ensuring that the attested environment is heavily
>>>> protected from host tampering. This is the idea behind Trusted
>>>> Execution Environments, and is a very different threat model than
>>>> folks typically work with.
>>>> For AMD SEV-SNP or Intel TDX, you have to trust that the chip is doing
>>>> its job right, such that you can take the chip's signature of a
>>>> virtual instance's boot state at face value, so long as the key
>>>> certificate roots back to the manufacturer's published root of trust.
>>>> What Google then certifies is what the measurement of the boot means,
>>>> since we're providing the firmware. At first this will just be "we
>>>> signed the measurement", but then we'll add claims like, "this
>>>> measurement is producible through documented means on a binary that
>>>> was built from sources X and toolchain container Y"
>>>>    and then you can go further down the rabbit hole of if you trust the
>>>> builder, or if X + Y have the difficult-to-attain property that a
>>>> clean rebuild yields exactly the same bits. You can audit the sources
>>>> to establish trust in the firmware, and you can continue the "who
>>>> built the toolchain container and do I trust them?" unfathomably long
>>>> chain of builders building builders.
>>>>
>>>>> ..tom
>>>>>
>>>>>
>>>>> On Mon, Jan 8, 2024 at 4:33 PM Dionna Amalie Glaze <dionnaglaze=40google.com@dmarc.ietf.org> wrote:
>>>>>>
>>>>>> Hi y'all, I've touched on the issue of confidential VMs (CVMs) a few times in my issues and emails to this list, but I'd like to lay out exactly what we'd like to be able to enable with RATS.
>>>>>>
>>>>>> # Goals
>>>>>>
>>>>>> Our goal is for CVM hardware attestations of Google-provided TCB to be linked to
>>>>>> 1. verifiable authenticity: signed corim measurements
>>>>>> 2. auditable measurements: the signed measurement also points to a supply chain transparency report for the measured binary. A document or software package we publish shows how to calculate the measurement from the binary, and the transparency report binds the binary to an auditable source tree at commit X built with toolchain container Y, signed by an organizationally endorsed builder key that the build follows SLSA L3 operational security requirements.
>>>>>>
>>>>>> and ephemeral claims, e.g.,
>>>>>> 3. vulnerability reporting: short-lived certificates of firmware status, like "has the most up to date security version number" or "is subject to CVE xyz. Restart your instance to get on the latest version". This could be modeled as a CoRIM endorsement of a claim like "uptodate as of TIMESTAMP".
>>>>>> 4. Platform security reporting: short-lived certificates of platform firmware status, like "you can be sure that an attestation's TCB is >= x anywhere in the fleet"
>>>>>>
>>>>>> # Supply chain standards
>>>>>>
>>>>>> There are further things you can do with the transparency report like non-repudiation through hosting the build attestation with a transparency service that has append-only logs after identity-proofing, but there seems to be a fundamental disagreement between the IETF SCITT workstream and the sigstore.dev project on how to achieve that, since SCITT wants W3C DID identities, and sigstore.dev is already built to use OIDC. I don't know how that all is supposed to be consonant with RATS, since there's nothing in the corim or eat documents about using DID for identities. There is EAT binding to OIDC tokens though. Is there anyone in the RATS group that is participating in the SCITT effort that can explain this to me?
>>>>>>
>>>>>> The SLSA provenance schema itself is defined in terms of a completely different attestation format called in-toto (https://in-toto.io), and communication I've had with them is that in-toto should be considered an alternative carrier format to CoRIM to fit into the RATS framework. If we want to link the reference measurement to an in-toto attestation, that seems like something verifier-specific that we'd need to say, "hey if you want to ensure the firmware measurement is not only signed, but built transparently, then download the SLSA attestation in dependent-rims. By the way if there's more than one thing in dependent-rims, you can understand any url with prefix X to be a firmware build attestation from Google" which is an unfortunate complexity.
>>>>>>
>>>>>> # Modeling CVM attestation
>>>>>>
>>>>>> I'm trying to understand how to fit all these goals into the RATS framework such that we can propose extensions to open source verifiers that aren't overly burdensome or highly specific to each particular package we want to provide reference values (and provenances) for.
>>>>>>
>>>>>> In terms of the firmware measurement, we can deliver a CoRIM through a UEFI variable pointed to by the NIST SP 800-155 unmeasured event, and we can give the AMD SEV-SNP VCEK certificate through extended guest request, but everything else seems to be up to the verifier to collect independently of the VM.
>>>>>>
>>>>>> ## Evidence collection
>>>>>>
>>>>>> The way we're collecting attestations at the moment is through a recommended software package https://github.com/google/go-tpms-tools that wraps up a vTPM quote with a TEE quote and supporting certificates as a protocol buffer. I'm not clear if this unsigned bundling process should be modeled as any particular thing in the RATS framework. I think we're working with the "passport model" of attestation.
>>>>>>
>>>>>> I don't have a sense of how the WG foresees how evidence should be bundled to give to a verifier. I'm working from a vendor-specific understanding at the moment that whatever verifier service you use, you need to use their format and API, but of course ideally I'd like this to be more of a federated arena where you can have n-of-k verifiers say some evidence matches policy, and the evidence is not too vendor-specific for that to be out of the question.
>>>>>>
>>>>>> ## CVM Profiles
>>>>>>
>>>>>> Whereas Google has an attestation verifier service that generates an EAT with its own claims bound to an OIDC token (for the Confidential Space product), we'd like to use more standard claims, like AMD SEV-SNP measurement, Intel TDX MRTD, etc. Azure's attestation service has their own x-ms-* extensions for this that will hopefully help AMD and Intel align on how claims should be proposed for the CoRIM format.
>>>>>>
>>>>>> Supposing we do get profiles from Intel and AMD for their CVM attesting environments (more below), those environments sign quotes / attestation reports that serve as evidence for the claims defined in those profiles.
>>>>>>
>>>>>> I as a Reference Value Provider want to be able to provide a document that says something that covers 1 and 2 up front like, "if your AMD measurement is contained in {x, ...} or your TDX measurement is contained in {y, ...}, then you're running Google-authentic virtual firmware with security version n. The firmware this measures can be found at z".
>>>>>>
>>>>>> My understanding of how to do this is for the firmware CoRIM to have a single CoMID tag and the SLSA provenance linked from dependent RIMs.
>>>>>> The CoMID tag will have lang: en-us, tag-identity: some-uuid we generate before signing, and triples-map containing some reference triples.
>>>>>> We have reference triples for both AMD and TDX by using different environment-maps with different class fields.
>>>>>> AMD SEV-SNP's class is up to AMD to profile, but let's just say it's a class-id for the VCEK extension oid prefix 1.3.6.1.4.1.3704.1.1. The measurement-map for this can have an mkey or not. If we had one, I'm unsure if it's something that Google would define or if it's still up to AMD. If Google, we could use a uuid that stands for Google Compute Engine?
>>>>>> The mval as a measurement-values-map would then contain our AMD firmware svn, and AMD profile-specific claims, but I think we'd just give the measurements and some form of acceptable policy specification. We just have one guest policy we apply everywhere, but if that changes we probably need the AMD profile to have expressions like ranges, lower- and upper-bounds for policy components.
>>>>>> For Intel, they'd need a similar profile for the TDREPORT components as claims.
>>>>>>
>>>>>> I say measurements and not measurement even though we're talkabout about a single firmware binary because both AMD and TDX can have multiple measurements based on the VM construction, such as how many vCPUs it launched with (AMD has VMSAs and Intel has TDVPS).
>>>>>> For now our security version number matches what we measure as EV_S_CRTM_VERSION in PCR0, but that may change if there are technology-specific changes.
>>>>>>
>>>>>> As far as I understand, the Intel profile for CoRIM only supports the boot chain up to the quoting enclave (QE) in terms of its TCB version, but the profile does not describe the QE as its own attesting environment for SGX enclave or TDX VM. The attesting key is generated in the QE and is signed by the PCE's hold on the PCK, which is per-machine-per-TCB (ppid + pceid). The quote wraps around the attesting key's signature for verification against their non-x.509 format.
>>>>>>
>>>>>> AMD similarly does not have a profile for the SNP firmware as an attesting environment for an SEV-SNP VM.
>>>>>>
>>>>>> # Evidence Appraisal
>>>>>>
>>>>>> Setting aside evidence formats, I want to really understand how we go from a signed CoRIM and a CVM attestation to an attestation result (which I'll handwave is some JWT representation of the accepted claims).
>>>>>>
>>>>>> We somehow get the VCEK or PCK certificate and attestation report / quote, and the Google firmware CoRIM to the verifier. The verifier can verify the evidence back to the manufacturer with this forwarded (or cached) collateral and introduce every quote/report field as claims of the target environment.
>>>>>> Let's say Google's code signing root key is in the trust anchor, so any CoRIM we sign is trusted.
>>>>>>
>>>>>> If I read the CoRIM document about matching reference values against evidence, the document starts talking about conditional endorsements instead, which are a different triple from reference-value-triples. We discussed a little in the Github issues that reference values are a special kind of endorsement, but it's still jarring. It goes on to say that reference-value-triples is essentially redundant with the conditional-endorsement-triples, but you can use either. Then there's "In the reference-triple-record these are encoded together. In other triples multiple Reference Values are represented more compactly by letting one environment-map apply to multiple measurement-maps."
>>>>>>
>>>>>> It seems "Conditional Endorsement" is philosophical, and "conditional-endorsement-triples" is one implementation of the idea, and "Reference Value" is philosophical, but "reference-value-triples" is one implementation of the idea. Another implementation of "Reference Value" as an mkey of a "conditional-endorsement-triples", and the mval is more explicit about what claims are introduced. For "reference-value-triples", I don't see any explicit representation of a claim, rather, reference-value-triples lead to "authorized-by" getting added to fields of an Accepted Claim Set entry which itself is only a conceptual type to help understand appraisal, but not an actual claim itself–is this where a profile-defined claim needs to clarify meaning? I see this authorized-by as conceptually different from the optional field of a measurement-map, since that is from the CoRIM that I've signed and isn't part of an attestation result representation.
>>>>>>
>>>>>> If I'm looking at a JWT with an AMD profile claim about the measurement value, I'd like another claim that the measurement value is signed by Google, or a stronger claim that the measurement value was signed by a trusted source, and the build provenance is [some google URL to the SLSA provenance].
>>>>>> Again though, if at all possible these claims should appeal more broadly than just Google.
>>>>>>
>>>>>> --
>>>>>> -Dionna Glaze, PhD (she/her)
>>>>>> _______________________________________________
>>>>>> RATS mailing list
>>>>>> RATS@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/rats
>>>>
>>>>
>>>>
> 
> 
>