A multi-platform educational toolkit for understanding Bluetooth Classic (RFCOMM) and BLE (GATT) protocol behavior in controlled, authorized lab environments.
⚠️ Authorized Use Only This toolkit is intended strictly for use on devices you personally own or have explicit written permission to test. Unauthorized use against third-party devices may violate local and international law. The authors assume no liability for misuse.
⚠️ Potentially Harmful Capabilities & Risk Disclosure
This tool contains features that can cause operational disruption to target hardware if used improperly:
RFCOMM Hardware Flooding: The "Flood" module intentionally injects dense byte streams into targeted Bluetooth channels. On vulnerable, legacy, or unpatched Bluetooth stacks, this can cause buffer overflows, resulting in the target device freezing, kernel panics, or complete Denial of Service (DoS).
Payload Injection & State Manipulation: The ability to inject raw AT commands (e.g., HFP handshake manipulation) and OBEX payloads can alter the operational state of target devices, potentially causing unauthorized call manipulation or disrupting audio gateways.
GATT Interaction: Unauthenticated reading/writing of BLE characteristics may expose sensitive plaintext data or alter IoT device configurations.
Use exclusively on hardware you own or have explicit consent to audit.
DissPair is a Bluetooth security learning toolkit designed for students, hardware developers, and security researchers to explore low-level behavior of:
Unlike many tools that rely purely on Service Discovery Protocol (SDP), DissPair actively probes and interacts with devices to reveal real behavior vs advertised behavior.
It is designed for use in personal lab environments — testing your own devices, understanding protocol fundamentals, and learning how Bluetooth service discovery and channel communication works under the hood.
Scan → Discover nearby Bluetooth devices (Classic BR/EDR and BLE) ↓ Sweep → Probe RFCOMM channels (1–30) on your own device ↓ Map → Identify active vs advertised services ↓ Analyze → Interact with protocols (RFCOMM / GATT) to study behavior Who Is This For? Students learning Bluetooth protocol internals on their own hardware Hardware hobbyists auditing and validating their own devices Security researchers studying RFCOMM/GATT behavior in lab setups Developers building Bluetooth-enabled hardware who want to validate their own implementations 📱 Android Application (DissPair APK) Overview DissPair APK is a native Android application written in Kotlin with a Jetpack Compose UI. It uses Android's native Bluetooth APIs directly — including BluetoothAdapter, BluetoothGatt, and reflection-based createRfcommSocket / createInsecureRfcommSocket calls — to interact with the device's Bluetooth stack without relying on higher-level abstractions.
Disspair/ ├── app/ │ └── src/ │ └── main/ │ ├── java/org/disspair/disspair/ │ │ └── MainActivity.kt # Core app logic, UI, Bluetooth analysis │ └── res/ │ └── drawable/ │ └── disspair_logo.png # App icon ├── build.gradle └── README.md Requirements Android 6.0 (API 23) or higher Android 12+ (API 31) requires BLUETOOTH_SCAN and BLUETOOTH_CONNECT permissions Location services must be enabled for Bluetooth scanning For Classic device analysis: Location + Nearby Devices permissions Installation Direct Install (Pre-Built APK) Download disspair.apk from the Releases tab On your Android device, allow your browser or file manager to Install unknown apps Open the app and grant the requested Location and Nearby Devices permissions These permissions are required for Bluetooth scanning on Android 12+
git clone https://github.com/threadpoolx/DissPair.git cd DissPair git checkout APK 2. Open in Android Studio Open Android Studio (Hedgehog or newer recommended) Select Open and navigate to the cloned directory Let Gradle sync complete 3. Build & Run # Via Android Studio: Build > Build Bundle(s) / APK(s) > Build APK(s) # Or via command line: ./gradlew assembleDebug The compiled APK will appear in app/build/outputs/apk/debug/.
Ensure you have Android SDK, Android NDK, and JDK 17 installed and configured in Android Studio.
Tap ANALYSE on any Classic or Paired device to open the RFCOMM Channel Analysis.
Probes channels 1–15 by default (expandable to 16–30 via the PROBE 16-30 button) using direct RFCOMM connection attempts. Reports which channels are live and whether they accept unpaired (insecure) or paired (secure) connections.
Tap ANALYSE on any BLE device to open the GATT Analysis.
Tests what every characteristic allows without pairing and marks each one OPEN, AUTH, ENC, AUTHZ, KEY, DENY or ERR for read, subscribe and (optionally) write. Characteristics usable unpaired are flagged in red and summarised in an exportable report.
Read and subscribe tests are non-destructive; subscriptions are disabled again after the test.
Write test is one setting: Off (default), Echo only (rewrites the value just read on readable characteristics; write-only ones are skipped), or Echo + commit payload (write-only ones really get the hex payload you choose).
Run it on an unbonded device. If Android shows a pairing prompt mid-audit, decline it; the report flags any bond-state change.
Toggle HEX / ASCII display for all captured values
Tap ADV on any BLE device to inspect what it broadcasts, without connecting. It updates live while SCAN BLE runs.
BLE scanning now uses low-latency mode (and extended advertising where supported), so it uses more battery while a scan is running.
A live scrolling terminal log at the top of the main screen and within each overlay shows all events, discovered targets, errors, and decoded responses in color-coded monospace output.
Allows low-level protocol interaction without abstractions.
flowchart TB Start["START: Init & Dep Check"] --> ScanClassic["Scan Classic\nhcitool/bluez"] & ScanBLE["Scan BLE\nBleak Scanner"] & PairedDevices["Paired Devices\nLocal BlueZ"] & ManualMAC["Manual MAC"] ScanClassic --> TargetLocked["Target Locked"] ScanBLE --> TargetLocked PairedDevices --> TargetLocked ManualMAC --> TargetLocked TargetLocked --> ClassicEnum["Classic Enumeration\nBrute-force RFCOMM 1-30"] & BLEEnum["BLE GATT Enumeration\nPull Services & Chars"] ClassicEnum --> ClassicAttacks["RFCOMM Attacks\n- Silent Connection\n- Kali TTY Modem Noise\n- Resource Flood DoS\n- Customized Payload"] BLEEnum --> BLEAttacks["GATT Interaction\n- Read Hex/ASCII\n- Write Text String\n- Write Raw Hex"] Loading Installation System Dependencies sudo apt update sudo apt install -y bluez rfkill Python Setup python3 -m venv disspair_env source disspair_env/bin/activate pip install bleak Usage source disspair_env/bin/activate sudo $(which python3) disspair_kali.py Features & Workflow Step 1 — Discovery Scan Classic devices Scan BLE devices Load paired devices Manual MAC input Step 2 — Enumeration RFCOMM channel probing (1–30) BLE GATT enumeration Step 3 — Interaction RFCOMM Connect to channel Send AT commands Flood testing BLE Read characteristics Write characteristics Troubleshooting sudo rfkill unblock bluetooth sudo systemctl restart bluetooth sudo hciconfig hci0 up hciconfig -a Security & Abuse Reporting If you need to report a security vulnerability, malicious activity, or third-party abuse related to this tool, please see the Security Policy for contact details and responsible disclosure guidelines.




