跳到正文
Skillpedia
安全35k · #8195

performing-bluetooth-security-assessment

它能做什么

这个工具用于检查低功耗蓝牙(BLE)设备的安全性。它会寻找那些可能导致数据在没有加密或身份验证的情况下被泄露的漏洞。

适用场景

  • ✓当你测试智能家居设备的安全性时。
  • ✓当你审计通过蓝牙连接的健康或健身设备时。
  • ✓当你调查物联网(IoT)设备的安全问题时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-bluetooth-security-assessment/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-bluetooth-security-assessment/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我检查一下我的智能手表通过蓝牙传输数据的安全性。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会搜索附近的蓝牙设备,与它们建立连接,并分析数据是如何传输的。它会识别是否有重要信息在没有适当保护的情况下被发送出去。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Performing Bluetooth Security Assessment

Overview

This skill covers performing Bluetooth Low Energy (BLE) security assessments using the Python bleak library. BLE devices are ubiquitous in IoT, healthcare, fitness, and smart home applications, and many ship with weak or absent security controls. This assessment identifies unencrypted GATT characteristics, devices broadcasting sensitive data, known vulnerable device fingerprints, and improperly secured pairing configurations.

The agent uses bleak's asyncio API to discover nearby BLE devices, connect to target devices, enumerate all GATT services and characteristics, and analyze security properties of each characteristic. It flags characteristics that allow unauthenticated read/write access to sensitive data and identifies devices matching known vulnerable profiles.

When to Use

  • When conducting security assessments that involve performing bluetooth security assessment
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Python 3.9 or later
  • bleak library (pip install bleak)
  • Bluetooth adapter supporting BLE (Bluetooth 4.0+)
  • Linux: BlueZ 5.43+ with D-Bus permissions
  • Windows: Windows 10 version 1709+ with Bluetooth support
  • macOS: macOS 10.15+ with CoreBluetooth

Steps

  1. Scan for BLE devices: Use BleakScanner to discover all advertising BLE devices within range. Capture device name, address (MAC), RSSI signal strength, and advertised service UUIDs.

  2. Identify target devices: Filter discovered devices by name pattern, address, or minimum signal strength. Flag devices broadcasting default or well-known vulnerable names.

  3. Connect and enumerate GATT services: Use BleakClient to connect to the target device and iterate over all GATT services. For each service, record the UUID, description, and contained characteristics.

  4. Analyze characteristic properties: For each characteristic, examine its properties (read, write, write-without-response, notify, indicate). Flag characteristics that expose read or write access without requiring authentication or encryption.

  5. Check for known vulnerable UUIDs: Compare discovered service and characteristic UUIDs against a database of known vulnerable or sensitive services (Heart Rate, Blood Pressure, Device Information, Battery Level) that should require encryption.

  6. Detect unencrypted data exposure: Attempt to read characteristics that should be protected. Successful unauthenticated reads of sensitive data indicate missing security controls.

  7. Generate security report: Compile all findings into a structured JSON report with severity classifications and remediation recommendations.

Expected Output

{
  "assessment_type": "ble_security_audit",
  "target_device": {
    "name": "SmartBand-XR",
    "address": "AA:BB:CC:DD:EE:FF",
    "rssi": -42
  },
  "services_found": 5,
  "characteristics_found": 18,
  "findings": [
    {
      "severity": "high",
      "finding": "Heart Rate Measurement readable without encryption",
      "uuid": "00002a37-0000-1000-8000-00805f9b34fb",
      "properties": ["read", "notify"],
      "remediation": "Enable encryption requirement on characteristic"
    }
  ],
  "risk_score": 7.5
}
常见问题

什么是 BLE?

BLE 是 Bluetooth Low Energy 的缩写,即低功耗蓝牙。它是一种更省电的蓝牙版本,常见于许多现代设备中。

什么是 GATT 服务和特征?

这是组织和访问蓝牙设备数据的方式。服务是一组特征的集合,而特征本身就是数据或命令。

“未加密或未认证”是什么意思?

意思是附近的任何人都可以读取或修改这些数据,无需密码,也无需安全连接。

详情

作者的原始描述

Assess Bluetooth Low Energy (BLE) device security using Python's bleak asyncio library to discover nearby devices, enumerate GATT services and characteristics, and flag unencrypted or unauthenticated read/write access to sensitive data. Use when auditing IoT, healthcare, fitness, or smart-home BLE devices for weak pairing configurations or known vulnerable device fingerprints.

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8195
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能