본문으로 건너뛰기
Skillpedia
보안6.5k · #14143

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가 스킬을 읽고 지침을 따릅니다.

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

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

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-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
자주 묻는 질문

기본 자격 증명이란 무엇인가요?

기기마다 같고 바꿔야 하는 공장 출하 로그인입니다.

프로토콜을 왜 확인하나요?

일부 장치 프로토콜은 인증이 없으므로, 노출된 포트가 중요할 수 있습니다.

소유한 장치만 테스트해야 하나요?

네. 가이드는 허가된 테스트와 테스터가 검사할 권한이 있는 장치를 가리킵니다.

상세 정보

작성자의 원본 설명

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

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14143
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