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.2.tar.gz
(105.5 kB
view details)
Built Distribution
uefi_r2-1.0.2-py3-none-any.whl
(120.9 kB
view details)
File details
Details for the file uefi_r2-1.0.2.tar.gz
.
File metadata
- Download URL: uefi_r2-1.0.2.tar.gz
- Upload date:
- Size: 105.5 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 | 9acaf5f831a672ff315662b3d27b7e6b9b69cc33432b171b4936aa909c1a01c2 |
|
MD5 | e30127cd6529f83cb45c4fb26c6c9689 |
|
BLAKE2b-256 | 13e7e9644f1ef47ac7ee05e0db633bdca216c50da4c5d73af9b9bd7475194758 |
File details
Details for the file uefi_r2-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: uefi_r2-1.0.2-py3-none-any.whl
- Upload date:
- Size: 120.9 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 | 97889d0dbf76a1cfcfeb29703b1e17d2f3f3ebf6120423f29697d57339a52be8 |
|
MD5 | 07a9d07119068ee1e4f67214684158c0 |
|
BLAKE2b-256 | d8f49e3de56e19edbf15bdb55a61aea5192bf0f2c73519c4691cf30b49c883e7 |