Skip to main content

Tools for analyzing UEFI firmware using radare2

Project description

License: GPL v3 uefi_r2 CI

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


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.3.tar.gz (105.5 kB view details)

Uploaded Source

Built Distribution

uefi_r2-1.0.3-py3-none-any.whl (120.9 kB view details)

Uploaded Python 3

File details

Details for the file uefi_r2-1.0.3.tar.gz.

File metadata

  • Download URL: uefi_r2-1.0.3.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

Hashes for uefi_r2-1.0.3.tar.gz
Algorithm Hash digest
SHA256 484f75ab4785573cff8f7f984e109e97d8194237172bfe4399f7305373889e0a
MD5 180df63a81ae54c9319205065b19c9b9
BLAKE2b-256 80d357a455d6e57b5bce06253c1d8512194ee7eb788a50fc82c0c41017959340

See more details on using hashes here.

File details

Details for the file uefi_r2-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: uefi_r2-1.0.3-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

Hashes for uefi_r2-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9f0c2a1dfdec12ea32092735cf4f20cb87a51f313ff1d2e9058ffb37b0e89a23
MD5 e66d611ecb3369caaa226097fb2f4660
BLAKE2b-256 7deee41305b6aeca3757ec41005bda975148d53559748bdde9b45e7e50d7b699

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page