Book Image

Penetration Testing with Raspberry Pi - Second Edition

By : Michael McPhee, Jason Beltrame
Book Image

Penetration Testing with Raspberry Pi - Second Edition

By: Michael McPhee, Jason Beltrame

Overview of this book

This book will show you how to utilize the latest credit card sized Raspberry Pi 3 and create a portable, low-cost hacking tool using Kali Linux 2. You’ll begin by installing and tuning Kali Linux 2 on Raspberry Pi 3 and then get started with penetration testing. You will be exposed to various network security scenarios such as wireless security, scanning network packets in order to detect any issues in the network, and capturing sensitive data. You will also learn how to plan and perform various attacks such as man-in-the-middle, password cracking, bypassing SSL encryption, compromising systems using various toolkits, and many more. Finally, you’ll see how to bypass security defenses and avoid detection, turn your Pi 3 into a honeypot, and develop a command and control system to manage a remotely-placed Raspberry Pi 3. By the end of this book you will be able to turn Raspberry Pi 3 into a hacking arsenal to leverage the most popular open source toolkit, Kali Linux 2.0.
Table of Contents (13 chapters)
Penetration Testing with Raspberry Pi - Second Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Setting up the Bluetooth interface


The Raspberry Pi 3 includes built-in Bluetooth hardware that has potential applications in Bluetooth-related hacks and reconnaissance. However, this onboard adapter's functionality is not yet supported in Kali Linux or most other distributions, with Raspian being the sole exception. We attempted multiple times to build the tools from source and experimented with many drivers, but at the end of the day, Bluetooth functions will (for now) have to come from a third-party dongle that has been proven on earlier platforms, such as the Pi 2.

Fear not, USB Bluetooth adapters are another story! We were able to install a variety of USB Bluetooth dongles with ease, and while some nuances may be out there depending on the make and model, most follow a similar workflow. We used the Panda Nano Bluetooth 4.0 dongle (available at https://www.amazon.com/Panda-Bluetooth-4-0-Nano-Adapter/dp/B00BCU4TZE) and got it up and running in less than 10 minutes using the following process...