Saltar al contenido
Skillpedia
Seguridad10 mil · #11961

offensive-iot

Qué hace

Esta skill es una metodología para pruebas de seguridad de dispositivos IoT y embebidos. Cubre el reconocimiento del hardware, la extracción y el análisis del firmware, el acceso al cargador de arranque y en ejecución, y el salto a las apps complementarias. Es para profesionales de seguridad que prueban dispositivos que tienen autorización para examinar.

Cuándo usarla

  • ✓Cuando pruebas un dispositivo inteligente o un producto embebido en busca de fallos de seguridad con permiso.
  • ✓Cuando quieres extraer y analizar el firmware de un dispositivo que tienes autorización para probar.
  • ✓Cuando necesitas comprobar si un dispositivo tiene credenciales predeterminadas o secretos codificados.

Link de la skill

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/iot/offensive-iot/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/SnailSploit/Claude-Red/blob/main/Skills/iot/offensive-iot/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Tenemos autorización para probar esta cámara inteligente. Ayúdame a extraer su firmware y buscar secretos codificados.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill trabaja con el dispositivo en orden: reconocimiento físico, obtención del firmware, descompresión y análisis, y después establecimiento de acceso en ejecución. Termina comprobando los servicios conectados, como una app complementaria o una API en la nube.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

IoT & Embedded — Offensive Testing Methodology

Quick Workflow

  1. Recon the device physically — identify SoC, flash, debug interfaces, radios
  2. Get the firmware — vendor download, OTA capture, hardware dump, or chip-off
  3. Unpack and analyze — filesystems, services, secrets, default creds, vuln components
  4. Establish runtime access — UART shell, telnet/SSH default creds, exploit chain
  5. Pivot — to companion app, cloud API, neighboring devices via mesh / wireless

Hardware Reconnaissance

PCB Inspection

  • ID the SoC by markings (Realtek, Mediatek, Espressif, Broadcom, Allwinner, NXP, STM32, etc.)
  • ID flash (8-pin SOIC = SPI NOR; BGA = eMMC; TSOP = NAND)
  • Find debug headers: TX/RX/GND/VCC pads (UART), 4–10 pin (JTAG), 4 pin (SWD)
  • Find test points labeled TX, RX, TCK, TMS, TDO, TDI, RST, BOOT

Tools

Tool Use
Multimeter Identify GND, VCC rails before connecting
Logic analyzer (Saleae, DSLogic) Find UART baud, SPI clock, identify protocols
USB-UART (FT232, CP2102) UART console
Bus Pirate / Glasgow UART, SPI, I2C, JTAG generic
J-Link / Black Magic Probe JTAG / SWD MCU debugging
CH341A programmer Cheap SPI flash dumper
XGecu T48 Modern universal programmer (NAND/eMMC/SPI)
ChipQuik / hot-air Chip-off desolder

UART Discovery

# Find baud rate
for b in 9600 19200 38400 57600 115200 230400 460800 921600; do
  echo "=== $b ==="
  timeout 5 minicom -b $b -D /dev/ttyUSB0 -C uart_$b.log
done
grep -l -E "U-Boot|Linux|Bootloader|console|login" uart_*.log

Look for: U-Boot console (often Hit any key countdown), Linux init messages, root shell on console, login prompt.

Bootloader Console Drop

# At U-Boot countdown, mash space or key listed
Hit any key to stop autoboot:  0
=> printenv                   # full env, often includes boot args
=> setenv bootargs ${bootargs} init=/bin/sh
=> boot                       # Linux comes up to root shell, no login

If U-Boot is locked, try:

  • CONFIG_DELAY_AUTOBOOT_KEYED keyword (vendor-specific)
  • Ctrl+C / Ctrl+B / specific magic strings
  • Glitch the U-Boot version-check / signature-check (see Fault Injection)

Flash Dumping

SPI NOR (most common consumer IoT)

# In-circuit dump (hold SoC in reset to avoid bus contention)
flashrom -p ch341a_spi -r firmware.bin

