Book Image

IoT Penetration Testing Cookbook

By : Aaron Guzman, Aditya Gupta
Book Image

IoT Penetration Testing Cookbook

By: Aaron Guzman, Aditya Gupta

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 (19 chapters)
Title Page
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

NAND glitching


One of the other things which you can perform on embedded devices to bypass security measures (such as no root shell on UART console) is to take advantage of glitching-based attacks.

Getting ready

Glitching, as the name suggests, is a way of introducing faults in the system that you are working with. This could be done in a number of various ways and there are separate books and research papers written solely on this topic.

For now, we will be looking at a very basic glitching-based attack overview. The goal of this is to be able to access the bootloader, which will allow us to change sensitive parameters such as the boot up args, where we can define our own arguments to tell the system to launch the UART console with a login prompt/shell or boot the system in a single user mode bypassing authentication.

How to do it...

  1. The glitch that we will look at here is called NAND glitching, where we will short one of the I/O pins of our device's NAND flash to a GND pin. Note that this shorting...