NobleBlocks

Research indexThesis

Making Data-Oblivious Programming Practical

Tiruye

Deep Blue (University of Michigan)1 Jan 2026Open access

NobleIDark:/48914/w1/20261105/260C1A01DOI10.7302/dspace/30816

Free to read at the publisher

You can read the abstract here, or the full text at the publisher.

Read at the publisher

Abstract

Modern software systems often expose sensitive information through side channels, where observable aspects of execution such as timing, control flow, and memory access patterns become correlated with secret data. These vulnerabilities arise from the conventional programming model in which program behavior is tightly coupled to input values. Even in systems protected by strong cryptography and hardware isolation mechanisms, including secure enclaves, side-channel attacks have demonstrated the ability to extract sensitive information by observing indirect execution effects. Data-oblivious programming offers a principled defense by decoupling execution behavior from input data. A data-oblivious program enforces input-independent control flow and memory access patterns, ensuring that execution traces do not reveal information about secret inputs. While this approach provides strong security guarantees, it introduces substantial performance overheads and poses significant challenges in programmability and algorithm design. Enforcing input independence requires systematic transformations such as predicated execution, uniform loop bounds, and oblivious memory accesses, which increase computational cost and complicate development. These challenges have limited the adoption of data-oblivious techniques in practice. This dissertation argues that data-oblivious programs can be made practical without sacrificing security guarantees. It first presents a systematic characterization of data-oblivious program performance, identifying key sources of overhead and explaining variability across workloads. It then introduces a platform for constructing and evaluating data-oblivious program variants and exploring security performance tradeoffs. Building on this foundation, it proposes a novel technique that reduces overhead by optimizing loop execution while preserving obliviousness. Finally, it presents a comprehensive characterization of Oblivious RAM in secure enclave environments, analyzing its performance implications and system-level behavior. Together, these contributions advance the understanding and the practical adoption of data-oblivious programming.

Discussion

More

Suggest a correction or report