Need help with sniffROM?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

alainiamburg
248 Stars 28 Forks GNU General Public License v3.0 96 Commits 1 Opened issues

Description

A tool for passive data capture and reconnaissance of serial flash chips. It is used in conjunction with a Saleae logic analyzer to reconstruct flash memory contents and extract contextual information about device operations.

Services available

!
?

Need anything else?

Contributors list

# 222,787
Python
spi
sniffer
84 commits
# 164,596
Shell
Objecti...
C
spi
2 commits
# 288,243
CSS
Shell
spi
sniffer
1 commit

sniffROM

A tool for passive data capture and reconnaissance of serial flash chips. It is used in conjunction with a Saleae logic analyzer to reconstruct flash memory contents and extract contextual information about device operations.

  • Supports SPI and I²C flash chips.
  • Preserves the actual memory addresses of captured data.
  • Generates a visual map of the reconstructed binary image.
  • Generates a timing plot of reads/writes to memory addresses.
  • Recognizes 100+ (and currently parses 12) SPI flash commands from the following manufacturers:
    • Atmel
    • Eon
    • Fidelix
    • GigaDevice
    • Macronix
    • Numonyx
    • Spansion
    • SST
    • Winbond

See the Wiki for documentation ``` usage: sniffROMnew.py [-h] [--addrlen [{2,3,4}]] [--endian [{msb,lsb}]] [--filter [{r,w}]] [-o [O]] [--summary] [--data-map] [--timing-plot] [-v] inputfile

sniffROM - Reconstructs flash memory contents and extracts other data from passively sniffed commands in a Saleae logic analyzer capture file. Currently supports SPI and I2C flash chips.

positional arguments: input_file Saleae Logic SPI or I2C Analyzer Export File (.csv)

optional arguments: -h, --help show this help message and exit --addrlen [{2,3,4}] set length of SPI memory address in bytes (default: 3) --endian [{msb,lsb}] set endianness of SPI memory bytes (default: msb) --filter [{r,w}] analyze only Read or Write commands (default: both) -o [O] flash image output file name (default: output.bin) --summary print summary of sniffed commands and metadata --data-map show visual data map --timing-plot show timing analysis -v increase verbosity (up to -vvv) ```

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.