I need some help in determining if an ELF file is signed or with a valid signature or not.
I have used the readelf
tool with -S
option in order to view the section headers and more specifically, the sig
section header. This is the result I got:
[30] .sha256_sig PROGBITS 00000000000000000 00023276
[31] .sig_key PROGBITS 00000000000000000 00023676
Few questions:
- Since there are two headers (
sha256_sig
andsig_key
), does this mean the ELF is signed? - How can I verify the signature?