Litcius/Paper detail

Axiomatic hardware-software contracts for security

Nicholas Mosier, Hanna Lachnitt, Hamed Nemati, Caroline Trippel

202226 citationsDOIOpen Access PDF

Abstract

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 formalizing LCMs, derived from the established axiomatic vocabulary for formalizing 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 and provide a taxonomy for classifying said leakage by severity. To illustrate the efficacy of LCMs, we first 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 real-world crypto-libraries.

Topics & Concepts

Computer scienceAxiomVocabularyConsistency (knowledge bases)Leakage (economics)SoftwareFormal verificationProgramming languageEmbedded systemArtificial intelligenceMathematicsMacroeconomicsLinguisticsPhilosophyGeometryEconomicsSecurity and Verification in ComputingAdvanced Malware Detection TechniquesRadiation Effects in Electronics
Axiomatic hardware-software contracts for security | Litcius