
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 प्रोजेक्ट से प्रोटोकॉल GUIDs सूची को अपडेट करती हैUEFI विश्लेषण के लिए IDA प्लगइन