An Open-source Implementation and Security Analysis of Triad's TEE Trusted Time Protocol

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Bettinger, Matthieu, Mokhtar, Sonia Ben, Simonet-Boulogne, Anthony
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915414571745280
author Bettinger, Matthieu
Mokhtar, Sonia Ben
Simonet-Boulogne, Anthony
author_facet Bettinger, Matthieu
Mokhtar, Sonia Ben
Simonet-Boulogne, Anthony
contents The logic of many protocols relies on time measurements. However, in Trusted Execution Environments (TEEs) like Intel SGX, the time source is outside the Trusted Computing Base: a malicious system hosting the TEE can manipulate that TEE's notion of time, e.g., jumping in time or affecting the perceived time speed. Previous work like Triad propose protocols for TEEs to maintain a trustworthy time source. However, in this paper, based on a public implementation of Triad that we contribute, we empirically showcase vulnerabilities to this protocol. For example, an attacker controlling the operating system, and consequently the scheduling algorithm, may arbitrarily manipulate their local TEE's clock speed. What is worse, in case of faster malicious clock speeds, an attacker on a single compromised machine may propagate the attack to honest machines participating in Triad's Trusted Time protocol, causing them to skip to timestamps arbitrarily far in the future. Then, infected honest machines propagate time-skips themselves to other honest machines interacting with them. We discuss protocol changes to Triad for higher resilience against such attacks.
format Preprint
id arxiv_https___arxiv_org_abs_2507_20851
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle An Open-source Implementation and Security Analysis of Triad's TEE Trusted Time Protocol
Bettinger, Matthieu
Mokhtar, Sonia Ben
Simonet-Boulogne, Anthony
Cryptography and Security
The logic of many protocols relies on time measurements. However, in Trusted Execution Environments (TEEs) like Intel SGX, the time source is outside the Trusted Computing Base: a malicious system hosting the TEE can manipulate that TEE's notion of time, e.g., jumping in time or affecting the perceived time speed. Previous work like Triad propose protocols for TEEs to maintain a trustworthy time source. However, in this paper, based on a public implementation of Triad that we contribute, we empirically showcase vulnerabilities to this protocol. For example, an attacker controlling the operating system, and consequently the scheduling algorithm, may arbitrarily manipulate their local TEE's clock speed. What is worse, in case of faster malicious clock speeds, an attacker on a single compromised machine may propagate the attack to honest machines participating in Triad's Trusted Time protocol, causing them to skip to timestamps arbitrarily far in the future. Then, infected honest machines propagate time-skips themselves to other honest machines interacting with them. We discuss protocol changes to Triad for higher resilience against such attacks.
title An Open-source Implementation and Security Analysis of Triad's TEE Trusted Time Protocol
topic Cryptography and Security
url https://arxiv.org/abs/2507.20851