O'Reilly logo

IoT Penetration Testing Cookbook by Aditya Gupta, Aaron Guzman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

  1. The first thing that we will do in order to interact with BLE devices around us is to look at all the devices around us and find their Bluetooth addresses. This can be done using the following command:
sudo hcitool lescan 
  1. This uses the lescan (Low Energy Scan) functionality of Hcitool to look for all the BLE advertisements in the vicinity, as shown in the following screenshot:

As you can see, we are able to identify a number of devices around us along with their addresses. Next, we can use Ubertooth to sniff the traffic for a given device as shown next.

Ubertooth One is a device developed by Michael Ossman of GreatScottGadgets ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required