arXiv:2610.06061cs.CROct 2026

Manuscript Offprint

arXiv:2610.06061

PRA-TLS: Attestation of a Client Application for TEE

Reina Sasaki, Yutaka Ishikawa, Atsuko Takefusa, Masato Oguchi

REINA SASAKI 1,2,a)^{1,2,a)} YUTAKA ISHIKAWA 2,3,b)^{2,3,b)} ATSUKO TAKEFUSA 2,4,c)^{2,4,c)} MASATO OGUCHI 1,2,d)^{1,2,d)}

Received: xx xx, xxxx, Accepted: xx xx, xxxx

Abstract: Trusted Execution Environments (TEEs) are secure foundations for protecting sensitive information and executing computations over confidential data. Processing in an isolated execution environment (enclave) is invoked by an untrusted application in the Rich Execution Environment (REE). Then the enclave returns the execution results to the untrusted application. Even if the enclave has been attested, the boundary between the enclave and the untrusted application poses risks, such as tampering with input arguments or return values and manipulating the order in which the application invokes functions. Therefore, it is necessary to establish the authenticity and integrity of not only the enclave itself but also the application and its execution environment. In this study, we propose an attestation protocol, Portable Remote Attestation TLS (PRA-TLS), for a client application that invokes an enclave. We introduce a daemon that acts as an attester. PRA-TLS uses a trusted Attester Daemon to measure the state of the host environment and application code at runtime, providing these measurements as attestation evidence for verification by a remote Verifier. This mechanism allows the enclave to proceed only when the software environment is in the expected state and the application code is verified as legitimate. We define attack models and security requirements for the proposed protocol and formally evaluate its security using the Tamarin Prover. Furthermore, we implement a prototype of PRA-TLS using Intel SGX and evaluate its performance.

Keywords: TEE, Intel SGX, Remote Attestation, Formal Verification

1. Introduction

With the widespread adoption of cloud services, it has become common to manage and process data containing personal and corporate confidential information in cloud environments. Meanwhile, as cyberattacks become increasingly complex and diverse, cloud environments face a significant security challenge: protecting data confidentiality and integrity. Traditionally, data at rest and data in transit have been protected using cryptographic mechanisms such as storage encryption and Transport Layer Security (TLS) [1], [2]. However, data generally needs to be decrypted and loaded into memory before processing. This makes it difficult to protect data in use from the OS and other privileged software in the execution environment [3]. That's why Confidential Computing [4] has been proposed to protect data in use, using Trusted Execution Environments (TEEs) [5].

A TEE provides an isolated execution environment through hardware, such as a CPU or a dedicated chip. By processing data within a TEE, the risk of users leaking standard keys due to external attacks, such as malware, is mitigated. This enables data and executing code to be protected from an untrusted Rich Execution Environment (REE), even if an OS vulnerability is exploited to gain elevated privileges.

TEE implementations can be broadly classified into process-based and VM-based approaches [6]. Examples of process-based TEEs include Arm TrustZone [7], Intel SGX [8], and RISC-V Keystone [9]. In this paper, we use the term enclave, following Intel SGX, to refer to the isolated execution environment provided by a TEE. These process-based TEEs provide interfaces between a client application and an enclave, allowing operations to be invoked across the enclave boundary and input and output data to be exchanged [10], [11], [12]. However, this boundary poses an attack surface risk because arguments in the inputs and outputs between the application and the enclave are poorly designed or maliciously manipulated [13], [14].

Attestation allows a verifier to determine whether the enclave and its execution environment satisfy the expected security properties. However, attestation primarily targets the code and state within the enclave, whereas the client application that invokes the enclave is typically outside its scope. Consequently, even if an attacker invokes a legitimate enclave binary from a malicious client application, the enclave's attestation result may still be considered valid. One possible approach to addressing this problem is to verify the client application's signature. However, it is difficult to guarantee that the verified execution corresponds to the process actually invoking the enclave, or to ensure the integrity of the client application.

Therefore, even if an enclave securely processes confidential data, a compromised client application may still expose that data. Thus, in addition to verifying the enclave itself, the verifier must

1^{1} Ochanomizu University

2^{2} Research Organization of Information and Systems Joint Support Center for Data Science Research, Center for R&D on Secure Computer Systems

3^{3} Otsuma Women's University

4^{4} National Institute of Informatics

a) reina@ogl.is.ocha.ac.jp

b) ishikawa.yutaka@rois.ac.jp

c) takefusa@nii.ac.jp

d) oguchi@is.ocha.ac.jp also check the authenticity and integrity of the client application and confirm that a legitimate client application invokes the enclave.

In this study, we propose Portable Remote Attestation TLS (PRA-TLS), an attestation protocol for client applications that invoke enclaves in TEEs, with a particular focus on process-based TEEs. PRA-TLS realize the authenticity and integrity of the client application and its execution environment not only at startup but also during runtime. To generate the evidence required to attest to the client application, we introduce a trusted Attester Daemon. PRA-TLS extends a remote attestation protocol for Intel SGX, RA-TLS [15], to include the attestation of the client application. We then define the attack models and security requirements for PRA-TLS and formally evaluate the protocol's security in the Tamarin prover [16]. Finally, we extend RA-TLS, a remote attestation protocol for Intel SGX, to support client-application attestation and evaluate the extension.

The contributions of this paper are as follows:

  • We propose a remote attestation protocol, PRA-TLS, for a client application that uses an enclave.

  • We formally verify PRA-TLS using the Tamarin Prover to demonstrate that the protocol satisfies the defined security requirements under the assumed attack model.

  • We implement the proof-of-concept of PRA-TLS and evaluate its performance.

References (23)