Chuyển đến nội dung
Skillpedia
Bảo mật6.5k · #14143

iot-security

Skill này làm gì

Cơ sở kiến thức này bao quát việc rà soát thiết bị kết nối, gồm khám phá giao thức, kiểm tra thông tin đăng nhập mặc định và trích xuất firmware. Dành cho các nhóm sản phẩm và người kiểm thử được ủy quyền rà soát thiết bị họ được phép kiểm thử.

Khi nào nên dùng

  • ✓Khi một nhóm sản phẩm muốn tìm xem thiết bị của họ dùng những cổng và giao thức mạng nào.
  • ✓Khi một thiết bị có thể vẫn còn thông tin đăng nhập mặc định cần được đổi.
  • ✓Khi một đợt rà soát được ủy quyền cần firmware từ một thiết bị mà họ sở hữu.

Liên kết skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/iot-security/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/recon/iot-security/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra thiết bị kết nối của chúng tôi xem có giao thức mở và thông tin đăng nhập mặc định không, chỉ dùng thiết bị thử nghiệm mà chúng tôi sở hữu?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent quét các cổng của thiết bị thử nghiệm, xác định các giao thức, kiểm tra xem thông tin đăng nhập mặc định có hoạt động không, rồi báo cáo các cài đặt cần đổi.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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-collection from cirt DefaultPasswords
  • Use routerpasswd for 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
Câu hỏi thường gặp

Thông tin đăng nhập mặc định là gì?

Đó là thông tin đăng nhập xuất xưởng giống nhau trên các thiết bị và cần được đổi.

Vì sao kiểm tra giao thức?

Một số giao thức thiết bị không có xác thực, nên các cổng bị lộ có thể quan trọng.

Chỉ được kiểm thử thiết bị mình sở hữu không?

Đúng. Hướng dẫn chỉ đến kiểm thử được ủy quyền và các thiết bị mà người kiểm thử được phép rà soát.

Chi tiết

Mô tả gốc của tác giả

IoT device security reconnaissance — firmware extraction, embedded analysis, protocol identification, default credential checking, vulnerability scanning, device fingerprinting.

repo: BitterSecurity/Decepticon

Độ phổ biến

Sao GitHub
6.5k
Vị trí xếp hạng
#14143
Giấy phép
Apache-2.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự