[Seat] Re: Comments on formal analysis of relay attacks in attested TLS (CVE-2026-3369)

Muhammad Usama Sardar <muhammad_usama.sardar@tu-dresden.de> Sun, 26 July 2026 23:31 UTC

Return-Path: <muhammad_usama.sardar@tu-dresden.de>
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 DE30011EFA73A for <seat@mail2.ietf.org>; Sun, 26 Jul 2026 16:31:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1785108668; bh=rVjJV8HF0G11j8P189hm8ymtHIQ16ld6+3CB6pKQjHM=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=WxGVY0qVusqxChrMY959O1Pm+GWLgVD9r99SM9sUcM9hBiNuRG7oAXkvp8IPAAL5S urXdS8F8xmuLOXpMvXiMhxfnbEO8yXGVHjQ0PwXxrikqgzNR17i3tlDMkl+wLynviE hmuz1FJfFziF/mZqKJ1Rpiw3fzFpV6C5L3UUZPTg=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.398
X-Spam-Level:
X-Spam-Status: No, score=-4.398 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=tu-dresden.de
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 AbgQC5JbI8xf for <seat@mail2.ietf.org>; Sun, 26 Jul 2026 16:31:07 -0700 (PDT)
Received: from mailout3.zih.tu-dresden.de (mailout3.zih.tu-dresden.de [141.30.67.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 6FDE711EFA72E for <seat@ietf.org>; Sun, 26 Jul 2026 16:31:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tu-dresden.de; s=dkim2022; h=Content-Type:In-Reply-To:From:References:CC:To :Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YQa0A9kiKYq2lNZBk/iKnVzPMgZjxsW+eczI16FlDvM=; b=hKx+w2COwcQqBw/ktAp1hAKP7I FtPLmZDDo27HizBSvJGaM9enz1K37HzcoVxObqtjD+eUNgqM8u6R0D+nKyKqpSoHAmpGEQpHGJ9D1 DZCnzLl1hjCyjMt7+RQgDcV61M7vS48LyszPPeyK6CQ24FmSVZp4WzFw/Li+hx4tORgcu/g1W2d7U IM5SX2KyzB/c7yUGFEpTCHQMUijQd2uXnptnhehZlMuegm+tbduDaRBnWicVHZzI+A0sOijm1gy1X 1Y7j75K1wx+RhREi9KYhC2gmpvIppEkho3PT44YLlxsaLSWB9iUGKCtRPR6gMsWDmMMz2hT3imwXx 6YJ+wnwg==;
Received: from msx-t422.msx.ad.zih.tu-dresden.de ([172.26.35.139] helo=msx.tu-dresden.de) by mailout3.zih.tu-dresden.de with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <muhammad_usama.sardar@tu-dresden.de>) id 1wo8JC-00FNVB-2K; Mon, 27 Jul 2026 01:31:06 +0200
Received: from [10.12.5.228] (141.76.13.165) by msx-t422.msx.ad.zih.tu-dresden.de (172.26.35.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.45; Mon, 27 Jul 2026 01:30:59 +0200
Message-ID: <5fb42c5c-825b-472b-8455-ce893011ade5@tu-dresden.de>
Date: Mon, 27 Jul 2026 01:30:58 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Markus Rudy <mr@edgeless.systems>, "seat@ietf.org" <seat@ietf.org>
References: <5f361893-bc32-4737-9578-fdb3ad7be3f9@tu-dresden.de> <9F03163D-B0F9-40DD-A4AB-69C151B872D6@aiven.io> <c4a0c433-173d-44ac-bd48-eed642a674d3@tu-dresden.de> <CAHxYnaOBMnPp7EiRLNYWX8AQDc2zYoBL226nfeBiPXsyii7Now@mail.gmail.com> <CAHxYnaOFWQBLf0Pn8bY=CMx7ytSEkTbvj7xp-s0GCHJohRh5xg@mail.gmail.com> <MRWPR02MB1208667A0653CF2C6B141933DB7CD2@MRWPR02MB12086.eurprd02.prod.outlook.com> <76b504ae-5692-4f31-a9d2-025974b12339@tu-dresden.de> <MRWPR02MB1208652B214687BB93253F1D2B7CD2@MRWPR02MB12086.eurprd02.prod.outlook.com>
Content-Language: en-US
From: Muhammad Usama Sardar <muhammad_usama.sardar@tu-dresden.de>
In-Reply-To: <MRWPR02MB1208652B214687BB93253F1D2B7CD2@MRWPR02MB12086.eurprd02.prod.outlook.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms090607040907020009020005"
X-ClientProxiedBy: MSX-L421.msx.ad.zih.tu-dresden.de (172.26.34.141) To msx-t422.msx.ad.zih.tu-dresden.de (172.26.35.139)
X-TUD-Virus-Scanned: mailout3.zih.tu-dresden.de
Message-ID-Hash: GBHEM7UKSFZN7YUE47PUOU72HRWZOQSK
X-Message-ID-Hash: GBHEM7UKSFZN7YUE47PUOU72HRWZOQSK
X-MailFrom: muhammad_usama.sardar@tu-dresden.de
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
CC: "ufmrg@irtf.org" <ufmrg@irtf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Seat] Re: Comments on formal analysis of relay attacks in attested TLS (CVE-2026-3369)
List-Id: "Secure Evidence and Attestation Transport (SEAT) WG" <seat.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/seat/IQRExTQEdD4bVJ6fZJREwvG_Y4A>
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 Markus,

I think we are largely talking past each other.

Let me summarize what you seem to be saying: you seem to believe that 
there are binary levels: level0 (no binding) and level1 (G1 <=> G2 <=> 
G3). Is that correct?

On the contrary, we show in paper that there four fine-grained levels: 
level0 (no binding); level1 (G1); level2 (G2) and level3 (G3). Results 
in Table 4 of [0] provide concrete counter-examples to your levels. 
We'll happily clarify this in the extended technical report with 
intuition and examples.

On 26.07.26 21:42, Markus Rudy wrote:
>> If someone thinks a specific binding mechanism is missing that might lead to different results for intra-handshake attestation, please let us know, and we will happily share the analysis with the WG.
> The binding mechanism I have in mind is the handshake secret, or something derived from it. Would be nice to see how this breaks down under formal analysis - I've not seen an argument that would explain that intuitively.

Thanks, that is helpful. A few notes:

 1. Unless I am misunderstanding something, that is not really "missing"
    in the paper since that is the proposed binder in Sec. 7.2 of [0],
    and the results are already in Table 4 of [0]. ProVerif artifacts
    are in folder 'proposal' of [3].
 2. I believe I covered a good number of intuitive arguments in slide 2
    of my SEAT presentation [1]. For example, I removed the whole
    encryption done by handshake traffic key, and nothing changes in the
    security properties of TLS. Doing the same with encryption done by
    application traffic key literally beats the whole purpose of TLS;
    like why do TLS at all if all you want to do is to send application
    data unencrypted. I don't know how else to explain it more
    intuitively. Maybe someone else can phrase it better than me.
 3. I'm not sure what question you are trying to settle for SEAT, where
    the charter says (/emphasis/ my own):

        The attested (D)TLS protocol extension will not modify the (D)TLS
        protocol itself. It may define (D)TLS extensions to support its
        goals
        but will not modify, add, or remove any existing protocol messages
        or /modify the key schedule/.

     Deriving keys from handshake secret is an extension of the key 
schedule which would already violate the SEAT charter.

>> Please see Sec. 6.4 in paper [0] which explicitly proves it cryptographically, and let us know what specifically you disagree with. Just vaguely disagreeing is not very helpful.
> I thought I was specific: you proved G3 => G2 => G1, but you don't prove it strictly, such that G1 =!> G3. I'm arguing that G1 <=> G2 <=> G3, which does not contradict your prove, but makes it more precise.

Thanks for the clarification. I believe Table 4 in [0] has clear 
counter-examples to your argument. For instance, there are binders which 
satisfy G1 but not G2 and G3.

In the extended technical report, we will add more detailed traces and 
intuitive explanations for each binder, and disprove G1 => G2 => G3.

>> Please see first paragraph of G_3 in Sec. 6.3 in paper [0], which explains explicitly why it is an essential goal.
> What I see in the paper is the following paragraph:
>
> "After establishing an attested TLS connection, the client’s secrets (such as weights and context
> data for inference) are encrypted using a key derived from the client’s application
> traffic key atsc. Hence, an essential security goal is to analyze the correlation
> of Evidence with atsc. The derivation of atsc includes handshake messages up
> to the server’s F IN. Hence, G3 is at least as strong as G2."
>
> That paragraph is entirely correct! However, it _does not rule out_ that you can _correlate_ to atsc by _binding_ to htsc. This is the same argument as above: (G1 <=> G3) would imply you can bind to any and correlate to atsc. Note that you are using "at least as strong" exactly as I mean it: it is as strong, but might not be strictly stronger.
As a concrete counter-example, there exists a binder (namely the one 
proposed in Sec. 7.2 of [0]) which satisfies G1 and G2 but not G3. I 
believe I covered a good number of arguments in slide 2 of my SEAT 
presentation [1].
>> Please see #4 in Sec. 7.1 of [0] for several practical reasons. Do we want that LEK in an unrelated server anywhere in the world breaks our connection? That is clearly too bad, and the world is probably better with standard TLS than have such a broken design of attested TLS.
> I'm aware that the relay attack for the binding mechanisms you analyzed applies to any unrelated server being compromised. The mistake is the assumption that servers are cattle, and that you can't tell between a server compromised in someones basement and a server at your contractual $CSP. That, however, is not true: I can configure my evidence verification to only consider trusted (known) server hardware in the first place. This is independent of attested TLS, but a function of the verifier.

