-
-
Notifications
You must be signed in to change notification settings - Fork 979
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
DcsBoot.efi contains an invalid section name #1480
Labels
Comments
hughsie
added a commit
to fwupd/fwupd
that referenced
this issue
Jan 30, 2025
The VeraCrypt binary has a PE/COFF section of `\0\0\0\0\0\0\0\0` -- which although isn't really in the spirit of the PE/COFF specification is actually perfectly valid. Just create something plausible and use the idx to identify the section. See also: veracrypt/VeraCrypt#1480
4 tasks
hughsie
added a commit
to fwupd/fwupd
that referenced
this issue
Jan 31, 2025
The VeraCrypt binary has a PE/COFF section of `\0\0\0\0\0\0\0\0` -- which although isn't really in the spirit of the PE/COFF specification is actually perfectly valid. Just create something plausible and use the idx to identify the section. See also: veracrypt/VeraCrypt#1480
hughsie
added a commit
to fwupd/fwupd
that referenced
this issue
Jan 31, 2025
The VeraCrypt binary has a PE/COFF section of `\0\0\0\0\0\0\0\0` -- which although isn't really in the spirit of the PE/COFF specification is actually perfectly valid. Just create something plausible and use the idx to identify the section. See also: veracrypt/VeraCrypt#1480
hughsie
added a commit
to fwupd/fwupd
that referenced
this issue
Feb 4, 2025
The VeraCrypt binary has a PE/COFF section of `\0\0\0\0\0\0\0\0` -- which although isn't really in the spirit of the PE/COFF specification is actually perfectly valid. Just create something plausible and use the idx to identify the section. See also: veracrypt/VeraCrypt#1480 (cherry picked from commit 0bd2a1b)
hughsie
added a commit
to fwupd/fwupd
that referenced
this issue
Feb 4, 2025
The VeraCrypt binary has a PE/COFF section of `\0\0\0\0\0\0\0\0` -- which although isn't really in the spirit of the PE/COFF specification is actually perfectly valid. Just create something plausible and use the idx to identify the section. See also: veracrypt/VeraCrypt#1480 (cherry picked from commit 0bd2a1b)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
DcsBoot.efi
contains an invalid section name:Looking deeper, it's indeed 8 bytes of
NUL
.Expected behavior
I expected all sections to have a name -- the others do, e.g.
.data
,.text
etc. Although https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#section-table-section-headers doesn't explicitly forbid it, it's certainly not in the spirit of the PE/COFF standard.It also breaks deployment of the dbx update on Linux systems as we check all the PE files in the ESPs for blocked Authenticode hashes before we update the
dbx
key.The text was updated successfully, but these errors were encountered: