10.09.2016 Views

Hacking_and_Penetration_Testing_with_Low_Power_Devices

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

162 CHAPTER 7 Building an army of devices<br />

FIGURE 7.3<br />

Adding a new device.<br />

PAN ID. If you intend to use the Python scripts presented later in this chapter (recommended),<br />

then the AP parameter should be set to 2 on all modems.<br />

It is a good idea to check that your modem is running the latest firmware <strong>and</strong><br />

update it as necessary. The current firmware version is shown at the top of the X-<br />

CTU screen. Clicking on the “update firmware” button will bring up the screen<br />

shown in Figure 7.4. If the firmware is out-of-date, as is the case in Figure 7.4, select<br />

the newest firmware <strong>and</strong> then click the Finish button.<br />

An XBee-PRO adapter should be used for the comm<strong>and</strong> console. After setting the<br />

channel <strong>and</strong> PAN ID to your chosen value, set the MY parameter to 0. Recall that the<br />

MY parameter is used to specify the 16-bit source address. Set the DH to zero in order<br />

to enable 16-bit addressing. DL should be set to any value less than 0xFFFE.<br />

<strong>Hacking</strong> drones should utilize XBee adapters when battery-powered unless they are<br />

not in range of the comm<strong>and</strong> console. Drones that are leeching power from a computer<br />

or that are plugged in can use XBee-PRO adapters. After setting the channel, PAN ID,<br />

<strong>and</strong> AP parameters appropriately, the DH <strong>and</strong> DL values should both be set to zero<br />

in order to direct all traffic to the comm<strong>and</strong> console. The MY value should be set to<br />

the drone number. It is recommended that drones are numbered sequentially starting<br />

from 1. Alternatively, drones can be numbered in groups. For example, 1xx, 2xx,<br />

<strong>and</strong> 3xx might represent wireless drones, wired drones, <strong>and</strong> dropboxes, respectively.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!