Bluescan is a open source project by Sourcell Xu from DBAPP Security HatLab. Anyone may redistribute copies of bluescan to anyone under the terms stated in the GPL-3.0 license.
This document is also available in Chinese. See README-Chinese.md
Aren't the previous Bluetooth scanning tools scattered and in disrepair? So we have this powerful Bluetooth scanner based on modern Python 3 ---- bluescan.
When hacking new Bluetooth targets, the scanner can help us to collect intelligence, such as:
- BR devices
- LE devices
- LMP features
- GATT services
- SDP services
- Vulnerabilities (demo)
Requirements
This tool is based on BlueZ, the official Linux Bluetooth stack. The following packages need to be installed:
sudo apt install libglib2.0-dev libbluetooth-dev
README.md
of ojasookert/CVE-2017-0785.Install
The lastest bluescan will be uploaded to PyPI, so the following command can install bluescan:
sudo pip3 install bluescan
Usage
$ bluescan -h bluescan v0.2.1 A powerful Bluetooth scanner. Author: Sourcell Xu from DBAPP Security HatLab. License: GPL-3.0 Usage: bluescan (-h | --help) bluescan (-v | --version) bluescan [-i <hcix>] -m br [--inquiry-len=<n>] bluescan [-i <hcix>] -m lmp BD_ADDR bluescan [-i <hcix>] -m sdp BD_ADDR bluescan [-i <hcix>] -m le [--timeout=<sec>] [--le-scan-type=<type>] [--sort=<key>] bluescan [-i <hcix>] -m gatt [--include-descriptor] --addr-type=<type> BD_ADDR bluescan [-i <hcix>] -m vuln --addr-type=br BD_ADDR Arguments: BD_ADDR Target Bluetooth device address Options: -h, --help Display this help. -v, --version Show the version. -i <hcix> HCI device for scan. [default: hci0] -m <mode> Scan mode, support BR, LE, LMP, SDP, GATT and vuln. --inquiry-len=<n> Inquiry_Length parameter of HCI_Inquiry command. [default: 8] --timeout=<sec> Duration of LE scan. [default: 10] --le-scan-type=<type> Active or passive scan for LE scan. [default: active] --sort=<key> Sort the discovered devices by key, only support RSSI now. [default: rssi] --include-descriptor Fetch descriptor information. --addr-type=<type> Public, random or BR.
Scan BR devices
-m br
Classic Bluetooth devices may use three technologies: BR (Basic Rate), EDR (Enhanced Data Rate), and AMP (Alternate MAC/PHY). Since they all belong to the Basic Rate system, so when scanning these devices we call them BR device scanning:
As shown above, through BR device scanning, we can get the address, page scan repetition mode, class of device, clock offset, RSSI, and the extended inquiry response (Name, TX power, and so on) of the surrounding classic Bluetooth devices.
Scan LE devices
-m le
Bluetooth technology, in addition to the Basic Rate system, is Low Energy (LE) system. When scanning Bluetooth low energy devices, it is called LE device scanning:
As shown above, through LE device scanning, we can get the address, address type, connection status, RSSI, and GAP data of the surrounding LE devices.
Scan SDP services
Classic Bluetooth devices tell the outside world about their open services through SDP. After SDP scanning, we can get service records of the specified classic Bluetooth device:
You can try to connect to these services for further hacking.
Scan LMP features
Detecting the LMP features of classic Bluetooth devices allows us to judge the underlying security features of the classic Bluetooth device:
Scan GATT services
LE devices tell the outside world about their open services through GATT. After GATT scanning, we can get the GATT service of the specified LE device. You can try to read and write these GATT data for further hacking:
Vulnerabilities scanning (demo)
Vulnerability scanning is still in the demo stage, and currently only supports CVE-2017-0785:
$ sudo bluescan -m vuln --addr-type=br ??:??:??:??:??:?? ... ... CVE-2017-0785
via KitPloit More articles
- Physical Pentest Tools
- Pentest Tools For Android
- Tools Used For Hacking
- Pentest Tools
- Best Hacking Tools 2020
- Hacker Tools Linux
- Hack Tools
- Install Pentest Tools Ubuntu
- Hack And Tools
- Pentest Tools For Ubuntu
- Hacker Tools For Mac
- Blackhat Hacker Tools
- Hacking Tools For Pc
- Pentest Tools For Mac
- Hack Tools Pc
- Pentest Tools Port Scanner
- Hack Tools For Mac
- Hacks And Tools
- Tools For Hacker
- Beginner Hacker Tools
- Pentest Tools Open Source
- Blackhat Hacker Tools
- Hacking Tools
- Hacking Tools
- Hacker Tools Free Download
- Hack Tools For Ubuntu
- How To Make Hacking Tools
- Pentest Tools Free
- Hack Tools Pc
- Hacking Tools For Beginners
- Hacks And Tools
- Hacking Tools Pc
- Hacker Tools Mac
- Install Pentest Tools Ubuntu
- Hackers Toolbox
- Hacker Tools Mac
- Hack Tools Download
- Wifi Hacker Tools For Windows
- Pentest Tools Bluekeep
- Hack Website Online Tool
- Pentest Tools For Android
- Pentest Tools Free
- Pentest Tools Open Source
- Hacking Tools Online
- Hack Tools Mac
- Pentest Tools Open Source
- Hacking Tools Github
- Hacker Tools For Pc
- Hacker Tools Free
- Hacking Tools Usb
- Hacking Tools For Pc
- How To Make Hacking Tools
- Hack Tools
- Hack Tools For Ubuntu
- Best Pentesting Tools 2018
- Hacker Tools Hardware
- Best Pentesting Tools 2018
- Hack Website Online Tool
- Pentest Tools Kali Linux
- Hacking Tools For Games
- New Hacker Tools
- Game Hacking
- Hacker
- Ethical Hacker Tools
- Pentest Tools Linux
- Hacking Tools Github
- Hack Tools Mac
- Hack Website Online Tool
- Pentest Tools For Android
- Hack Tools Download
- Pentest Tools Bluekeep
- Hacking Tools Mac
- Hack Tools Pc
- Pentest Tools Review
- Tools 4 Hack
- Pentest Tools Website
- Pentest Tools Url Fuzzer
- Pentest Tools
- Hack Tool Apk No Root
- Hack Tools For Ubuntu
- Hacking Tools For Windows Free Download
- Hacker Tools Hardware
- Hacking Tools For Games
- Hacker Tools Apk Download
- Pentest Tools Apk
- Hacker Tools Free Download
- Pentest Tools Download
- Hacker Tools Windows
- Hacking Tools Download
- Pentest Tools Apk
- Hackers Toolbox
- Hack Tools Pc
- Hacking Tools Windows 10
- Pentest Tools Windows
- Hack Tool Apk No Root
- Hacking Tools Windows
- Pentest Tools Windows
- Black Hat Hacker Tools
- Hack Tools 2019
- Hacker Tools Github
- Hack Tools 2019
- Hacker Tools Apk Download
- Hacking Tools Hardware
- Hacking App
- Hacker
- Hack Tools
- Hacking Tools Github
- Hacker Tools Hardware
- Pentest Tools
- Hack Rom Tools
- Easy Hack Tools
- Install Pentest Tools Ubuntu
- Pentest Tools Website Vulnerability
- Best Hacking Tools 2020
- Hacking Tools Pc
- Pentest Tools For Windows
- Hacking Tools Download
- Hack Tool Apk No Root
- Hacker Tools
- Hacking Tools Software
- Usb Pentest Tools
- Hacking Tools Windows
- Hacking Tools Kit
- How To Install Pentest Tools In Ubuntu
- Blackhat Hacker Tools
- How To Install Pentest Tools In Ubuntu
- Install Pentest Tools Ubuntu
- Nsa Hack Tools
- Pentest Tools Subdomain
- Nsa Hack Tools
- Tools 4 Hack
- How To Make Hacking Tools
- Hacking Tools Hardware
- Hacking Tools Windows 10
- Black Hat Hacker Tools
- World No 1 Hacker Software
- Hacks And Tools
- Pentest Tools Android
- Pentest Tools List
- Hacker Tools 2019
- Beginner Hacker Tools
- Hacker Tools For Windows
- Pentest Tools Open Source
- Pentest Tools Kali Linux
- Hacks And Tools
- Hacker Tools For Pc
- Hacking Tools For Mac
- Hacker Tools Apk
- Hack Tools Pc
- Hacking Tools And Software
- Hacking Tools For Mac
- Pentest Recon Tools
- Hacker Tools For Pc
- Hacking Tools Software
- Pentest Tools For Mac
- Hacker Tools Mac
- Hack Tools For Games
- New Hack Tools
- Hacker Tools 2020
- Hack Tools For Games
- Hack Tools For Pc
- Hacking Tools For Kali Linux
- Top Pentest Tools
- Best Hacking Tools 2019
- Pentest Tools Windows
- Hacking Tools Windows 10
- Nsa Hack Tools Download
- Hack Tools For Mac
- Hack Tools Pc
- Hacker Tools Apk Download
- Hack Tools For Ubuntu
- How To Hack
- Hacking Tools For Windows
- Pentest Tools Nmap
- How To Hack
- Hacking Tools For Kali Linux