[Seat] Re: Relay Attacks in Intra-handshake Attestation for Confidential Agentic AI Systems

Nathanael Ritz <nathanritz@gmail.com> Mon, 22 June 2026 17:13 UTC

Return-Path: <nathanritz@gmail.com>
X-Original-To: seat@mail2.ietf.org
Delivered-To: seat@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 292F410537BF9 for <seat@mail2.ietf.org>; Mon, 22 Jun 2026 10:13:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1782148383; bh=+WP+bo/7O6+cM6X3YoaU7TUosONz2KDQ7FyaCbQqB48=; h=References:In-Reply-To:From:Date:Subject:To; b=Cu9GySblTCZLTzFoz0dMQX4JozBvsqkb80lISHEPuelA9VfnzZKZDxlz3c4n3r/Dz 3kvzkj4/dI/1F94tG+qgd2vXOKglM9E31jVZHbhirsGuyVeqrJj8ZduJ7QHWBMH9Yo lDeR97xuWNFMHAmmQEnyrl1QktxRaDL0GNaUQ2n4=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XtEebLUzRQC9 for <seat@mail2.ietf.org>; Mon, 22 Jun 2026 10:13:02 -0700 (PDT)
Received: from mail-dl1-x1231.google.com (mail-dl1-x1231.google.com [IPv6:2607:f8b0:4864:20::1231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 8251310537B98 for <seat@ietf.org>; Mon, 22 Jun 2026 10:13:01 -0700 (PDT)
Received: by mail-dl1-x1231.google.com with SMTP id a92af1059eb24-1363fe80fe8so6359083c88.0 for <seat@ietf.org>; Mon, 22 Jun 2026 10:13:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1782148380; cv=none; d=google.com; s=arc-20240605; b=Nnts/vu5tkTLfQDgGFy2h4zJKVXhAn8+9bDmC9NCPyBnER0sZEy/iwvVVqo0PLSEPL 7RBeeGl8K6hC4IJJ6LkzzjwrXXhMuPUaq0D72U1mfeOYMunH8Fj8AffVGjND0y3F4UBQ Y0bhxAk6JKwvGT8VnJCk/TW7uhZ08YPO3qBHT/FRuxGw7EX/jAG+wBaXPhaktIXhZrGQ ib6yT+k9oMeVi0uWJghe4JXwbLwuDlgMEElPLJyFC3TNuZv0va+I26fKtvUM+znwtXAH E3GwjJB1LbNKkTAn+DvfejtqQ4P3omIhjgRDDl3vTrnQTOW2UDputReKTWdegqfhVmDm C7KA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=xS3imQHgMMU01nTYD+oBsZWhxzZN7NCKEXppllu0NKg=; fh=b1A3z6SXeP2LTIhwEU8XNQuQhSjvXxRO5W2vYHUtBv8=; b=hBZwzt0nX6IK6CCSnLP4m/Md8Ox7GOOfHoYwbpn8nGK1dRSsHxnxDm6Q8CzMzOr2cz TyOhtqXtrVWfJ+ue8I2h8MyJdVE/ZBcDVyILbF3bFTwh44ccVFVUEyZkWG+tJBqZqece c7TwHBxdvrvjzERVN63vntJU1BTkFYjZrcBnGuf8TODwjpKcYpWZTV5vFTir8QhO9z/L 6skTO2rKA77NWcHq1IYGfk2CWOUisXSwoeaW4x+KEF5b6Wy6mfGeJkkzLu4S5s4PFPUB F2yCMdkr6s3x3bHlSg/MKqgybJJB4+imS89o6tIQMp/XFMpeiZzKbOoONv2Q7yN0Nqc/ XLkQ==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782148380; x=1782753180; darn=ietf.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=xS3imQHgMMU01nTYD+oBsZWhxzZN7NCKEXppllu0NKg=; b=YapxtFt2lGyzcqpGVeR5CuhutPvclcuK88jIFGQiyZ4caspnw8OgB+B2+D6SWE636t cffhWR8xI00drhs5PreNpPP5OwqVLQQ/qboXshGigw0MF2b7KQuXhI0vGoY/z8OP/uLT NvTudfxaAhi8xGuo/M6XBQbt3BQj/TY+/TJaryleJeBaMEP6MdW35qJvm5E4VzrA8olp GIcoyDlDbPLUVayJRPpgkGdmaSGKoroA4NSLo1wKfTcZMzG5soPNpgRuJG0WVSamEDtY puRClFWrXcwkuzDvLYIAs+cZaa5N38ulYh1WJOvB34C69Mwfmbes/zLCBlBAtM2UpF8l gq9A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782148380; x=1782753180; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xS3imQHgMMU01nTYD+oBsZWhxzZN7NCKEXppllu0NKg=; b=Sil9zBJqj640e60OYVxfJf/PVzez1Cf1Lwt3+zusdHLyYi23FtYND9w5amykxTByjt VtK5nrCL7jwX3kfnjiKasvBXHnm6vtI+tUcNNOdVbfuRcrnmtF6BQAYbzuzBvrEEeuoq j8cUIo2Pz6f9rZmVFfMOxjnOHRt4DquAHcXKjmh7QXYUvf8ovhYicue0HZc3MIWaOdQ7 KME/GCjhbfv99iiVVN8mGqhDf/rD+NgS8F0LoLTEVQyHnrdd02GrIJ7JNyXi+spkMo/O fa0i0iL0opbc/RjtnE/EX9MhqlNucgkQeqnQ1NMStB5mclBDLa4uS5GoffAFhiLC9qq2 u1UA==
X-Gm-Message-State: AOJu0YwlV0DooF34GsupGdrCp3c/xrWBsU2QjUYXNNNZRC1T+7Kc+snY 3ArKzp15tgcZ/S5FT99yqvOUtSLmGroCpMiS0bli1bqKqhHalmI9qmYhoape7Pp6tlHSAzxyNKg OycyB5nEg4QpP7C55KHh7wmuJ65yH+Mi5OYyLeBI=
X-Gm-Gg: AfdE7cked9c3CDy96vsdbjZYIhVOWv2nAbss6zTbmKbdTySgT69OflFDWRzIPVi+QG1 PQMXotmHCrT5EduSRqROg2L0FQ0eQronGqornBlvDJ9+2KJ9e0YX5aeccLK7J3f1sgJtyT4//zC 7+I8nVH4L7GiArSH0Ma/FcubToP62sIYPQh9Drp5oKefz1j35hezNFXbKrlh/ODACX8wiKtDXPQ uuG5KMwWO67+f8R+cbjm3tbpdMSk7w3/Al4LmQNC4raIRKLwpiTpmI22UbIGpzQc3skCsCs
X-Received: by 2002:a05:7022:7a4:b0:138:2369:50e6 with SMTP id a92af1059eb24-139a386bb86mr9205518c88.19.1782148380269; Mon, 22 Jun 2026 10:13:00 -0700 (PDT)
MIME-Version: 1.0
References: <5f361893-bc32-4737-9578-fdb3ad7be3f9@tu-dresden.de> <9F03163D-B0F9-40DD-A4AB-69C151B872D6@aiven.io> <c4a0c433-173d-44ac-bd48-eed642a674d3@tu-dresden.de>
In-Reply-To: <c4a0c433-173d-44ac-bd48-eed642a674d3@tu-dresden.de>
From: Nathanael Ritz <nathanritz@gmail.com>
Date: Mon, 22 Jun 2026 11:12:46 -0600
X-Gm-Features: AVVi8CcB_q1cjf0HHqGH60eXA0A8VPMHgMfCVCHzF-kXRGYhw9VK1s6eKDBbwzw
Message-ID: <CAHxYnaOBMnPp7EiRLNYWX8AQDc2zYoBL226nfeBiPXsyii7Now@mail.gmail.com>
To: "seat@ietf.org" <seat@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000249d960654dac147"
Message-ID-Hash: U2K7K6XM6A3TZA6LPGDKYI7MPXLAYV3Z
X-Message-ID-Hash: U2K7K6XM6A3TZA6LPGDKYI7MPXLAYV3Z
X-MailFrom: nathanritz@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Seat] Re: Relay Attacks in Intra-handshake Attestation for Confidential Agentic AI Systems
List-Id: "Secure Evidence and Attestation Transport (SEAT) WG" <seat.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/seat/U-0qtLpaFqQ7MDq-ArRflnEe-rE>
List-Archive: <https://mailarchive.ietf.org/arch/browse/seat>
List-Help: <mailto:seat-request@ietf.org?subject=help>
List-Owner: <mailto:seat-owner@ietf.org>
List-Post: <mailto:seat@ietf.org>
List-Subscribe: <mailto:seat-join@ietf.org>
List-Unsubscribe: <mailto:seat-leave@ietf.org>

Hi SEAT,

I have some additional comments to offer in this thread.

Comments are offered below with [NR]:

On Thu, 18 Jun 2026 at 15:58, Muhammad Usama Sardar <
muhammad_usama.sardar@tu-dresden.de> wrote:

> Hi Paul,
> [...] Formal (Symbolic and paper-and-pen) analyses is *the most* serious
> thing we could do. Let us know if you had/have something else in mind.
>

[NR] I generally agree with Usama's sentiment regarding the merits of
additional formal analysis work, which he shared with me at [2]. Of course,
understanding the context helps interpret any formal analysis to evaluate
how and why certain query results relate to the present work.

> Technically, we do not believe we have missed any binding mechanism for
> intra-handshake attestation that might lead to different results.
>
[NR] My current understanding of this statement is that the paper and/or
artifacts may not directly analyze the unique binding of either of the "two
[3,4] out of three current proposals under discussion in the WG." While
formal analysis of real-world implementations may be useful for some
vendors still deploying old, unstable specs (resulting in high-severity
CVEs), I believe that the current work proposed to this WG has moved well
beyond the limitations originally found in the expired
`draft-fossati-tls-attestation` I-D, for example.

> We would be happy if you could tell from the email in the thread which
> binding mechanism or point us to any missing real-world implementation for
> intra-handshake attestation you would like us to check. Formal analysis
> artifacts are easily extensible.
>
 [NR] In my view, the binding mechanism the WG should evaluate, if not done
already, is found in draft-fossati-seat-early-attestation-04 as defined by
section 5.1.1.

> One can check additional binding mechanisms by just changing the value of
> a single variable: rdata. Everything else is automated.
>
[NR] Depending on the model's construction, merely changing the input to
`rdata` may not yield new results, as that modification alone would be
insufficient without also incorporating a CA-backed certificate into the
same model. I don't think anyone in this WG will argue that any concrete
protocol proposals submitted to the list should not produce a usable second
trust anchor. Usama also noted this sentiment in his IETF-125 follow-up to
the CFRG mailing list regarding his presentation about composing remote
attestation with TLS [5]. I agree that providing two independent trust
anchors seems to be the general point of the exercise.

[NR] Furthermore, both `draft-fossati-seat-expat-02` and
`draft-fossati-seat-early-attestation-04`
acknowledge the risks of so-called "split deployments," where the TLS stack
does not reside inside the TEE [6, 7]. This kind of split deployment can
occur when CV is checked against a standard CA-backed webPKI certificate
whose private key resides outside the TEE.

[NR] Therefore, beyond merely updating the single `rdata` value -- the
formal model needs to evaluate the security properties when a CA-backed
signing key (LTK) is composed with Evidence signed over by the attestation
signing key (AK) present inside the attesting environment. In a follow-up
to Usama's request [2] for my own formal analysis work on
`draft-fossati-seat-expat-02`,
I did just that [8], and found that while the ephemeral signing key inside
the TEE provided no independent security fallbacks on it's own (pending
critical feedback on my model), I still found that both the AK and LTK
independently provided resilience against single key compromise.

