Skip to main content

A tool for fuzzing BLE GATT

Project description

![Gattfuzz logo](./GATTFuzzing.jpg)

# GattFuzzing GattFuzzing 是一款针对BLE Gatt的模糊测试工具。

### 环境 Linux

### Requirements Bleak、Scapy

### 安装与使用 #### 方法一

` pip install -r requirements.txt python main.py `

#### 方法二

` python setup.py install gattfuzz `

#### 方法三

` pip install gattfuzz gattfuzz `

#### 使用 ` gattfuzz -h ` 支持两个参数,-f 和 -m,-f为可选。 -m为目标的mac地址。-f 就是你抓取到的pcap包,会根据包提取去进行变异fuzz。如果不指定,则直接遍历目标设备gatt,并进行fuzzing 测试。

### 功能描述

#### 支持两种方式:

  1. 基于抓到的数据包进行payload变异,具体变异规则待述;

  2. 没有数据包的情况下支持随机数Fuzz。

#### 预期结果:

当检测到目标设备结束广播、断连会push error,可进一步人工核实目标设备状态,重放payload

### 可能遇到的一些问题

目前支持手机hci log抓的pcap包(需要自己转格式)和抓取的空中包两种pcap包,其他的包解析出可能欢迎提issue

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

gattfuzz-0.0.14.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gattfuzz-0.0.14-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file gattfuzz-0.0.14.tar.gz.

File metadata

  • Download URL: gattfuzz-0.0.14.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.0

File hashes

Hashes for gattfuzz-0.0.14.tar.gz
Algorithm Hash digest
SHA256 738946abb1380df9074dcf4b63bebe57de4b21efb1b47eef12fe13ea79f36cd2
MD5 b7c6e7216c0e1ce104ca2f15b134d78d
BLAKE2b-256 7154af48dacb4986ad1b7f3a6495d59825f0553f0783309bce44b50c987c945f

See more details on using hashes here.

File details

Details for the file gattfuzz-0.0.14-py3-none-any.whl.

File metadata

  • Download URL: gattfuzz-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.0

File hashes

Hashes for gattfuzz-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 f11c6b55f4442bf9f7f07c7c691ca728ededaf8ae2abdf925c0e1cb076643f67
MD5 16358824fb3e0e32152a2155f03de11b
BLAKE2b-256 12418893cdaef3a14022d93eecf17487bc1fd08b2528aa12a6e1d512c549d468

See more details on using hashes here.

Supported by

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