Abstract
Information flow security ensures that the secret data manipulated by a program does not influence its observable output. Proving information flow security is especially challenging for concurrent programs, where operations on secret data may influence the execution time of a thread and, thereby, the interleaving between threads. Such internal timing channels may affect the observable outcome of a program even if an attacker does not observe execution times. Existing verification techniques for information flow security in concurrent programs attempt to prove that secret data does not influence the relative timing of threads. However, these techniques are often restrictive (for instance because they disallow branching on secret data) and make strong assumptions about the execution platform (ignoring caching, processor instructions with data-dependent execution time, and other common features that affect execution time).
In this entry, we formalize and prove the soundness of CommCSL, a novel relational concurrent separation logic for proving secure information flow in concurrent programs that lifts these restrictions and does not make any assumptions about timing behavior. The key idea is to prove that all mutating operations performed on shared data commute, such that different thread interleavings do not influence its final value. Crucially, commutativity is required only for an abstraction of the shared data that contains the information that will be leaked to a public output. Abstract commutativity is satisfied by many more operations than standard commutativity, which makes our technique widely applicable.
License
Topics
- Computer science/Programming languages/Logics
- Computer science/Concurrency
- Computer science/Security
Related publications
- Eilers, M., Dardinier, T., & Müller, P. (2022). CommCSL: Proving Information Flow Security for Concurrent Programs using Abstract Commutativity (Version 2). arXiv. https://doi.org/10.48550/ARXIV.2211.08459
Session CommCSL
- PartialMap
- PosRat
- FractionalHeap
- StateModel
- Lang
- CommCSL
- AbstractCommutativity
- Guards
- Safety
- Soundness
- NonInterference