Tools for analyzing UEFI firmware using radare2
Project description
uefi_r2
Tools for analyzing UEFI firmware using radare2
Dependencies
radare2
radare2 4.5.0-git 24764 @ linux-x86-64 git.4.4.0-225-g1cb18df8b
commit: 1cb18df8b4dfd2ec98ca6697b5efb9381e1d2f40
Installation
python setup.py install
Example
With script
./uefi_r2_analyzer.py analyze-image {image_path} -o out.json
./uefi_r2_analyzer.py scan --rule {rule_path} {image_path}
From code
from uefi_r2.uefi_analyzer import UefiAnalyzer
...
summary = UefiAnalyzer.r2_get_summary(image_path, debug=True)
from uefi_r2.uefi_analyzer import UefiAnalyzer
from uefi_r2.uefi_scanner import UefiRule, UefiScanner
...
uefi_analyzer = UefiAnalyzer(image_path)
uefi_rule = UefiRule(rule)
scanner = UefiScanner(uefi_analyzer, uefi_rule)
result = scanner.result
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
uefi_r2-1.0.0.tar.gz
(104.7 kB
view details)
Built Distribution
uefi_r2-1.0.0-py3-none-any.whl
(120.2 kB
view details)
File details
Details for the file uefi_r2-1.0.0.tar.gz
.
File metadata
- Download URL: uefi_r2-1.0.0.tar.gz
- Upload date:
- Size: 104.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46508d0c5dca2f4d2af0a8dbb45d09f69aed463ac7923aafa2911e9e2730f406 |
|
MD5 | b71f1731ab1aacb85dd565d4becb37ed |
|
BLAKE2b-256 | 0a04e8b463a01695b1b1cafb5180daff9a24e1a58c85c5f9e9ea4e6308d03bf8 |
File details
Details for the file uefi_r2-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: uefi_r2-1.0.0-py3-none-any.whl
- Upload date:
- Size: 120.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c6742767cf8dac2bf33832cdc45b5655b423710480c28944cdbdfa074261462 |
|
MD5 | 85de5453fdc223379c65fb549014c7e1 |
|
BLAKE2b-256 | 77cde9013b80518302a15814735c52597f8fdeb57ce31834fb7ff38ce5b0acdb |