Re: Nonfree software in vboot, what to do about it?

Denis 'GNUtoo' Carikli <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <20241027142049.75e46c7c@primary_laptop>
On Fri, 18 Oct 2024 17:08:56 -0700
Julius Werner <[email protected]> wrote:

> Hi Denis,
Hi,

> There is no real reason for these binaries to be in those test
> fixtures — the point of the tests is just to verify parsing for vboot
> data structures, the actual contents of the file are not really
> relevant. So I think the easiest solution here is to just delete the
> offending contents from the images. I have opened a bug for this in
> Google's public tracker that you can follow here if you want:
> https://issuetracker.google.com/issues/374385985 .
Thanks a lot for doing that.

Your bug report mainly talks about binaries in CBFS, but there is most
probably also Management firmwares in the images (which are less likely
to be redistributable than MRC/FSP or microcode updates).

I managed to verify signatures with me_cleaner from the latest Coreboot
revision (c21bed6de9):
> $ ifdtool -x tests/futility/data/bios_link_mp.bin
> File tests/futility/data/bios_link_mp.bin is 8388608 bytes
>   Flash Region 0 (Flash Descriptor): 00000000 - 00000fff 
>   Flash Region 1 (BIOS): 00200000 - 007fffff 
>   Flash Region 2 (Intel ME): 00001000 - 001fffff 
>   Flash Region 3 (GbE): 00fff000 - 00000fff (unused)
>   Flash Region 4 (Platform Data): 00fff000 - 00000fff (unused)
> $ me_cleaner.py -c flashregion_2_intel_me.bin 
> ME/TXE image detected
> Found FPT header at 0x10
> Found 15 partition(s)
> Found FTPR header: FTPR partition spans from 0x93000 to 0x108000
> ME/TXE firmware version 8.0.20.1513
> Public key match: Intel ME, firmware versions 7.x.x.x, 8.x.x.x
> Checking the FTPR RSA signature... VALID

But above I said 'probably' because here I manage to verify the
Management engine partitions signatures but me_cleaner doesn't print
the names of the partitions, so in theory it could be also just a header
and it's harder to verify that it doesn't contain nonfee and/or
non-resitributable code, especially because some versions were encoded
with huffman compressions.

Though given that the images were signed with the release keys for the
Chromebooks, I assume this is the real Management Engine firmware that's
in there.

Denis.

_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmcePj4ACgkQX138wUF3
4mMa7g//a8XIBloSuOf17HZNW6GySyF3CM+7EuYDy/gHUxicPUPq3Fw/Jlb0Zhc5
XZsSI9DEPIBoo3m33U4W42D95wqkr2TyV2Jeq5fQUkXVsjsZyBo42vSeUuG7/PCS
hYQRJw2JhOYfB70e1MOVhKb4uCK9C26CmSdFwi1I2TDc8GUaJ0gFfaaARhnibT01
oShsLHR19WmHU9Ocx2g6dpVpSzL9g2AraGpP5iwDBKnK/U/fWQoXnFdVHa/IOVnT
+7Uot+be8QKG4BHavQfi6luqtwuCHx44V3eVhgTe4gyYcf6ZL2BBwuCJMMU3DJ2N
GxxbzTsxEjLBL1rQdXmi0BcJ3sUQq61W5azHR1xV8yvNOR0Ixk2FnbP2Pu2ysUfj
T+y4f1mqBgqN2sec2Fbc6io9VPgkfEYSB4Mk5cij1MEO4DqniA+7d5VzUf50i4ZM
SEpQOaZSbA4b1HtPU+WAZ+jI+I67+WGLpP3W6Zm4JZrzR/KOfqEloqFrMCkLVUiX
ab8ImIAuNrSsQFM2g1XdLK1Z3XLjqx7halhxgUgUk2cJDlYiEAB30oOnt6KTqFBG
poQVYNIhpiqUJyY1MyGMiDpM50CavPAeuLsCf6E31WCLtsrz/kN74ClGAkRbxHVq
eEbb9rDBoOib3J0PJWAg0Sjq/NJJXLiCjRw7VHGncDRTFqtTAYw=
=UZ95
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.