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

Serial interfacing for embedded devices


Since we have already covered the basics of UART in the previous section, let's jump into how we can interface with UART interfaces.

Getting ready

We will start by looking at how to identify the pins once we have located the UART pinouts on a device.

The four pins that we are trying to find are as follows:

  • Tx
  • Rx
  • GND
  • Vcc

For this, we will use a multimeter, which can measure both voltage and current, thus acting as both a voltmeter and ammeter, hence the name, multimeter.

The following is what a multimeter looks like. Connect the probes as shown in the following image:

How to do it...

Once connected, let's go ahead and find the different UART pinouts as described in the upcoming steps.

  1. Make sure that the pointer on the multimeter points to the speaker symbol, as shown in the following image:

Ensure that your device is turned off. Place the black probe on a ground surface-this could be any metallic surface on the device.

  1. Place the red probe on each of the four pads...