Skip to content

compujuckel/ZigbeeOtaExtractor

Repository files navigation

zigbee-ota-extractor

Tool to extract Zigbee OTA files from Wireshark packet captures

Prerequisites

A Zigbee sniffer is required to get the packet capture. Follow this guide to get started.
If your device needs an install code, you'll have to derive a link key using AES-MMO first. For convenience, I've written a small tool to do that here.

This tool requires an installed .NET 7 Runtime.

Usage

  • Open your packet capture in Wireshark
  • Set zbee_aps.cluster == 0x0019 as a filter to only show relevant packets
  • Go to File > Export Packet Dissections > As JSON... and save the file
  • Use ./zigbee-ota-extractor <filename> to extract the OTA file

Due to packet loss, more than one packet capture might be required. You can load multiple captures at once by specifying multiple filenames for zigbee-ota-extractor.

About

Extract Zigbee OTA images from packet captures

Topics

Resources

License

Stars

Watchers

Forks

Languages