[CFRG] Re: Relay Attacks in Intra-handshake Attestation for Confidential Agentic AI Systems (CVE-2026-33697 of CVSS 7.5)
Muhammad Usama Sardar <muhammad_usama.sardar@tu-dresden.de> Sat, 04 July 2026 15:31 UTC
Return-Path: <muhammad_usama.sardar@tu-dresden.de>
X-Original-To: cfrg@mail2.ietf.org
Delivered-To: cfrg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id D6B1110E7F7D3 for <cfrg@mail2.ietf.org>; Sat, 4 Jul 2026 08:31:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783179069; bh=Fm/lu0fdFcpFa9Vri8vuts5NnK+vC5fVsd47FnwYyDM=; h=Date:From:Subject:To:References:In-Reply-To; b=edzMwQ9nIH9jk3S47GtnXK0z71rB+zmRucDwHoCqeDNajlVi5K2eQYcR3WIH9D2zh 1oP9/MV32rXDJEyGM76+2S3Kq00vRGsAL1/4aaYdzsSh/gKORNukKeBNV1MLMBYfLQ VQbaZMPyB8ul6N4JeCGAgaw47wYN9xJJ0JpJKYP8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_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 AjerIQG4LVe0 for <cfrg@mail2.ietf.org>; Sat, 4 Jul 2026 08:31:07 -0700 (PDT)
Received: from mailout7.zih.tu-dresden.de (mailout7.zih.tu-dresden.de [141.76.32.220]) (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 651C810E7F7C7 for <cfrg@ietf.org>; Sat, 4 Jul 2026 08: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:References:To:Subject :From:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: 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=+hlOisRGM1RBg0WCeICQNXWXRYlhEObNuR5sI9EA/ms=; b=RK/ipePOxhWSXB7OjPJWzmTLdo oz0tYf+LrAJ7MKkrHCK7xN5MJ9bMVr7rKd6aLIxmHnsrZ6V5YHZrTMJ566p8H8DgTCw/VkelaN3fD A6iKbxfXBxIbQbP9UfST4hqM95QwtXXjR35kkMqn1eGlSDgmDkIKjFVr8EUY/pnFRuED6JfJZKQjf 393EXNao+X5coI9o8tUyWpRwON+WvbRQqwpLbVEdAEl5/PpYSYnPiNAiKSyMQ6/FJ7j7dJc4m0uI3 xj7S4dXK5CGpaTzRVk3pW3WpFIru0bszQzOsQmDJlMM/dgAI7vMS1YF5EJMnbFKky7s33M4TpO7Vk +gJB0BtA==;
Received: from msx-t422.msx.ad.zih.tu-dresden.de ([172.26.35.139] helo=msx.tu-dresden.de) by mailout7.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 1wg2Kc-000rGZ-1w for cfrg@ietf.org; Sat, 04 Jul 2026 17: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.43; Sat, 4 Jul 2026 17:31:01 +0200
Message-ID: <924b9abf-6ce3-4021-8360-3d6f615e2a06@tu-dresden.de>
Date: Sat, 04 Jul 2026 17:31:00 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Muhammad Usama Sardar <muhammad_usama.sardar@tu-dresden.de>
To: cfrg@ietf.org
References: <12fc286f-fc6f-4398-97f3-f87bbcd7a7c6@tu-dresden.de>
Content-Language: en-US
In-Reply-To: <12fc286f-fc6f-4398-97f3-f87bbcd7a7c6@tu-dresden.de>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-512"; boundary="------------ms080306000208010100080100"
X-ClientProxiedBy: MSX-L415.msx.ad.zih.tu-dresden.de (172.26.34.135) To msx-t422.msx.ad.zih.tu-dresden.de (172.26.35.139)
X-TUD-Virus-Scanned: mailout7.zih.tu-dresden.de
Message-ID-Hash: JMMSCJCVXT7BC325L43UPW4ZDP6NVVUV
X-Message-ID-Hash: JMMSCJCVXT7BC325L43UPW4ZDP6NVVUV
X-MailFrom: muhammad_usama.sardar@tu-dresden.de
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; header-match-cfrg.irtf.org-1; 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: [CFRG] Re: Relay Attacks in Intra-handshake Attestation for Confidential Agentic AI Systems (CVE-2026-33697 of CVSS 7.5)
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/7g2dDvhA_PtbHr2NCxvYEjSH1fA>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>
[ Already shared and thoroughly discussed at SEAT and UFMRG; sharing
here for wider opinion/review ]
Hi CFRG,
Following up on our previously reported results (see email below) and my
IETF 125 presentation [8], we would like to share ProVerif artifacts
under Apache-2.0 License [9] and paper [10] to facilitate independent
review and seek RG feedback on the next steps. The work resulted in the
discovery of CVE-2026-33697 [11] of CVSS 7.5 and is accepted for ESORICS
2026.
Particularly relevant for this RG is an initial paper-and-pen proof in
Sec. 6.4 of paper [10], and we are seeking cryptographer's feedback and
collaborations to move this work forward towards a cryptographic proof.
Concrete technical results and implications for binding mechanisms of
the intra-handshake attestation from our formal analysis include:
1. All analyzed binding mechanisms and the corresponding
implementations of intra-handshake attestation are vulnerable to
relay attacks.
2. Early exporter helps achieve level 1 binding.
3. Our proposed mechanism helps achieve level 2 binding.
4. It may not be possible to achieve level 3 binding in
intra-handshake attestation alone without additional assumptions.
5. The research suggests that recent hybrid proposals (combination
of intra-handshake attestation and post-handshake attestation)
draft-fossati-seat-early-attestation and draft-ritz-seat-facts
may add unnecessary complexity of intra-handshake attestation
without adding any security benefit compared to post-handshake
attestation alone, such as draft-fossati-seat-expat.
We welcome any feedback from the RG and will be happy to address it.
Best regards,
-Usama
[8]
https://datatracker.ietf.org/meeting/125/materials/slides-125-cfrg-relay-attacks-00
[9] https://github.com/CCC-Attestation/formal-spec-KBS
[10]
https://www.researchgate.net/publication/408219182_Intra-handshakefail_CVE-2026-33697_High-severity_CVE_in_Attested_TLS
[11] https://www.cve.org/CVERecord?id=CVE-2026-33697
On 21.02.26 18:29, Muhammad Usama Sardar wrote:
>
> [ Already shared at relevant lists like SEAT, RATS, UFMRG, SAAG;
> sharing here for wider opinion/review ]
>
> Hi all,
>
> # *Context*
>
> SEAT WG is working on attested TLS, i.e., extending TLS 1.3 with
> remote attestation (cf. RFC9334). Following up with more details on
> previous request for review [0]. We would like to hear the thoughts of
> cryptographers about this work. As we have observed, a quick look of
> cryptographers is very helpful.
>
> # *Summary*
>
> We (i.e., I, Dr. Viacheslav Dubeyko [IBM], and Prof. Jean-Marie
> Jacquet [University of Namur]) extensively explored binding mechanisms
> in intra-handshake attestation for confidential agentic AI systems.
> The way we define agentic AI system includes agent to agent (A2A) and
> agent to orchestrator (A2O) communication.
>
> We did formal analysis in state-of-the-art tool ProVerif and we would
> like to share a summary of our findings from our formal analysis with
> the hope to get some feedback and share some questions for which folks
> may have some insights to share.
>
> # *Key Finding*
>
> /All/ analyzed binding mechanisms and implementations are ad-hoc and
> /all/ of them result in relay attacks.
>
> Please note that this includes Meta's AI [1] for which a thorough
> security assessment [2] was carried out by /Trail of Bits/ and they
> were unable to capture the relay attacks but as kindly clarified by
> Tjaden Hess, no formal methods were used in their review process. Our
> analysis shows the value of formal methods in the review process.
>
> # *Fundamental Issue*
>
> Basically, there is no binding of Evidence to the TLS connection in
> all of these implementations.
>
> # *TEE-agnostic System Model*
>
> * Layered Attester (e.g., Intel TDX)
> * Composite Attester (e.g., Arm CCA)
>
> # *Scope of Attested TLS*
>
> * Intra-handshake attestation
>
> # *Formalization Approach*
>
> * Symbolic security analysis
>
> # *Formalization Tool*
>
> * ProVerif
>
>
> # *Binding Mechanisms*
>
> *A*. We considered the following values for user-defined field "rdata"
> in TEEs
>
> 1. Client's TLS nonce
> 2. Client's Attestation nonce
> 3. Early exporter
> 4. (Hash of) Server's public key
>
> /Question for discussion/: Is someone aware of any other value that
> folks use in "rdata"? If possible, please share a link to
> specification and/or implementation.
>
> *B*. Combinations:
> We considered the following combinations of binding mechanisms from *A*:
>
> 1. Hash (Client's TLS nonce || Server's public key)
> 2. Hash (Client's Attestation nonce || Server's public key)
> 3. Hash (Client's Attestation nonce || Server's public key || Early
> exporter)
>
> /Question//for //discussion/: Is someone aware of any other
> combination that folks use in "rdata"? If possible, please share a
> link to specification and/or implementation.
>
>
> # *Prominent Industrial Implementations*
>
> 1. Edgeless Systems Contrast [3]: uses binding mechanism *B2*
> 2. Cocos AI [4]
> 3. CCC proof-of-concept [5]: uses binding mechanism *B2*
> (Implementation of draft-fossati-tls-attestation)
> 4. Meta’s AI [1]: uses binding mechanism *A1*
>
> /Question//for //discussion/: Is someone aware of any other
> intra-handshake attestation implementation? If possible, please share
> a link to specification and/or implementation.
>
>
> # *Binding Levels*
>
> 1. Shared DH secret (g^xy)
> 2. Client's handshake traffic key (htsc)
> 3. Client's application traffic key (atsc)
>
>
> # *Correlation Properties*
>
> * G1: Correlation of Evidence to Shared DH Secret
> * G2: Correlation of Evidence to Client’s Handshake Traffic Key (htsc)
> * G3: Correlation of Evidence to Client’s Application Traffic Key (atsc)
>
>
> # *Results*
>
> We proved the proposition: G3 => G2 => G1
>
> We discovered relay attacks in all above proposals for binding
> mechanisms as well as all implementations analyzed. We provide a
> formal proof of insecurity that all above binding mechanisms and
> implementations fail to even achieve G1 property (Level 1 binding).
>
> Any binding that involves server's public key needs additional
> assumption that server's private key does not leak.
>
> In general, all solutions fail when server's private key is leaked. In
> other words, extension of TLS with attestation in these
> implementations is not really bringing much benefit from a security
> perspective and rather giving a false sense of security.
>
> We believe that it is not possible to achieve level 3 binding for
> intra-handshake attestation alone without breaking other TLS properties.
>
>
> # *Implementation Issues*
>
> * Meta's AI uses client's TLS nonce (instead of attestation nonce),
> and hence does not provide Evidence freshness.
> * Cocos AI abuses the SNI extension to convey attestation nonce.
> * Edgeless Systems Contrast was abusing the SNI extension to convey
> attestation nonce, and currently abusing the ALPN extension to
> convey attestation nonce.
>
>
> # *Proposed Mitigation*
>
> * We propose a cryptographic binder and modify CertificateVerify
> message, which achieves level 2 binding.
>
>
> # *Paper and Artifacts*
> A paper is under submission and artifacts are well-documented. We will
> make the paper and artifacts public later on.
>
>
> # *Contributors*
> We thank Eric Rescorla, Juho Forsén, Markus Rudy, Mariam Moustafa,
> Tjaden Hess, Yuning Jiang, Pavel Nikonorov, Casey Wilson, and Martin
> Thomson for sharing their insights and providing valuable feedback.
>
>
> # *Other related implementations within IETF*
>
> * Attested EDHOC: Our intuition (no formal proof yet) is that the
> attacks should apply to attested EDHOC protocol in intra-handshake
> attestation [6] as well -- at least for the case of Responder as
> Attester. We have informed LAKE WG [7] about these attacks.
>
>
> # *Feedback/Ideas*
> We look forward to your thoughts and ideas on how we can mutually
> progress this work forward towards secure solutions.
>
> Best regards,
> Usama, Slava (Viacheslav), and Jean-Marie
>
>
> [0]
> https://mailarchive.ietf.org/arch/msg/cfrg/61SpXcv--YhcLbAvlcRog2J9S5s/
>
> [1]
> https://ai.meta.com/static-resource/private-processing-technical-whitepaper
>
>
> [2]
> https://github.com/trailofbits/publications/blob/master/reviews/2025-08-meta-whatsapp-privateprocessing-securityreview.pdf
>
> [3]
> https://github.com/CCC-Attestation/meetings/blob/main/materials/MarkusRudy.contrast-atls-ccc-attestation.pdf
>
> [4] https://docs.cocos.ultraviolet.rs/atls
>
> [5] https://github.com/ccc-attestation/attested-tls-poc
>
> [6] https://datatracker.ietf.org/doc/draft-ietf-lake-ra/
>
> [7]
> https://mailarchive.ietf.org/arch/msg/lake/Tovtl7wgvzwJWT2I2ZwnhoIOnYQ/
>
- [CFRG] Relay Attacks in Intra-handshake Attestati… Muhammad Usama Sardar
- [CFRG] Re: Relay Attacks in Intra-handshake Attes… Muhammad Usama Sardar
- [CFRG] Re: Relay Attacks in Intra-handshake Attes… Muhammad Usama Sardar