10.09.2016 Views

Hacking_and_Penetration_Testing_with_Low_Power_Devices

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Power</strong> requirements<br />

95<br />

the city <strong>and</strong> highway, respectively. Today, you cannot buy a US automobile that achieves anywhere<br />

close to that mileage (not even a hybrid).<br />

The automakers have not been motivated by the government to produce more efficient vehicles.<br />

The American consumers that continue to buy SUVs despite being faced <strong>with</strong> gasoline prices that<br />

have doubled <strong>and</strong> at times tripled under the Obama administration are not providing automakers<br />

much incentive to produce more efficient vehicles.<br />

In a similar way, the computer manufacturers are not motivated to produce more efficient systems.<br />

Neither the government nor consumers are providing incentive for companies to create more<br />

efficient systems. Additionally, manufacturers have made a concerted effort to convince everyone<br />

that they need the most powerful computer system available. Software companies such as Microsoft<br />

<strong>with</strong> ever-growing (bloating?) products have not helped this situation. As a result of all this, people<br />

feel they need six processor cores, a high-performance graphics card, <strong>and</strong> at least 8 GB of RAM to<br />

browse the Web, edit documents, <strong>and</strong> send e-mail.<br />

It is time to drill down a bit <strong>and</strong> get more specific on the power requirements for<br />

the Beagles. We will focus on the BeagleBone Black for this discussion as it is the<br />

most likely platform to be deployed by readers of this book. According to the<br />

BeagleBone Black System Reference Manual, the BeagleBone Black will consume<br />

200-480 mA of current at 5 V. This corresponds to 1-2.4 W of power.<br />

The numbers above include the power required by a complete system. The test<br />

configuration used involved a device connected to an HDMI monitor, USB hub,<br />

4 GB flash drive, Ethernet, <strong>and</strong> serial debugger. In other words, this is a worst case<br />

scenario. Based on my experience <strong>and</strong> reports from a number of others, we will use<br />

an average current of 220 mA for a highly loaded BeagleBone Black <strong>with</strong> no monitor<br />

or debugger attached. The methods for reducing power consumption will be discussed<br />

later in this chapter.<br />

<strong>Power</strong> consumption of peripherals such as LCD displays <strong>and</strong> IEEE 802.15.4<br />

radios will be discussed in greater detail later in this book. For now, we are most<br />

concerned about power requirements for remotely deployed drones. These drones<br />

will likely not sport LCD displays. The IEEE 802.15.4 radios will not be operated<br />

continuously, <strong>and</strong> thus, estimating their power consumption becomes a bit more<br />

difficult.<br />

A drone installed outside of a penetration test target’s facility will likely need to<br />

utilize wireless networking. A wireless adapter will require power to continuously<br />

receive <strong>and</strong> occasionally transmit packets. A typical wireless adapter found in a laptop<br />

computer has a transmit power of around 15 dBm, which corresponds to 0.032 W<br />

or 6 mA of current at 5 V. Allowing for power to operate a receiver <strong>and</strong> other circuitry<br />

if we quadruple this current, we are still under 25 mA of additional current.<br />

The Alfa AWUS036H USB wireless adapter is very popular among hackers. It<br />

has an output power of 1 W. At 5 V, this means the Alfa would require 200 mA just<br />

to transmit, plus additional power to operate the receiver <strong>and</strong> other circuitries, that is,<br />

if the Alfa was 100% efficient, which it is not. In reality, the Alfa can require up to<br />

500 mA of current while transmitting. The methods of reducing this power consumption<br />

will be discussed later in this chapter. A good number to use for average current<br />

requirements after implementing these power-saving measures is 60 mA.

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

Saved successfully!

Ooh no, something went wrong!