Language-Based Control and Mitigation of Timing Channels

Danfeng Zhang, Aslan Askarov, and Andrew C. Myers

Department of Computer Science, Cornell University

To appear in PLDI 2012
11–16 June, Beijing, China

Abstract:

We propose a new language-based approach to mitigating timing channels. In this language, well-typed programs provably leak only a bounded amount of information over time through external timing channels. By incorporating mechanisms for predictive mitigation of timing channels, this approach also permits a more expressive programming model. Timing channels arising from interaction with underlying hardware features such as instruction caches are controlled. Assumptions about the underlying hardware are explicitly formalized, supporting the design of hardware that efficiently controls timing channels. One such hardware design is modeled and used to show that timing channels can be controlled in some simple programs of real-world significance.

Full paper (PDF) ]