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 ...

Get IoT Penetration Testing Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.