I disagree. Developers who are used to TLS must be explicitly given this 
guidance. Please see the chartering time discussion where IESG 
explicitly requested operational considerations.

Even if you consider configuration outside the scope of attested TLS, 
having configuration is insufficient. Somehow the identity of server 
hardware must be sent during the protocol to match against the 
configured trusted (known) server hardware.

>> We would be happy if you can share precisely what changes in Fig. 3 of [0] in the mitigations you have applied.
> As I tried to explain several times, including in the post you responded to: this defect is _not part of the TLS key schedule_ - it's a shortcoming of remote attestation with current generation of TEEs! It arises due to the hardware vendors' threat model which does not cover everything that CC once advertised for. The mitigation removes the LEK attack vector, which the relay attack relies on.

Just to make sure you are looking at the right figure, I mentioned Fig. 
3 of [0] which is the protocol and not the TLS key schedule. So I am not 
sure why you are mentioning "not part of the TLS key schedule."

Also, as I mentioned, the statements/presentations/answers of Intel and 
what is written in their specifications are all very contradictory.

Continuing the idea of the last response above, I would like to see 
precise answers without handwaving to:

 1. What exactly is the server identity in your view?
 2. Who assigns this identity?
 3. How is that identity supplying entity trusted?
 4. Where in the Evidence is the server identity conveyed? (exact field
    in Quote and Report of Intel TDX and AMD SEV-SNP)

