Go to file
2018-08-31 17:55:22 +03:00
common Add missing cast 2018-08-31 17:55:22 +03:00
UEFIExtract cmake 2018-08-29 07:14:08 +03:00
UEFIFind cmake 2018-08-29 07:14:08 +03:00
UEFITool fixes 2018-08-29 07:06:19 +03:00
.appveyor.yml Unify version scheme and fix minor issues 2018-05-22 00:59:23 +03:00
.gitattributes Version 0.2.0 2013-10-08 09:07:03 +02:00
.gitignore Remove UEFIDump 2018-08-02 04:12:03 +03:00
.travis.yml Add Linux x86-64 CI support 2018-05-07 21:28:45 +03:00
LICENSE.md Create LICENSE.md 2015-08-13 18:54:54 +02:00
README.md Fix crc pointer accessor 2018-08-31 17:44:16 +03:00
unixbuild.sh Remove UEFIDump 2018-08-02 04:12:03 +03:00
version.h Version bump 2018-06-13 21:58:52 +03:00

UEFITool

UEFITool is a viewer and editor of firmware images conforming to UEFI Platform Interface (PI) Specifications.

UEFITool icon Coverity badge

Very Brief Introduction to UEFI

Unified Extensible Firmware Interface or UEFI is a post-BIOS firmware specification originally written by Intel for Itanium architecture and than adapted for X86 systems.
The first EFI-compatible x86 firmwares were used on Apple Macintosh systems in 2006 and PC motherboard vendors started putting UEFI-compatible firmwares on their boards in 2011.
In 2015 there are numerous systems using UEFI-compatible firmware including PCs, Macs, Tablets and Smartphones on x86, x86-64 and ARM architectures.
More information on UEFI is available on UEFI Forum official site and in Wikipedia.

Very Brief Introduction to UEFITool

UEFITool is a cross-platform open source application written in C++/Qt, that parses UEFI-compatible firmware image into a tree structure, verifies image's integrity and provides a GUI to manipulate image's elements.
Project development started in the middle of 2013 because of the lack of cross-platform open source utilities for tinkering with UEFI images.

In the beginning of 2015 the major refactoring round was started to make the program compatible with newer UEFI features including FFSv3 volumes and fixed image elements. It's in development right now with the following features still missing:

  • Editor part, i.e image reconstruction routines
  • Console UI

The missing parts are in development and the version with a new engine will be made as soon as image reconstruction works again.

Derived projects

There are some other projects that use UEFITool's engine:

  • UEFIExtract, which uses ffsParser to parse supplied firmware image into a tree structure and dumps the parsed structure recursively on the FS. Jethro Beekman's tree utility can be used to work with the extracted tree.
  • UEFIFind, which uses ffsParser to find image elements containing a specified pattern. It was developed for UBU project.
  • OZMTool, which uses UEFITool's engine to perform various "hackintosh"-related firmware modifications.

Alternatives

Right now there are some alternatives to UEFITool that you could find useful too:

  • PhoenixTool by AndyP. Windows-only freeware GUI application written in C#. Used mostly for SLIC-related modifications, but it not limited to this task. Requires Microsoft .NET 3.5 to work properly. Supports unpacking firmware images from various vendor-specific formats like encrypted HP update files and Dell installers.
  • uefi-firmware-parser by Teddy Reed. Cross-platform open source console application written in Python. Very tinker-friendly due to use of Python. Can be used in scripts to automate firmware patching.
  • Chipsec by Intel. Cross-platform partially open source console application written in Python and C. Can be used to test Intel-based platforms for various security-related misconfigurations, but also has NVRAM parser and other components aimed to firmware modification.
  • MMTool by AMI. Windows-only proprietary application available to AMI clients. Works only with Aptio4- and AptioV-based firmware images, but has some interesting features including OptionROM replacement and microcode update. Must be licensed from AMI.
  • H2OEZE by Insyde. Windows-only proprietary application available to Insyde clients. Works only with InsydeH2O-based firmware images. Must be licensed from Insyde.
  • SCT BIOS Editor by Phoenix. Windows-only proprietary application available to Phoenix clients. Works only with Phoenix SCT-based firmware images. Must be licensed from Phoenix.

Installation

You can either use pre-built binaries for Windows and macOS or build a binary yourself.

  • To build a binary that uses Qt library (UEFITool) you need a C++ compiler and an instance of Qt5 library. Install both of them, get the sources, generate makefiles using qmake (qmake UEFITool.pro) and use your system's make command on that generated files (i.e. nmake release, make release and so on).
  • To build a binary that doesn't use Qt (UEFIExtract, UEFIFind), you need a C++ compiler and CMAKE utility to generate a makefile for your OS and build environment. Install both of them, get the sources, generate makefiles using cmake (cmake UEFIFind) and use your system's make command on that generated files (i.e. nmake release, make release and so on).

Known issues

  • Some vendor-specific firmware update files can be opened incorrectly or can't be opened at all. This includes encrypted HP update files, Dell HDR and EXE files, some InsydeFlash FD files and so on. Enabling support for such files will require massive amount of reverse-engineering which is almost pointless because the updated image can be obtained from BIOS chip where it's already decrypted and unpacked.
  • Intel Firmware Interface Table (FIT) editing is not supported right now. FIT contains pointers to various image components that must be loaded before executing the first CPU instruction from the BIOS chip. Those components include CPU microcode updates, binaries and settings used by BIOS Guard and Boot Guard technologies and some other stuff. More information on FIT can be obtained here.
  • Builder code is still not ready.