Reproduce “Practical Enclave Malware with Intel SGX” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Michael Schwarz, Samuel Weiser, Daniel Gruss

Researchers at Graz University of Technology demonstrate the first practical enclave malware, dubbed "SGX-ROP," capable of fully and stealthily taking over its host application without prior software vulnerabilities or collusion. The method utilizes novel Intel TSX-based primitives to bypass SGX's limitations, achieving arbitrary code execution within the host's context and challenging the conventional understanding of enclave malware's capabilities.

Key insights

  • Intel SGX, designed for protection, can be repurposed to create a new class of "super-malware" that is highly stealthy, persistent, and difficult to detect due to hardware-enforced isolation.
  • The paper challenges Intel's fundamental "trusted enclave on untrusted host" threat model by demonstrating that an untrusted enclave can fully compromise a benign host application.
  • The feasibility of arbitrary code execution from within an enclave means existing user-space malware can be adapted to leverage SGX's anti-analysis properties.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.