linux bluetooth scanning tutorial

This is a short linux bluetooth scanning tutorial with some tools you can use in linux (including kali linux). Its not comprehensive, but will show you the tools that you need to get started searching for nearby devices.

About Bluetooth

Bluetooth is a wireless technology standard used for exchanging data over short distances. Typically within a range of 10 to 100 meters. Developed in the 1990s by a consortium led by Ericsson. Bluetooth has evolved to become a ubiquitous feature. Used in a wide variety of devices, including smartphones, laptops, headphones, and smart home products. The technology operates in the 2.4 GHz frequency range, using a combination of frequency hopping spread spectrum and adaptive frequency hopping to minimize interference from other devices.

Key Features and Uses:

  1. Connectivity: Bluetooth allows devices to connect and communicate without needing physical cables. This wireless capability is essential for modern user experiences, particularly in mobile devices and wearables.
  2. Low Power Consumption: One of Bluetooth’s significant advantages is its low power usage, which is especially crucial for battery-operated devices like wireless earbuds and fitness trackers. Bluetooth Low Energy (BLE), introduced in Bluetooth 4.0, further enhances energy efficiency, enabling devices to remain connected for extended periods without draining the battery.
  3. Profiles and Standards: Bluetooth technology supports various profiles that define the possible applications and use cases. For instance, the A2DP (Advanced Audio Distribution Profile) enables high-quality audio streaming, while the HSP (Headset Profile) is used for voice communication. These profiles ensure compatibility between different devices and applications.
  4. Security: Bluetooth incorporates various security measures, including pairing mechanisms and encryption, to protect data transmitted between devices. However, security vulnerabilities can arise, making regular updates and awareness essential for users.

Linux bluetooth scanning tutorial.

hcitool

Used to do stuff with bluetooth.

hcitool dev

Will tell you what devices you have installed.

hcitool -i hci0 scan

Will start a ‘scan’ for bluetooth devices using interface hci0.

If you have more than one bluetooth device [eg, a built-in one and a usb dongle] then you can do some pretty cool things:

You can [using backtrack 5] goto:

  • applications > backtrack > information gathering > network analysis > bluetooth > bluediving

This is an awesome program.
Once you have your two bluetooth devices plugged in there are many tools available inside this program:

  • scanning for apple devices.
  • scanning for phones.
  • scanning for laptops.
  • getting information on the above.
  • and a whole lot more.

There are others available.

  • applications > backtrack > information gathering > network analysis > bluetooth > btscanner

Is probably better to find devices.
It’s like kismet, but for bluetooth.
It will also log everything it finds to the ~/bts folder. =)

This Post Has 3 Comments

  1. Eldridge Harry

    Hi I am hoping you can help me.

    I just got  Alfa Wireless WiFi USB Adapter w/ 5dBi Antenna & RP-SMA Jack AWUS036EH

    And I’m using backtrack 5 but I’m not sure how to instal it’s drivers on bt and how to make it usable.

    Could you please guide me.

    Please help.

    Grateful

    Harry Eldridge 

  2. jonathan

    i really have no idea; ive never used wireless usb devices;
    the best place would be on the backtrack forums [or maybe the ubuntu forums, as backtrack 5 is based on ubuntu 10.04]

  3. nikhil raj

    Hey backtrack 5 has got alfa drivers pre installed and tested…just type in iwconfig in terminal to show all interfaces having wireless capabilities. You may need to bring the device up i.e
    ifconfig up
    This will bring the device up. You can now scan the air for wireless signals using iwlist. Gud Luck :)

Leave a Reply