>> Second, this requires trusting the cloud provider, contrary to the whole claim of confidential computing.
> We agree on that in principle, but not everything is so black and white. Running in a TEE still reduces the attack surface by a lot. Physical attacks in a hyperscaler datacenter are much harder to perform than software attacks (bringing a suitcase onto the floor and hooking up a machine vs. SSHing into it remotely). TEEs still protect from co-tenants that managed to breach their containment and gain software root on the hypervisor.
I am not sure what you are talking about, and how this is related to the 
paper and this discussion. We are not comparing with and without TEE. In 
the world I live in, security is always evaluated compared to the 
claimed security properties. Confidential computing made a claim that 
there is no need to trust the cloud provider, and we are saying this is 
not possible in the current technologies.
>> Third, what we report is the binding weakness. We do not believe it can be reasonably eliminated by anything other than changes in the protocol.
> My entire message was about that. I do think there is an option for binding securely - the handshake secret - and I made both intuitive and mathematical arguments for why that holds. These should be countered with examples, rather than beliefs.
Please see my three points in the beginning and please answer them 
individually as precisely as possible.
> If these CVEs are related to the discussion at hand I'd like to remind you: Edgeless uses a scheme you publicly call broken (correct), and I explained the mitigation we're using and why I think this invalidates the claim, looking at the whole picture. If you think this mitigation is not enough, you are cordially invited to responsibly disclose the reason to me, too.

Will follow-up off-list

Best regards,

Usama, Slava, and Jean-Marie

> [0]https://www.researchgate.net/publication/408219182_Intra-handshakefail_CVE-2026-33697_High-severity_CVE_in_Attested_TLS
> [1]:https://datatracker.ietf.org/meeting/126/materials/slides-126-seat-binding-properties-of-expat-00
>
> [2]https://www.researchgate.net/publication/398839141_Identity_Crisis_in_Confidential_Computing_Formal_Analysis_of_Attested_TLS
> [3]https://github.com/muhammad-usama-sardar/intra-handshake.fail