Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
fwhunt-scan — UEFIファームウェアを解析し、FwHuntルールを使用してUEFIモジュールを検査するツール | Kitploit
ツール/GitHubGitHub/binarly-io/fwhunt-scan
脆弱性分析リバースエンジニアリングバイナリ解析ファームウェア解析
GitHubbinarly-io/fwhunt-scan

fwhunt-scan

UEFIファームウェアを解析し、FwHuntルールを使用してUEFIモジュールを検査するツール

リポジトリを見る
243331年前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

License: GPL v3 fwhunt-scan CI fwhunt-scan pypi

fwhunt ロゴ

FwHunt コミュニティスキャナー

UEFIファームウェアを解析し、FwHunt ルールを使用してUEFIモジュールをチェックするためのツールです。

依存関係

rizin (v0.6.2)

インストール

pip でインストール(python3.6 以上でテスト済み):

root@kitploit:~
$ python -m pip install fwhunt-scan

手動でインストール:

root@kitploit:~
$ git clone https://github.com/binarly-io/fwhunt-scan.git && cd fwhunt-scan
$ python setup.py install

使用例

スクリプトを使用

個別モジュールの解析/スキャン:

root@kitploit:~
$ python3 fwhunt_scan_analyzer.py analyze-module {image_path} -o out.json
$ python3 fwhunt_scan_analyzer.py scan-module --rule {rule_path} {image_path}

ファームウェアイメージ全体をスキャン:

root@kitploit:~
$ python3 fwhunt_scan_analyzer.py scan-firmware -r rules/BRLY-2021-001.yml -r rules/BRLY-2021-004.yml -r rules/RsbStuffingCheck.yml test/fw.bin

Dockerを使用

依存関係のインストールを避けるために、Dockerイメージを使用できます。

Dockerイメージは次のようにローカルでビルドできます:

root@kitploit:~
docker build -t fwhunt_scan .

または、ghcrから最新イメージをプルします。

使用例:

root@kitploit:~
docker run --rm -it -v {module_path}:/tmp/image:ro \
  fwhunt_scan analyze-module /tmp/image # to analyze EFI module

docker run --rm -it -v {module_path}:/tmp/image:ro -v {rule_path}:/tmp/rule.yml:ro \
  fwhunt_scan scan-module /tmp/image -r /tmp/rule.yml # to scan EFI module with specified FwHunt rule

docker run --rm -it -v {module_path}:/tmp/image:ro -v {rule_path}:/tmp/rule.yml:ro \
  fwhunt_scan scan-firmware /tmp/image -r /tmp/rule.yml # to scan firmware image with specified FwHunt rule

docker run --rm -it -v {module_path}:/tmp/image:ro -v {rules_directory}:/tmp/rules:ro \
  fwhunt_scan scan-firmware /tmp/image --rules_dir /tmp/rules # to scan firmware image with specified rules directory

これらの手順はすべて fwhunt_scan_docker.py スクリプトで自動化されています:

root@kitploit:~
python3 fwhunt_scan_docker.py analyze-module {module_path} # to analyze EFI module

python3 fwhunt_scan_docker.py scan-module -r {rule_path} {module_path} # to scan EFI module with specified FwHunt rule

python3 fwhunt_scan_docker.py scan-firmware -r {rule_path} {firmware_path} # to scan firmware image with specified FwHunt rule

python3 fwhunt_scan_docker.py scan-firmware --rules_dir {rules_directory} {firmware_path} # to scan firmware image with specified rules directory

コードから

UefiAnalyzer

基本的な使用例:

root@kitploit:~
from fwhunt_scan import UefiAnalyzer

...
uefi_analyzer = UefiAnalyzer(image_path=module_path)
print(uefi_analyzer.get_summary())
uefi_analyzer.close()
root@kitploit:~
from fwhunt_scan import UefiAnalyzer

...
with UefiAnalyzer(image_path=module_path) as uefi_analyzer:
    print(uefi_analyzer.get_summary())

Linuxプラットフォームでは、ファイルの代わりにblobを解析用に渡すことができます:

root@kitploit:~
from fwhunt_scan import UefiAnalyzer

...
with UefiAnalyzer(blob=data) as uefi_analyzer:
    print(uefi_analyzer.get_summary())

UefiScanner

root@kitploit:~
from fwhunt_scan import UefiAnalyzer, UefiRule, UefiScanner

...
uefi_analyzer = UefiAnalyzer(module_path)

# rule1 and rule2 - contents of the rules on YAML format
uefi_rules = [UefiRule(rule1), UefiRule(rule2)]

scanner = UefiScanner(uefi_analyzer, uefi_rules)
result = scanner.result
ツールをダウンロード