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分析