# Verify
file firmware.bin && binwalk firmware.bin

If the SoC fights you: desolder the SPI chip, dump in socket, re-solder.

eMMC / NAND

eMMC is desolder-then-read: BGA-153/169 to SD adapter (cheap eBay), use a USB SD reader.

NAND requires bit-flipping and ECC handling — nanddump/yaffshiv/ubireader post-extraction.

OTA Capture

Many devices fetch firmware over HTTP(S). MITM the device:

# Captive AP + transparent proxy
sudo create_ap wlan0 eth0 IoTLab
mitmproxy --mode transparent --showhost --ssl-insecure
# Or for non-SNI / pinning, use bettercap with custom DNS

Capture the URL, download directly, dissect.


Firmware Analysis

Initial Triage

binwalk -Me firmware.bin           # Extract recursively
binwalk -E firmware.bin            # Entropy plot — flat = encrypted/compressed
strings firmware.bin | grep -iE "(passwd|key|token|admin|http|ssid)"

Filesystem Mounting

# SquashFS (most consumer Linux IoT)
unsquashfs -d rootfs squashfs.bin

# JFFS2 / UBIFS (NAND-backed)
jefferson jffs2.bin -d rootfs
ubireader_extract_files ubi.bin -o rootfs

Embedded-Linux Quick Wins

# Hardcoded credentials and keys
grep -RIE "(BEGIN (RSA |DSA |EC )?PRIVATE KEY|api[_-]?key|secret|token|passwd|root:[^*])" rootfs/
find rootfs -name "*.pem" -o -name "*.key" -o -name "shadow"

# Telnet/SSH default creds
cat rootfs/etc/passwd rootfs/etc/shadow
grep -r "telnetd" rootfs/etc/init.d
grep -r "dropbear\|sshd" rootfs/

# Setuid binaries
find rootfs -perm -4000 -type f

# Vulnerable busybox / dropbear / openssl versions
rootfs/bin/busybox 2>&1 | head -1
strings rootfs/sbin/dropbear | grep "Dropbear v"
strings rootfs/usr/lib/libssl* | grep "OpenSSL "

# Web admin: lighttpd / mini_httpd / boa / GoAhead — known CVE goldmine
find rootfs -name "lighttpd*" -o -name "boa" -o -name "goahead" -o -name "mini_httpd"

CGI / Web Admin Auditing

GoAhead, Boa, mini_httpd — abandoned codebases, command injection on every other CGI parameter.

# Disassemble a CGI
file rootfs/www/cgi-bin/s
Preguntas frecuentes

¿Qué hardware cubre?

Cubre interfaces de depuración como UART, JTAG y SWD, y chips de memoria flash, usando herramientas habituales.

¿Cómo se obtiene el firmware?

La skill cubre las descargas del fabricante, la captura por actualización inalámbrica, los volcados de memoria flash y los métodos chip-off.

¿Es solo para pruebas autorizadas?

Sí. Está escrita para dispositivos que tienes permiso para probar.

Detalles

Descripción original del autor

IoT and embedded device security testing methodology. Covers hardware reconnaissance (UART, JTAG, SWD, SPI flash, I2C EEPROM, eMMC chip-off), firmware acquisition (vendor portals, OTA capture, flash dump, binwalk extraction), firmware analysis (filesystem mounting, binary triage, hardcoded secrets, default credential discovery), bootloader attacks (U-Boot console, secure-boot bypass, fault injection), runtime attacks on embedded Linux/RTOS (busybox CVEs, MTD writes, /dev/mem), wireless protocol attacks (Zigbee, BLE, Z-Wave, LoRaWAN, Thread/Matter, sub-GHz), MQTT/CoAP/Modbus/BACnet/OPC-UA explo

repo: SnailSploit/Claude-Red

Popularidad

Estrellas en GitHub
10 mil
Posición en el ranking
#11961
Licencia
MIT
Actualizada
12/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas