Book Image

IoT Penetration Testing Cookbook

Book Image

IoT Penetration Testing Cookbook

Overview of this book

IoT is an upcoming trend in the IT industry today; there are a lot of IoT devices on the market, but there is a minimal understanding of how to safeguard them. If you are a security enthusiast or pentester, this book will help you understand how to exploit and secure IoT devices. This book follows a recipe-based approach, giving you practical experience in securing upcoming smart devices. It starts with practical recipes on how to analyze IoT device architectures and identify vulnerabilities. Then, it focuses on enhancing your pentesting skill set, teaching you how to exploit a vulnerable IoT device, along with identifying vulnerabilities in IoT device firmware. Next, this book teaches you how to secure embedded devices and exploit smart devices with hardware techniques. Moving forward, this book reveals advanced hardware pentesting techniques, along with software-defined, radio-based IoT pentesting with Zigbee and Z-Wave. Finally, this book also covers how to use new and unique pentesting techniques for different IoT devices, along with smart devices connected to the cloud. By the end of this book, you will have a fair understanding of how to use different pentesting techniques to exploit and secure various IoT devices.
Table of Contents (12 chapters)

Understanding and exploiting ZigBee


ZigBee is one of the common wireless protocols used in IoT devices because of its ability to form mesh networks and perform operations with low power and resource consumption. It has found its use in a number of verticals, including Smart homes, Industrial Control Systems (ICS), smart building control, and so on. It operates on 2.4 GHz in most countries, 902 to 928 MHz in America and Australia, and 868 to 868.6 MHz in Europe.

In this section, we will be looking at ZigBee and seeing how we can identify the ZigBee devices around us and sniff and replay the traffic in order to identify security issues.

Getting ready

To work with ZigBee, the following set up is required:

  • Hardware: Atmel RzRaven USB Stick flashed with KillerBee firmware
  • Software: KillerBee

Installing KillerBee is extremely straightforward and can be done by following the instructions on the official GitHub repo available here https://github.com/riverloopsec/killerbee.

Once you have the setup completed...