KINGSGUARD stops enclave data leaks with ~5.7% slowdown
KINGSGUARD’s hardware data-flow tracking guarantees that sensitive data never leaves the enclave
Security & privacy arXiv 1 May 2026 Defense Prototype evidence
Published as “KingsGuard: Enclave Data Protection Under Real-World TEE Vulnerabilities”
Why it matters
Deploying KINGSGUARD can harden TEEs against data-exfiltration from buggy enclave code and shared-resource leaks with only a few percent performance cost.
Summary
KINGSGUARD prevents data leaks from enclaves caused by software bugs and hardware storage channels, incurring only a 10.8% hardware area overhead on FPGA and a 5.69% runtime overhead. It enforces fine-grained hardware information-flow tracking and controlled declassification, blocking both direct copies and indirect leaks via shared registers. The evaluation is based on FPGA synthesis and gem5 simulations of MiBench and a SCADA use-case. However, the design does not protect against timing side-channel attacks and excludes DoS and physical attacks.
What they found 1
- The hardware implementation adds modest overheads: 10.8% area and 5.69% performance.
“Our implementation of KINGSGUARD on a RISC-V processor has a 10.8% hardware area overhead when synthesized on FPGA and a 5.69% performance overhead.”
Caveats 3
- KINGSGUARD does not mitigate timing side-channel attacks.
- KINGSGUARD’s design does not prevent timing side-channel attacks.
- Certain classes of attacks remain out of scope. In particular, denial-of-service (DoS) attacks by a malicious OS, are not considered. Additionally, physical attacks such as probing, fault injection, or invasive tampering are all out of scope.
What’s new here 4
- Implements fine-grained information-flow tracking entirely in hardware, covering both data and address taints.
- Introduces authorized declassification paths (ADPs) to allow legitimate data release while blocking unauthorized flows.
- Extends protection to shared hardware registers by stamping them with enclave identifiers.
- Demonstrates compatibility with existing cache-based side-channel defenses such as SassCache.