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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: uefi_r2-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 0e5602ff3f2746d15f464b24996f863d5cfb5994870f37803dc8fc946633875b
MD5 fd41e2ecc63bd356325527f2a9090a79
BLAKE2b-256 a25f162a766ebb9c8c7335914bc2a5d09988b7489f6b17ff2fb4239adfc6df0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: uefi_r2-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1b80043276af1bab20ae19eef83885c45bc20ca0996cbc07833e9f7c3d9e45ce
MD5 6937ba41795527da51b4ab3dd24e0f7b
BLAKE2b-256 b15286df3561307e71c5a23cfd78092498afb1adc15963a3f92ce00938ec25ea

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