Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
fwhunt-scan — Strumenti per analizzare il firmware UEFI e verificare i moduli UEFI con le regole FwHunt | Kitploit
Strumenti/GitHubGitHub/binarly-io/fwhunt-scan
Sicurezza Sistemi EmbeddedSicurezza IoTAnalisi delle VulnerabilitàReverse EngineeringAnalisi di BinariAnalisi del FirmwareTop in Sicurezza Sistemi Embedded n.20Top in Analisi del Firmware n.7Top in Sicurezza IoT n.20
2433371 anno faRevisionato da Kitploit

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
GitHubbinarly-io/fwhunt-scan

fwhunt-scan

Strumenti per analizzare il firmware UEFI e verificare i moduli UEFI con le regole FwHunt

Vedi Repository

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

fwhunt Logo

FwHunt Scanner per la community

Strumenti per analizzare il firmware UEFI e verificare i moduli UEFI con le regole FwHunt.

Dipendenze

rizin (v0.6.2)

Installazione

Installa con pip (testato su python3.6 e versioni successive):

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

Installa manualmente:

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

Esempio

Con script

Analizza/verifica un singolo modulo:

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}

Scansiona l'intera immagine del 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

Con Docker

Per evitare di installare le dipendenze, puoi usare l'immagine Docker.

Puoi creare un'immagine Docker localmente come segue:

root@kitploit:~
docker build -t fwhunt_scan .

Oppure scarica l'ultima immagine da ghcr.

Esempio di utilizzo:

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

Tutti questi passaggi sono automatizzati nello 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

Dal codice

UefiAnalyzer

Esempi di utilizzo di 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())

Sulle piattaforme Linux, puoi passare un blob per l'analisi invece di un file:

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
Scarica lo strumento