English

Automatic and Incremental Repair for Speculative Information Leaks

Logic in Computer Science 2023-05-18 v1 Cryptography and Security

Abstract

We present CureSpec, the first model-checking based framework for automatic repair of programs with respect to information leaks in the presence of side-channels and speculative execution. CureSpec is based on formal models of attacker capabilities, including observable side channels, inspired by the Spectre attacks. For a given attacker model, CureSpec is able to either prove that the program is secure, or detect potential side-channel vulnerabilities and automatically insert mitigations such that the resulting code is provably secure. Moreover, CureSpec can provide a certificate for the security of the program that can be independently checked. We have implemented CureSpec in the SeaHorn framework and show that it can effectively repair security-critical code, for example the AES encryption from the OpenSSL library.

Keywords

Cite

@article{arxiv.2305.10092,
  title  = {Automatic and Incremental Repair for Speculative Information Leaks},
  author = {Joachim Bard and Swen Jacobs and Yakir Vizel},
  journal= {arXiv preprint arXiv:2305.10092},
  year   = {2023}
}

Comments

25 pages

R2 v1 2026-06-28T10:36:54.466Z