Output-sensitive information flow analysis * - IMAG
Article Dans Une Revue Logical Methods in Computer Science Année : 2021

Output-sensitive information flow analysis *

Cristian Ene
Laurent Mounier
Marie-Laure Potet

Résumé

Constant-time programming is a countermeasure to prevent cache based attacks where programs should not perform memory accesses that depend on secrets. In some cases this policy can be safely relaxed if one can prove that the program does not leak more information than the public outputs of the computation.

We propose a novel approach for verifying constant-time programming based on a new information flow property, called output-sensitive noninterference. Noninterference states that a public observer cannot learn anything about the private data. Since real systems need to intentionally declassify some information, this property is too strong in practice. In order to take into account public outputs we proceed as follows: instead of using complex explicit declassification policies, we partition variables in three sets: input, output and leakage variables. Then, we propose a typing system to statically check that leakage variables do not leak more information about the secret inputs than the public normal output. The novelty of our approach is that we track the dependence of leakage variables with respect not only to the initial values of input variables (as in classical approaches for noninterference), but taking also into account the final values of output variables. We adapted this approach to LLVM IR and we developed a prototype to verify LLVM implementations.

Fichier principal
Vignette du fichier
1909.09567.pdf (524.67 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
licence

Dates et versions

hal-04750655 , version 1 (23-10-2024)

Licence

Identifiants

Citer

Cristian Ene, Laurent Mounier, Marie-Laure Potet. Output-sensitive information flow analysis *. Logical Methods in Computer Science, 2021, 17 (1), pp.15:1-15:29. ⟨10.23638/LMCS-17(1:15)2021⟩. ⟨hal-04750655⟩
11 Consultations
4 Téléchargements

Altmetric

Partager

More