Bluetooth

BlueZ has changed a lot lately and bluetooth is not in centre of community interest lately so guides are becoming outdated and harder to find. Also I did not find (but I also did not search intesively so maybe fault is on my side) any comprehensive documentation about nowadays state of Bluez, or bluez-utils respectively. I summed up my observation into this wiki entry, maybe somebody will find something helpful here.

All possible notes written below are only hints meant for penetration testing and security enhancing and are not meant as primer to any illegal action in any way.

what's outdated
what's working
bluetoothctl

is nice control program which is part of bluez-utils and is described as development and debugging utility for BT protocol stack. It can be run by just typing bluetoothctl into console (of course you need to first initiate bluetooth daemon)

abilities:

passive monitoring (airodump like) & wireshark connection

Basically typical BT devices which are nowadays mounted into PC are not accustomed to be used to just scan ether and send all informations to PC, but just informs PC of things whitch radio finds somehow interesting or important or are requested. 1 This means that basically nowadays I do not know about simple way how to put ordinary BT device into monitor mode. Solution for this problem is Ubertooth2 which is specially crafted hardware for this (and also bunch of other) purpose. Then through sequence of SW you can basically get it running in a way that you can basicaly create kismet dump, which you can then interpret in wireshark.3

possible hacks

There is a nice page (hope it still works, if not, i'll try to paste it somewhere else) which basically sums up situation in problematics in 2005 (so it's pretty outdated, but probably usable when some older device comes into range)4, Then there is github repository owned by pwnieexpress, which was not managed from 2012, but keeps relatively long list of source code to various newer or older hacks.5 some other information can be found spread around internet, but basically many traces of original idea or notes can be found through links which are present in pwnieexpress repository readme files. From list of exploits which are named in above sources few looked interesting.

sources

[1] https://ask.wireshark.org/questions/15837/what-equipment-can-i-use-to-capture-bluetooth-packets#answer-container-15838

[2] https://greatscottgadgets.com/ubertoothone/

[3] https://wiki.wireshark.org/CaptureSetup/Bluetooth

[4] http://www.eetimes.com/document.asp?doc_id=1275730

[5] https://github.com/pwnieexpress/pwn_plug_sources/tree/master/src/bluetooth

[6] http://www.backtrack-linux.org/forums/showthread.php?t=5637&s=f59f4f7919b89e8c9d16773560795863