Skip to main content

A tool for fuzzing BLE GATT

Project description

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

### 环境 Linux

### Requirements Bluepy、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. 基于抓到的数据包进行pyload变异,具体变异规则待述;

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

#### 预期结果:

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

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

目前支持手机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.4.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

gattfuzz-0.0.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gattfuzz-0.0.4.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for gattfuzz-0.0.4.tar.gz
Algorithm Hash digest
SHA256 dc828ce86ecb64d47cb8272d1d4b8fe3fb1edfa447e59372461023b4108aef9c
MD5 88a0838a68b04460a21ff612273aaa3a
BLAKE2b-256 420060b7a80963ff885f7faf705a3821790d9738acf5dbc593c94185f4dc4b5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gattfuzz-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for gattfuzz-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4bcc31085d13176e76666ef646a899caa98ace40dd73ed87766449808b5dcae7
MD5 0a9424d00be50f56f2a175191c0bb036
BLAKE2b-256 1cb56bbd2368d60bb3497fa5be2019160e08ed0c6a019dcce05426ea7f68c36f

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