Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEV-SNP: Unclear security benefits of default OVMF package #230

Open
Doctor-love opened this issue Aug 31, 2024 · 2 comments
Open

SEV-SNP: Unclear security benefits of default OVMF package #230

Doctor-love opened this issue Aug 31, 2024 · 2 comments

Comments

@Doctor-love
Copy link

This is more of question/discussion than an issue - feel free to close it if there is a better forum for discussions.

When utilizing the build.sh script to compile OVMF, the "OvmfPk/OvmfPkgX64.dsc" package is used.
This firmware can be used to boot a VM in which tools like "snpguest" can be run to produce attestation reports.

My understanding is that only the virtual firmware (OVMF, in this case) is measured/attested and not kernel/initrd/kernel command line/etc. With something like the "OvmfPkg/AmdSev/AmdSevX64.dsc" package or an OMVF that enforces secure boot with a hard coded trust store, this measurement/validation could delegated to the firmware.

This leads me to my question: in what way does the OVMF.fd produced by the build script contribute to the confidentiality of a guest? In other words, what is the value of measuring firmware if we can't validate the integrity of the operating system?

Perhaps I've misunderstood something - feel free to enlighten me!

@Doctor-love
Copy link
Author

...and if it does not provide any guarantees of OS integrity, perhaps another firmware flavor should be the default for this demo/PoC repository?

@Doctor-love
Copy link
Author

Ping @dubek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant