Hello again fellow hackers! after Cracker | Hacker's Tutorial on bluetooth recon, i thought i would extend it with a very useful tool called BlueRanger.
BlueRanger is basically a very simple bash script (that is already built into Kali) that uses link quality to estimate the distance to a bluetooth device. the higher the link quality, the closer the device is to you.
blueranger sends l2p (bluetooth) pings to determine the distance to a bluetooth device. in most cases, bluetooth devices allow a ping without any authentication.
but keep in mind that blueranger just gives estimations. the link quality also depends on the build quality of your bluetooth adapter, interference and response from the target. so fluctuations may occur even if both devices aren't in motion. but i myself figured out that blueranger gives pretty accurate results though.
our first step is to fire up kali. to open blueranger, we simply type in the terminal:
this will bring up a help screen on how to use blueranger.
using blueranger is really simple. the syntax of blueranger is:
blueranger.sh <hcix> <bdaddr>
hcix is the bluetooth interface (for example: hci0).
bdaddr is the MAC address of our target.
here is an example of how you would use it:
blueranger.sh hci0 20:C9:D0:43:4B:D8
i don't have a kali box right now, so i can't post a screenshot of the output, sorry :(
but why don't you try it yourself real quick? :)
that's it for now folks! i hope you enjoyed reading my (pretty short) article! if you have any problems, feel free to comment or PM me!