Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect hidden/not visible bluetooth device on mobile

I have the bluetooth mac-id of the target device. The bluetooth however is in hidden/not visible mode.

Both phones are android. (Non-root).

I did my research and I * know * that I can CONNECT to a device (in most cases) if I know the mac-id, however I want to just scan for proximity and NOT connect i.e. if the target device is in bluetooth range and I know its mac-id, can I * just * know if its in proximity (or in loose terms, scan for it?)

like image 447
Fresh Prince Avatar asked Apr 04 '13 20:04

Fresh Prince


People also ask

How can I find a hidden Bluetooth device?

Download a Bluetooth scanner app. For example, download LightBlue for iPhone, or get LightBlue for Android. This kind of app detects and lists all Bluetooth devices broadcasting nearby. When the item shows up on the list, try to locate it.

How do I find hidden Bluetooth devices on Android?

You can find a hidden Bluetooth device by visual inspection, using Bluetooth checker apps, or using a spectrum analyzer. You can also use a Bluetooth scanner to find hidden devices.

Can Bluetooth be hidden?

Turn Bluetooth on or off Tap the indicator next to "Open detection" to turn Bluetooth visibility on or off. If you turn on Bluetooth visibility, your mobile phone is visible to all Bluetooth devices. If you turn off Bluetooth visibility, your mobile phone is only visible to paired Bluetooth devices.

Why is my Bluetooth device not showing up?

If your Bluetooth devices won't connect, it's likely because the devices are out of range, or aren't in pairing mode. If you're having persistent Bluetooth connection problems, try resetting your devices, or having your phone or tablet "forget" the connection.


1 Answers

The short answer is no, you cannot discover undiscoverable Bluetooth devices.

Having a device in undiscoverable mode is a security measure implemented by manufacturers to prevent abuses such as device tracking. This make a standard bluetooth adapter (such as yours) completely unable to state whether an invisible/undiscoverable device is close or not.

However, it turns out this kind of security is not optimum and has been broken recently. You can find here Michael Ossmann's work on Ubertooth, a small Bluetooth adapter able to detect undiscoverable devices. You can find here a great presentation of what this is, build this dongle using open source plans and even buy his dongle.

EDIT :

It is possible to know whether a bluetooth device is around, even if he is in an undiscoverable mode, by knowing his full MAC address in the first place.

The technique is to try a PAGE request, sending all the 6 bytes that are composing the seeked Bluetooth host MAC identifier. A PAGE request allows one to connect with a Bluetooth slave when knowing his BT ADDR. Devices that are in undiscoverable mode does not respond to inquiry scan (device discovery intent), but they do respond to page scan which is used by a device wanting to connect to an another previously known device.

You might be able to do what you intend by using Bluesniff, a security proof of concept allowing you to discover hidden devices. It might support page scanning.

Note that this is to be taken as an educational resource, and I do not encourage this kind of practice in a commercial application.

like image 172
Halim Qarroum Avatar answered Oct 31 '22 09:10

Halim Qarroum