uefi_retool
v1.2.0
UEFI固件反向工程的工具。
用法:
ida_plugin/uefi_analyser.py脚本和ida_plugin/uefi_analyser目录到ida插件目录目录config.json文件PE_DIR是一个目录,包含来自UEFI固件的所有可执行图像DUMP_DIR是一个目录,包含固件文件系统中的所有组件LOGS_DIR是日志目录IDA_PATH和IDA64_PATH是通往IDA Pro可执行文件的途径pip install -r requirements.txtpython uefi_retool.py命令显示帮助消息python uefi_retool.py Usage: uefi_retool.py [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
get-images Get executable images from UEFI firmware.
get-info Analyze the entire UEFI firmware.
get-pp Get a list of proprietary protocols in the UEFI firmware.
python uefi_retool.py get-images --help Usage: uefi_retool.py get-images [OPTIONS] FIRMWARE_PATH
Get executable images from UEFI firmware. Images are stored in "modules"
directory.
Options:
--help Show this message and exit.
例子:
python uefi_retool.py get-images test_fw/fw-tp-x1-carbon-5th.binpython uefi_retool.py get-info --help Usage: uefi_retool.py get-info [OPTIONS] FIRMWARE_PATH
Analyze the entire UEFI firmware. The analysis result is saved to .json
file.
Options:
-w, --workers INTEGER Number of workers (8 by default).
--help Show this message and exit.
例子:
python uefi_retool.py get-info -w 6 test_fw/fw-tp-x1-carbon-5th.binpython uefi_retool.py get-pp --help Usage: uefi_retool.py get-pp [OPTIONS] FIRMWARE_PATH
Get a list of proprietary protocols in the UEFI firmware. The result is
saved to .json file.
Options:
-w, --workers INTEGER Number of workers (8 by default).
--help Show this message and exit.
例子:
python uefi_retool.py get-pp -w 6 test_fw/fw-tp-x1-carbon-5th.bintools/update_edk2_guids.py是一个脚本,可从edk2 project中更新协议指导列表IDA插件用于UEFI分析