Copy fwhunt.py
and fwhunt
to IDA plugins directory
-
Analyze UEFI module with fwhunt-scan
-
Open analyzed module in IDA
-
Open
Edit/Plugins/FwHunt
(at this step you will seeFwHunt rule generator
window): -
Press the
Load
button to load the report generated in the first step -
Use the search box to find the protocols, GUIDs, PPIs, NVRAM variables you need
-
Use actions in IDA text view to add GUIDs, ascii strings, wide strings, hex strings, and code patterns:
-
FwHunt rule preview
window will contain the current state of the rule: -
Use
Reset
button to clear rule andSave
button to dump rule in YAML file