[NR] My models for `draft-fossati-seat-early-attestation-03` (extended from
Sardar et al.'s Identity Crisis research) also indicated the same to me: both
the AK and LTK (TIK) appear to provide independent, trust-anchor redundancy
in the case the AK might be abused as a signing oracle, or separately in
the case where the AK is assumed fine, but LTK has been stolen or otherwise
compromised itself.

[NR] In short, while it's hard to be sure about the full scope of the
forthcoming work for now, I would like to see Usama and collaborators share
a model that explicitly evaluates the binder mechanism from
`draft-fossati-seat-early-attestation-04`,
where the assumptions align with that draft's security model: modeling a
TEE-resident TIK that is provisioned with a CA-backed certificate alongside
the novel binder mechanism. I would be very interested to see the results
of such a direct analysis, regardless of opinions regarding the status of
the draft's apparent scope within the SEAT charter.

Sincerely,
Nathanael

[0]
> https://github.com/CCC-Attestation/formal-spec-KBS#upcoming-and-recent-talks-and-research-visits
>
> [1] https://datatracker.ietf.org/doc/draft-usama-seat-intra-vs-post/
>
[2] https://mailarchive.ietf.org/arch/msg/seat/VEgdWuRdOq0YwGV6OUTWUp5ShWM/

[3] https://datatracker.ietf.org/doc/draft-fossati-seat-early-attestation/

[4] https://datatracker.ietf.org/doc/draft-ritz-seat-facts/

[5] https://mailarchive.ietf.org/arch/msg/cfrg/sUQnF1KOL5XsvCwY0VRASICk3T4/
[6]
https://www.ietf.org/archive/id/draft-fossati-seat-expat-02.html#section-5.2-2

[7]
https://www.ietf.org/archive/id/draft-fossati-seat-early-attestation-04.html#section-5.2-2

[8] https://mailarchive.ietf.org/arch/msg/seat/zD1NTnUEdRM5SayHxXfuO9robTA/

On Thu, 18 Jun 2026 at 15:58, Muhammad Usama Sardar <
muhammad_usama.sardar@tu-dresden.de> wrote:

> Hi Paul,
> On 18.06.26 22:45, Paul Wouters wrote:
>
> On Jun 16, 2026, at 17:02, Muhammad Usama Sardar
> <muhammad_usama.sardar@tu-dresden.de>
> <muhammad_usama.sardar@tu-dresden.de> wrote:
>
> Respectfully, just to clarify: as the email mentions, the work was
> requested by Paul, the AD at that time.
>
> i have not requested any formal verification papers.
>
> I meant to refer to the protocol design and analysis work, not the paper.
> This is what we (Slava, Jean-Marie, and I) understood you to be requesting.
>
> I am not aware of any one beyond 2-3 participants who can review the code.
> Since this WG does not have the blessing of FATT, we believe writing paper
> and getting it reviewed at conferences helps in independent evaluation of
> the design approach and artifacts, in addition to WG participants' review.
>
> I have asked the WG in the past to seriously look at intra handshake
> options with offering a straw man idea,
>
> Formal (Symbolic and paper-and-pen) analyses is *the most* serious thing
> we could do. Let us know if you had/have something else in mind.
>
> but you seem mostly interested in disproving your own versions of
> intra-handshake in favour of your preferred solution.
>
> I don't think they are *my* versions. We have collected the binding
> mechanisms from existing real-world implementations of intra-handshake
> attestation, including:
>
>    1. Meta's AI
>    2. Cocos AI
>    3. Edgeless Systems
>    4. CCC proof-of-concept
>
> and discussions with the community, i.e., several research and industry
> consortia [0], including the Confidential Computing Consortium.
>
> Technically, we do not believe we have missed any binding mechanism for
> intra-handshake attestation that might lead to different results. We would
> be happy if you could tell from the email in the thread which binding
> mechanism or point us to any missing real-world implementation for
> intra-handshake attestation you would like us to check. Formal analysis
> artifacts are easily extensible. One can check additional binding
> mechanisms by just changing the value of a single variable: rdata.
> Everything else is automated.
>
> I also do not believe post-handshake is *my* preferred solution. It was
> recommended by TLS WG back then, and several developers have shown their
> preference because of security, privacy and unnecessary complexity issues
> with intra-handshake attestation [1].
>
> I still haven't seen, or missed in the many emails, of why binding TEE PKI
> evidence and web server tls WebPKI cannot be done with some DNS/SAN binding
> signed by the TEE, to ensure the integrity of the TLS server by the TEE
> (even if that is not a confidential cloud computing use case) and avoiding
> rebinding attacks by using a different compromised TEE
> via the SAN reference of the TEE.
>
> We did not understand how to formalize that. If you could write a draft
> clarifying the protocol spec, we'll happily do the analysis for you and
> help you move the idea forward.
>
> Best regards,
>
> -Usama
>
>
> [0]
> https://github.com/CCC-Attestation/formal-spec-KBS#upcoming-and-recent-talks-and-research-visits
>
> [1] https://datatracker.ietf.org/doc/draft-usama-seat-intra-vs-post/
> _______________________________________________
> Seat mailing list -- seat@ietf.org
> To unsubscribe send an email to seat-leave@ietf.org
>