MCPcopy Index your code
hub / github.com/WUSTL-CSPL/Firmware-Dataset

github.com/WUSTL-CSPL/Firmware-Dataset @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
3 symbols 16 edges 3 files 0 documented · 0% updated 2y ago★ 75
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Firmware-Dataset

Introduction

We collected 16.9 TB of firmware images from the official websites of vendors, open FTP sites, and open-source repositories. Currently, 157,141 firmware images (about 6 TB) from 204 vendors have been pre-processed. The corresponding products of these firmware images are commonly used in consumer markets, such as networking devices, cameras, and smart home devices. The pre-processing for other firmware images is still running since these procedures require a large amount of computation. The pre-processed firmware images are open-source for research purposes, the distribution of their architecture type and OS type is shown in Fig.1. We will continue to update this repository as we collect more firmware images in the future.

arch os

Fig.1. Firmware distribution in terms of OS (left) and architecture (right).

Usage

Project Structure

├── README.md
├── figs
│   ├── firmware_arch_distribution.jpg
│   └── firmware_os_distribution.jpg
├── dat
│   ├── firmware_download_list.csv
│   └── firmware_ftp_list.csv
└── src
    ├── fw_downloader.py
    ├── fw_unpacker.py
    └── main.py

Citation

If you find our dataset helpful, please consider citing our papers.

@inproceedings{wu2024firmware,
  title={Your Firmware Has Arrived: A Study of Firmware Update Vulnerabilities},
  author={Wu, Yuhao and Wang, Jinwen and Wang, Yujie and Zhai, Shixuan and Li, Zihan and He, Yi and Sun, Kun and Li, Qi and Zhang, Ning},
  booktitle={USENIX Security Symposium},
  year={2024}
}
@inproceedings{wu2022measuring,
  title={Work-in-Progress: Measuring Security Protection in Real-time Embedded Firmware},
  author={Wu, Yuhao and Wang, Yujie and Zhai, Shixuan and Li, Zihan and Li, Ao and Wang, Jinwen and Zhang, Ning},
  booktitle={IEEE Real-Time Systems Symposium (RTSS)},
  year={2022}
}

Core symbols most depended-on inside this repo

unpack_firmware
called by 2
src/fw_unpacker.py
download_firmware
called by 2
src/fw_downloader.py
main
called by 1
src/main.py

Shape

Function 3

Languages

Python100%

Modules by API surface

src/main.py1 symbols
src/fw_unpacker.py1 symbols
src/fw_downloader.py1 symbols

For agents

$ claude mcp add Firmware-Dataset \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page