iot-security
できること
このナレッジベースは、接続された機器のレビューを扱います。プロトコルの発見、デフォルトのログインの確認、ファームウェアの抽出を含みます。テストを許可された機器をレビューする製品チームと、許可を得たテスター向けです。
使う場面
- ✓製品チームが、機器がどのネットワークポートとプロトコルを使っているかを見つけたいとき。
- ✓機器にまだ変更が必要なデフォルトのログインが残っているかもしれないとき。
- ✓許可されたレビューで、自分が所有する機器からファームウェアが必要なとき。
スキルのリンク
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/iot-security/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私たちが所有するテスト用の機器だけを使って、接続型機器のオープンなプロトコルとデフォルトのログインを確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはテスト用機器のポートをスキャンし、プロトコルを特定し、デフォルトのログインが機能するかを確認します。変更すべき設定を報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
IoT Device Security Reconnaissance Knowledge Base
IoT (Internet of Things) device security reconnaissance focuses on identifying, analyzing, and assessing vulnerabilities in embedded systems and IoT devices. This includes firmware extraction, protocol analysis, default credential verification, and vulnerability identification.
1. Device Discovery and Identification
Network Scanning
# Discover IoT devices on network
nmap -sn 192.168.1.0/24
# Identify IoT-specific ports and services
nmap -sV --script=iot* -p- <target_ip>
# Shodan search for IoT devices
shodan search "device_type:iot"
Protocol Identification
# Check common IoT ports
nmap -sV -p 1883,5683,5684,61613,61614,61616,102,502,8080,8443 <target_ip>
# MQTT protocol detection
nc -zv <target_ip> 1883
# CoAP protocol detection
nc -zv -u <target_ip> 5683
# Modbus TCP detection
nc -zv <target_ip> 502
Device Fingerprinting
# Extract device information from banners
nc <target_ip> 80
curl -I http://<target_ip>
# Use specialized tools
iot-scanner --target <target_ip>
2. Firmware Extraction
From Device
# Extract firmware via UART
screen /dev/ttyUSB0 115200
# In UART console: check for firmware dump commands
# Extract via SPI flash
flashrom -r firmware.bin
# Extract via JTAG
openocd -f interface/cmsis-dap.cfg -f target/stm32f4x.cfg -c "dump_image firmware.bin 0x08000000 0x200000"
From Manufacturer
# Download from manufacturer website
wget https://manufacturer.com/support/firmware(device_model)_vX.X.X.bin
# Extract from mobile app (if available)
# Often contains firmware update files
Firmware Archive Sources
- Manufacturer websites
- Third-party firmware repositories
- Device backup files
- OTA (Over-The-Air) update packages
3. Firmware Analysis
File System Extraction
# Identify firmware type
file firmware.bin
# Extract with binwalk
binwalk -e firmware.bin
# Extract squashfs filesystem
unsquashfs squashfs-root
# Mount filesystem
mount -o loop filesystem.ext4 /mnt/firmware
Binary Analysis
# Check for executable formats
file extracted_binaries/*
# Analyze ARM binaries
readelf -a binary.elf
# Extract strings
strings firmware.bin > strings.txt
# Search for interesting strings
grep -E "(admin|root|password|secret|backdoor|shell|telnet|ssh)" strings.txt
4. Default Credential Checking
Common Default Credentials
# Try common admin credentials
hydra -L common_usernames.txt -P common_passwords.txt <target_ip> http-post-form "/login:user=^USER^&pass=^PASS^:Invalid" -vV
# Common username/password combinations:
# admin/admin, admin/password, admin/123456
# root/admin, root/password, root/12345
# user/user, user/password
# guest/guest, guest/password
# support/support, support/password
Vendor-Specific Credentials
# Check vendor documentation for default credentials
# Many vendors have well-known defaults
# Search for default credentials in extracted firmware
grep -r "default.*password\|password.*default" extracted_firmware/
Credential Databases
- Use
secrets-collectionfrom cirt DefaultPasswords - Use
routerpasswdfor router-specific defaults - Check CIRCL default password list
5. Protocol-Specific Analysis
MQTT (Message Queuing Telemetry Transport)
# Connect to MQTT broker
mosquitto_sub -h <target_ip> -t "#" -v
# Publish test message
mosquitto_pub -h <target_ip> -t "test" -m "hello" --will-topic "test" --will-payload "disconnected"
# Check for unauthenticated access
mosquitto_sub -h <target_ip> -t "#" -v --username "" --password ""
CoAP (Constrained Application Protocol)
# Discover CoAP resources
coap-client -m get "coap://<target_ip>/.well-known/core"
# Check for default resources
coap-client -m get "coap://<target_ip>/"
coap-client -m get "coap://<target_ip>/status"
Modbus
# Read Modbus registers
modbus-read --ip=<target_ip> --port=502 --slave=1 --count=10 --register=0
# Check for common Modbus configurations
nmap --script modbus-discover <target_ip>
HTTP/REST APIs
# Check for web interface
curl -k https://<target_ip>
# Check common API endpoints
curl -k https://<target_ip>/api
curl -k https://<target_ip>/cgi-bin/
# Check for authentication bypass
curl -k -H "Authorization: Basic $(echo -n 'admin:admin' | base64)" https://<target_ip>
UPnP
# Discover UPnP devices
upnp-discover
# Check for UPnP v
よくある質問
デフォルトの認証情報とは何ですか?
工場出荷時のログインで、機器ごとに同じものが使われており、変更すべきものです。
なぜプロトコルを確認するのですか?
一部の機器のプロトコルには認証がないため、露出したポートが重要になりうるからです。
自分が所有する機器だけをテストすべきですか?
はい。ガイドは、許可されたテストと、テスターが調べることを許可された機器を対象としています。
詳細
作者による元の説明
IoT device security reconnaissance — firmware extraction, embedded analysis, protocol identification, default credential checking, vulnerability scanning, device fingerprinting.
人気
- GitHubのスター
- 6.5k
- ランキング
- #14143
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
detector-overview
6.5kエージェントが、スキャナーが指摘したコードを読み、本物のセキュリティバグと誤検知を見分けられるよう支援します。
exploiter-overview
6.5kエージェントが、確認済みの複数のセキュリティ上の弱点を一つのテストの連鎖にまとめ、その影響がどこまで及ぶかを確認できるよう支援します。
llm-redteam-overview
6.5kエージェントが、プロンプトインジェクションからモデルの悪用まで、15の戦術グループの中から適切なAIレッドチーム用ガイドを見つけられるよう支援します。
aatmf-t01-prompt-injection
6.5kプロンプトインジェクションを説明します。隠された指示でAIシステムを乗っ取ろうとする手口を、セキュリティテスターが確認できるようにします。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。