Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Zigbee Thread Matter?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-zigbee-thread-matter)
---
name: zigbee-thread-matter
description: Zigbee / Thread / Matter (802.15.4) testing (Tier 1) — KillerBee sniffing and replay, network-key capture (Zigbee insecure rejoin / Trust Center link-key leakage), and Thread/Matter commissioning-key handling review. Requires an 802.15.4 radio (ApiMote/CC2531/nRF). Use for smart-home/building IoT meshes; companion app + cloud via iot and mobile/cloud skills.
---
# Zigbee / Thread / Matter (IEEE 802.15.4)
These mesh protocols share the 802.15.4 PHY. Classic weaknesses: Zigbee network-key transported in the clear during joining, default/well-known Trust Center link keys, and replayable unencrypted commands. Thread/Matter add modern commissioning crypto — reviewed here at a methodology level. Authorized meshes only.
## Trigger phrases
`zigbee, thread, matter, 802.15.4, killerbee, zbstumbler, network key, trust center link key, zbreplay, smart home mesh`
## Pre-reqs & hardware
802.15.4 radio: ApiMote, CC2531/CC2538 (`zb-sniffer`), Atmel RZUSBstick, or nRF52840; `killerbee` suite (`zbstumbler`, `zbdump`, `zbreplay`, `zbgoodfind`, `zbwireshark`), `scapy-dot15d4`, Wireshark w/ 802.15.4 dissector. Availability caveat: correct channel + a compatible radio are mandatory; without them no RF capture is possible.
## Method
1. **Survey:** `zbstumbler` / `zbid` to find networks across 802.15.4 channels (11–26); note PAN ID, channel, device addresses.
2. **Capture:** `zbdump -c <ch> -w mesh.pcap` → open in Wireshark (802.15.4/Zigbee dissector). Identify APS/NWK layers, security headers, frame counters.
3. **Network-key capture (Zigbee):** force or wait for a device **join/rejoin** — in insecure-join mode the NWK key is sent encrypted only with the well-known default Trust Center link key (`ZigBeeAlliance09`) → decrypt and recover the network key. `zbgoodfind` can recover keys from a device memory dump.
4. **Decrypt & analyze:** load the recovered key into Wireshark to read application-layer commands (on/off, lock/unlock, setpoints).
5. **Replay (RoE-gated):** `zbreplay -r mesh.pcap` re-sends captured frames — proves missing anti-replay (frame-counter not enforced) for actuation (lights, locks, relays).
6. **Thread/Matter (methodology):** review commissioning — Thread uses a Commissioner/Joiner with PSKd/PSKc (DTLS/J-PAKE); Matter uses a 27-bit setup passcode + SPAKE2+ and DACs. Check for weak/default/printed passcodes, exposed commissioning windows left open, and QR/NFC onboarding-payload leakage.
## Modern / rare techniques
- **[RARE] Default Trust Center link key (`ZigBeeAlliance09`)** still used by many devices for the initial key transport → network-key recovery on join.
- **[NEW] Insecure rejoin** forcing a device to re-key over the air to capture the NWK key without the initial join.
- **[NEW] Matter weak commissioning**: default/guessable setup passcode, multi-fabric abuse, or a commissioning window left open.
- **[RARE] Missing frame-counter enforcement** → straightforward command replay.
## Escalation / chaining
Device control → physical/safety impact (locks, HVAC, alarms). Recovered keys → full mesh visibility. Hub/companion app + cloud backend → `iot`, mobile, `cloud`.
## Backend & tooling
Native Kali with 802.15.4 radio; `killerbee`, `scapy-dot15d4`, Wireshark. Thread/Matter: vendor SDK docs, `chip-tool` (Matter) for commissioning review.
## Verification (background, before reporting)
Confirm key recovery by successfully decrypting captured traffic, and prove replay by a real device state change (reproduced). Distinguish an actual join-key leak from a secured-join network. Report confirmed only.
## Evidence
Capture file, recovered key (redacted) + decrypted command samples, replay-induced state change, or commissioning-weakness notes. Remediation: install-code / per-device unique link keys (not the default TC key), require NWK-key rotation, enforce frame-counter anti-replay, APS-layer encryption, close commissioning windows, strong/unique Matter passcodes.