Formal Hardware/Software Models for Cache Locking Enabling Fast and Secure Code - Archive ouverte HAL
Communication Dans Un Congrès Année : 2024

Formal Hardware/Software Models for Cache Locking Enabling Fast and Secure Code

Résumé

Constant-time programming is the de facto standard to protect security-sensitive software against cache-based timing attacks. This software countermeasure is effective but may incur a significant performance overhead and require a substantial rewrite of the code. In this work, we propose a secure cache-locking hardware mechanism which eases the writing of secure code and has little execution overhead. To reason about the security of software, we propose a high-level leakage model such that accesses to locked memory addresses do not generate any observable leakage. To ensure the adequacy of this leakage model, we also propose a concrete hardware leakage model for a RISC-V micro-controller where the secure code may be interrupted, at any time, by some arbitrary malicious code. Using the Observational Non-Interference setting, we show formally that the security of the software model is preserved at the hardware level. We evaluate the effectiveness and performance of this mechanism, notably on block ciphers. We also propose and evaluate a new constant-time sorting algorithm.
Fichier principal
Vignette du fichier
main.pdf (434.64 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04804914 , version 1 (26-11-2024)

Licence

Identifiants

Citer

Hatchikian-Houdot Jean-Loup, Pierre Wilke, Frédéric Besson, Guillaume Hiet. Formal Hardware/Software Models for Cache Locking Enabling Fast and Secure Code. ESORICS 2024 - 29th European Symposium on Research in Computer Security, Tomasz Marciniak; Michał Choraś; Sokratis Katsikas; Joaquin Garcia-Alfaro; Rafał Kozik, Sep 2024, Bydgoszcz, Poland. pp.153-173, ⟨10.1007/978-3-031-70896-1_8⟩. ⟨hal-04804914⟩
0 Consultations
0 Téléchargements

Altmetric

Partager

More