← Lab /Security & privacy

Malicious hosts can roll back TEE state and break threshold MPC, exposing key shares

TEEs, when combined with proper attestation, can mitigate many MPC implementation vulnerabilities but remain vulnerable to host-controlled rollback attacks that can expose private key shares.

Security & privacy Trail of Bits 25 Sep 2026 Explainer Theory

Published as “Don't let TEEs break your MPC”

Why it matters

Deployers must treat TEEs as a defense-in-depth layer and not rely on them to replace sound MPC protocols.

Summary

The blog explains how combining trusted execution environments (TEEs) with multi-party computation (MPC) can improve security only if attestation is correctly performed. It shows that a malicious host can roll back the enclave’s filesystem after a pre-signature is deleted, forcing a nonce reuse that leaks a participant’s private key share. The authors back this claim with real-world audit observations and highlight other pitfalls such as incomplete attestation measurements and side-channel exposure. Their evidence is qualitative, based on audit experience rather than systematic experiments.

What they found 2

  1. Rollback attacks on enclave storage can cause nonce reuse and private key share leakage in threshold signature MPC.

    “a malicious host could roll back the filesystem state after a threshold signer deletes a used pre-signature, causing the signer to reuse their nonce share and disclose their private key share.”

  2. Incomplete attestation measurements allow attackers to modify unmeasured components without detection.

    “Incomplete attestation measurements: The security of TEE attestation hinges on measuring the right things. An attestation quote contains hashes of code and data, but project developers determine what gets measured and what gets excluded.”

Caveats 3

  • If TEEs were perfectly secure, they could effectively mitigate the first four categories.
  • When TEEs attest to incomplete measurements or fail to verify critical components, the attestation provides false assurance.
  • Real-world TEE implementations have vulnerabilities, attestation processes can be incomplete or incorrectly verified, and the adversarial host environment introduces attack surfaces that are not traditional to MPC deployments.

What’s new here 4

  • Identifies a concrete rollback attack where a host reverts enclave state to force nonce reuse in threshold signatures.
  • Highlights that incomplete attestation measurements can give a false sense of security.
  • Recommends binding attestation to MPC party identities and using multiple TEE vendors for diversity.
  • Provides a checklist of best-practice mitigations for TEE-MPC deployments.