0:00
–:––
React at 0:00
DEF CON 34

The Enclave is Lying to You: Breaking TEE Trust Boundaries Through Boot-Time State

When and where

Day
Sat 8 Aug 2026
Time
14:00 to 15:00 PDT
Room
LVCC - L1 - Exhibit Hall West 3 - 906 (Main Track 3)

Speaker

  • Sandeep Jayashankar is a security researcher specializing in offensive security and adversarial simulations. His work spans AWS, Azure, and GCP environments, with current research focused on trusted execution environment exploitation, confidential computing trust boundaries, and the security of AI/ML systems deployed in cloud-native architectures. This research was conducted under an authorized adversarial simulation program. He approaches security research from a defender's perspective: every offensive finding ships with a concrete, auditable control that defenders can deploy. He previously presented at RSA Conference 2025.

Abstract

Confidential computing on cloud TEEs: Nitro Enclaves, SEV-SNP, and TDX promises that a fully compromised host cannot reach into a hardware-isolated enclave. The cryptographic attestation story holds. The deployment story does not. This talk demonstrates attacks that bypass TEE isolation without touching the enclave image. We target the inputs an enclave trusts at boot: cloud object storage, host-supplied environment variables, and KMS keys whose policies forget to enforce attestation. None are covered by attestation. All reach inside. We demonstrate remote code execution as root inside a Nitro Enclave with a single s3:PutObject permission. No host access. No SSH. One file upload containing a path traversal, one boot cycle, and the enclave executes attacker-controlled code. From inside we intercept KMS decrypts live to extract the database encryption key in plaintext, exfiltrate the enclave's IAM credentials, and establish persistence across reboots without re-exploitation - all while PCR measurements remain unchanged and attestation reports a healthy enclave. We release an open-source auditing tool, walk through which defenses held, and provide a hardening checklist for any team running workloads inside TEEs. The enclave isn't broken. The way we deploy it is. AWS, "AWS Nitro Enclaves User Guide," https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html AWS, "Cryptographic Attestation with AWS KMS for Nitro Enclaves," https://docs.aws.amazon.com/kms/latest/developerguide/services-nitro-enclaves.html A. Tsow, "Attacking Confidential Computing: A Survey of TEE Exploitation Techniques," IEEE S&P Workshop on Offensive Technologies (WOOT), 2024 NCC Group, "Public Report - AWS Nitro System Security Review," 2023, https://research.nccgroup.com/2023/04/ Trail of Bits, "Security Assessment of AWS Nitro Enclaves," 2022 MITRE ATT&CK, "Cloud Matrix - Initial Access / Valid Accounts," https://attack.mitre.org/techniques/T1078/004/ J. Aas et al., "Understanding TEE Trust Models in Cloud Deployments," USENIX Security Symposium, 2023 OWASP, "Path Traversal," https://owasp.org/www-community/attacks/Path_Traversal AWS, "Instance Metadata Service Version 2 (IMDSv2)," https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-service.html Apache Thrift Project, "Thrift Binary Protocol Specification," https://github.com/apache/thrift/blob/master/doc/specs/thrift-binary-protocol.md

What you'll get from it

Confidential computing promises that even a fully compromised host can't reach inside a hardware-isolated enclave, and the cryptographic attestation does hold. Sandeep Jayashankar shows the gap is in deployment. The storage, environment variables and key policies an enclave trusts at boot sit outside attestation entirely. Through those inputs Jayashankar reaches inside a running enclave while its health checks still say all is well. There's an auditing tool and a hardening checklist to take away. Cloud and platform security teams will get the most from it.

Did you find what you came for?