uefi firmware parser - Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc.

uefi firmware parser – Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc.

The UEFI firmware parser is a simple module and set of scripts for parsing, extracting, and recreating UEFI firmware volumes. This includes parsing modules for BIOS, OptionROM, Intel ME and other formats too. Please use the example scripts for parsing tutorials.

Features:
+ UEFI Firmware Volumes, Capsules, FileSystems, Files, Sections parsing
+ Intel PCH Flash Descriptors
+ Intel ME modules parsing (ME, TXE, etc)
+ Dell PFS (HDR) updates parsing
+ Tiano/EFI, and native LZMA (7z) [de]compression
+ Complete UEFI Firmware volume object hierarchy display
+ Firmware descriptor [re]generation using the parsed input volumes
+ Firmware File Section injection

The UEFI firmware parser v1.7

Supported Vendors
This module has been tested on BIOS/UEFI/firmware updates from the following vendors. Not every update for every product will parse, some may required a-priori decompression or extraction from the distribution update mechanism (typically a PE).
– ASRock
– Dell
– Gigabyte
– Intel
– Lenovo
– HP
– MSI
– VMware
– Apple

Requirements
– Python development headers, usually found in the python-dev package.
– The compression/decompression features will use the python headers and gcc.
– pefile is optional, and may be used for additional parsing.

Usage:

Source: https://github.com/theopolis