firmware 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. #------------------------------------------------------------------------------
  2. # $File: firmware,v 1.3 2022/10/15 15:38:44 christos Exp $
  3. # firmware: file(1) magic for firmware files
  4. #
  5. # https://github.com/MatrixEditor/frontier-smart-api/blob/main/docs/firmware-2.0.md#11-header-structure
  6. # examples: https://github.com/cweiske/frontier-silicon-firmwares
  7. 0 lelong 0x00001176
  8. >4 lelong 0x7c Frontier Silicon firmware download
  9. >>8 lelong x \b, MeOS version %x
  10. >>12 string/32/T x \b, version %s
  11. >>40 string/64/T x \b, customization %s
  12. # HPE iLO firmware update image
  13. # From: Alexandre Iooss <erdnaxe@crans.org>
  14. # URL: https://www.sstic.org/2018/presentation/backdooring_your_server_through_its_bmc_the_hpe_ilo4_case/
  15. # iLO1 (ilo1*.bin) or iLO2 (ilo2_*.bin) images
  16. 0 string \x20\x36\xc1\xce\x60\x37\x62\xf0\x3f\x06\xde\x00\x00\x03\x7f\x00
  17. >16 ubeshort =0xCFDD HPE iLO2 firmware update image
  18. >16 ubeshort =0x6444 HPE iLO1 firmware update image
  19. # iLO3 images (ilo3_*.bin) start directly with image name
  20. 0 string iLO3\x20v\x20 HPE iLO3 firmware update image,
  21. >7 string x version %s
  22. # iLO4 images (ilo4_*.bin) start with a signature and a certificate
  23. 0 string --=</Begin\x20HP\x20Signed
  24. >75 string label_HPBBatch
  25. >>5828 string iLO\x204
  26. >>>5732 string HPIMAGE\x00 HPE iLO4 firmware update image,
  27. >>>6947 string x version %s
  28. # iLO5 images (ilo5_*.bin) start with a signature
  29. >75 string label_HPE-HPB-BMC-ILO5-4096
  30. >>880 string HPIMAGE\x00 HPE iLO5 firmware update image,
  31. >>944 string x version %s