
Un outil pour la rétro-ingénierie du firmware UEFI
Un outil pour la rétro-ingénierie du firmware UEFI.
Utilisation :
ida_plugin/uefi_analyser.py et le répertoire ida_plugin/uefi_analyser dans le répertoire des plugins d'IDAconfig.json
PE_DIR est un répertoire qui contient toutes les images exécutables du firmware UEFIDUMP_DIR est un répertoire qui contient tous les composants du système de fichiers du firmwareLOGS_DIR est un répertoire pour les fichiers journauxIDA_PATH et IDA64_PATH sont les chemins vers les exécutables IDA Propip install -r requirements.txtpython uefi_retool.py pour afficher le message d'aidepython 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.
Exemple :
python uefi_retool.py get-images test_fw/fw-tp-x1-carbon-5th.bin
python 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.
Exemple :
python uefi_retool.py get-info -w 6 test_fw/fw-tp-x1-carbon-5th.bin
python 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.
Exemple :
python uefi_retool.py get-pp -w 6 test_fw/fw-tp-x1-carbon-5th.bin
tools/update_edk2_guids.py est un script qui met à jour la liste des GUID de protocoles à partir du projet edk2Plugin IDA pour l'analyse UEFI