O'Reilly logo

IoT Penetration Testing Cookbook by Aditya Gupta, Aaron Guzman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

SPI and I2C identification

SPI and I2C identification is similar to what we just saw in the UART communication identification. One of the ways of identifying that the communication protocol being used is SPI or I2C is by using a logic analyzer and looking at the various bits that have been transmitted in the communication.

Both SPI and I2C fall under serial communication, mostly used in Flash and EEPROM. One of the ways to correctly identify the exact protocol being used, along with further details, is to look at the chip name and get the information from the datasheet.

The following is what an SPI flash chip looks like:

Image source: https://cdn-shop.adafruit.com/1200x900/1564-00.jpg ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required