
UEFI 펌웨어 리버스 엔지니어링을 위한 도구
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.txt를 실행하세요.python 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.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.
예시:
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.
예시:
python uefi_retool.py get-pp -w 6 test_fw/fw-tp-x1-carbon-5th.bin
tools/update_edk2_guids.py는 edk2 프로젝트에서 프로토콜 GUID 목록을 업데이트하는 스크립트입니다.