Axiomatic hardware-software contracts for security

The work

AuthorsNicholas Mosier; Hanna Lachnitt; Hamed Nemati; Caroline Trippel
Editors
Typeinproceedings
Year2022
Citekeymosier2022axiomatic

Where it appeared

Published inProceedings of the 49th Annual International Symposium on Computer Architecture (ISCA 2022)
Pages72--86

Identifiers

arXiv2112.10511 from its landing_page_url
DOI10.1145/3470496.3527412

Related

Distinct fromgeier2025coverage
Distinct fromiorga2021semantics
Distinct fromoleksenko2022revizor
Distinct fromoleksenko2025enter
Distinct fromponcedeleon2022cats
Distinct fromtan2025rtl

From bibtex.

Abstract

There is a growing need for hardware-software contracts which precisely define the implications of microarchitecture on software security-i.e., security contracts. It is our view that such contracts should explicitly account for microarchitecture-level implementation details that underpin hardware leakage, thereby establishing a direct correspondence between a contract and the microarchitecture it represents. At the same time, these contracts should remain as abstract as possible so as to support efficient formal analyses. With these goals in mind, we propose leakage containment models (LCMs)-novel axiomatic security contracts which support formally reasoning about the security guarantees of programs when they run on particular microarchitectures. Our core contribution is an axiomatic vocabulary for formally defining LCMs, derived from the established axiomatic vocabulary used to formalize processor memory consistency models. Using this vocabulary, we formalize microarchitectural leakage-focusing on leakage through hardware memory systems-so that it can be automatically detected in programs. To illustrate the efficacy of LCMs, we present two case studies. First, we demonstrate that our leakage definition faithfully captures a sampling of (transient and non-transient) microarchitectural attacks from the literature. Second, we develop a static analysis tool based on LCMs which automatically identifies Spectre vulnerabilities in programs and scales to analyze realistic-sized codebases, like libsodium.

A copy is held

pdf, 452.6 kB. Not published — it may be under copyright. The facts and links here are.

How it got here

How it got hereagent via bibtex
Added2026-09-17 23:43 UTC
Approved bya person 2026-10-05 21:21 UTC

Cite it as

@inproceedings{mosier2022axiomatic,
  title        = {Axiomatic hardware-software contracts for security},
  author       = {Nicholas Mosier and Hanna Lachnitt and Hamed Nemati and Caroline Trippel},
  year         = {2022},
  booktitle    = {Proceedings of the 49th Annual International Symposium on Computer Architecture (ISCA 2022)},
  pages        = {72--86},
  doi          = {10.1145/3470496.3527412},
}

This record lives at https://refs.drheap.org/mosier2022axiomatic/ and will keep doing so.