Skip to content
KitploitKITPLOIT
OutilsBlog
Soumettre
OutilsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

··Flux·Contact·Confidentialité·© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
fwhunt-scan — Outils pour analyser le firmware UEFI et vérifier les modules UEFI avec les règles FwHunt | Kitploit
Outils/GitHubGitHub/binarly-io/fwhunt-scan
Sécurité des Systèmes EmbarquésSécurité IoTAnalyse des VulnérabilitésRétro-ingénierieAnalyse de BinairesAnalyse de MicrologicielTop en Sécurité des Systèmes Embarqués n°20Top en Analyse de Micrologiciel n°7Top en Sécurité IoT n°20
243337il y a 1 anVérifié par Kitploit

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →
Partager
GitHubbinarly-io/fwhunt-scan

fwhunt-scan

Outils pour analyser le firmware UEFI et vérifier les modules UEFI avec les règles FwHunt

Voir le dépôt

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

Logo fwhunt

Scanner communautaire FwHunt

Outils pour analyser le firmware UEFI et vérifier les modules UEFI avec les règles FwHunt.

Dépendances

rizin (v0.6.2)

Installation

Installez avec pip (testé sur python3.6 et versions ultérieures) :

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

Installation manuelle :

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

Exemple

Avec le script

Analyser/scanner un module séparé :

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}

Scanner l'intégralité de l'image du firmware :

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

Avec Docker

Pour éviter d'installer les dépendances, vous pouvez utiliser l'image Docker.

Vous pouvez construire une image Docker localement comme suit :

root@kitploit:~
docker build -t fwhunt_scan .

Ou récupérez la dernière image depuis ghcr.

Exemple d'utilisation :

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

Toutes ces étapes sont automatisées dans le script 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

À partir du code

UefiAnalyzer

Exemples d'utilisation de base :

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())

Sur les plateformes Linux, vous pouvez passer un blob pour l'analyse au lieu d'un fichier :

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
Télécharger l’outil