Formal Security Analysis of the AMD SEV-SNP Software Interface

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Paradžik, Petar, Derek, Ante, Horvat, Marko
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915096494604288
author Paradžik, Petar
Derek, Ante
Horvat, Marko
author_facet Paradžik, Petar
Derek, Ante
Horvat, Marko
contents AMD Secure Encrypted Virtualization technologies enable confidential computing by protecting virtual machines from highly privileged software such as hypervisors. In this work, we develop the first, comprehensive symbolic model of the software interface of the latest SEV iteration called SEV Secure Nested Paging (SEV-SNP). Our model covers remote attestation, key derivation, page swap and live migration. We analyze the security of the software interface of SEV-SNP and formally prove that most critical secrecy, authentication, attestation and freshness properties do indeed hold in the model. Furthermore, we find that the platform-agnostic nature of messages exchanged between SNP guests and the AMD Secure Processor firmware presents a potential weakness in the design. We show how this weakness leads to formal attacks on multiple security properties, including the partial compromise of attestation report integrity, and discuss possible impacts and mitigations.
format Preprint
id arxiv_https___arxiv_org_abs_2403_10296
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Formal Security Analysis of the AMD SEV-SNP Software Interface
Paradžik, Petar
Derek, Ante
Horvat, Marko
Cryptography and Security
AMD Secure Encrypted Virtualization technologies enable confidential computing by protecting virtual machines from highly privileged software such as hypervisors. In this work, we develop the first, comprehensive symbolic model of the software interface of the latest SEV iteration called SEV Secure Nested Paging (SEV-SNP). Our model covers remote attestation, key derivation, page swap and live migration. We analyze the security of the software interface of SEV-SNP and formally prove that most critical secrecy, authentication, attestation and freshness properties do indeed hold in the model. Furthermore, we find that the platform-agnostic nature of messages exchanged between SNP guests and the AMD Secure Processor firmware presents a potential weakness in the design. We show how this weakness leads to formal attacks on multiple security properties, including the partial compromise of attestation report integrity, and discuss possible impacts and mitigations.
title Formal Security Analysis of the AMD SEV-SNP Software Interface
topic Cryptography and Security
url https://arxiv.org/abs/2403.10296