Saltar al contenido
Skillpedia
Seguridad6,5 mil · #14103

sub-ghz

Qué hace

Esta guía cubre comprobaciones de seguridad para dispositivos remotos que usan radio sub-GHz, como abridores de garaje, sensores de alarma y llaves de mando. Va dirigida a equipos de producto y probadores que revisan sus propios dispositivos en un entorno autorizado.

Cuándo usarla

  • ✓Cuando un equipo de producto quiere comprobar si su mando de garaje usa códigos rodantes o un código fijo.
  • ✓Cuando un sensor de alarma envía señales que podrían grabarse y reenviarse.
  • ✓Cuando una prueba autorizada necesita identificar la modulación y la codificación de un dispositivo de radio.

Link de la skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/iot/sub-ghz/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/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/iot/sub-ghz/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

“Nuestro mando de garaje podría usar un código fijo. ¿Puedes comprobar si su señal podría grabarse y reproducirse en nuestra unidad de prueba?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente identifica la frecuencia de radio y la codificación, comprueba si el código cambia entre pulsaciones e informa si una señal grabada sería aceptada de nuevo.

Contenido técnico (SKILL.md original)

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

Sub-GHz ISM Band Capture and Replay

The 433/868/915 MHz ISM bands host a vast range of devices: garage door openers, car remote entry, alarm sensors, smart meters, weather stations, baby monitors, and industrial telemetry. Most use OOK or FSK modulation with no authentication. Fixed-code devices are trivially replayed. Rolling- code devices (KeeLoq, HiTag2) require additional analysis but have documented weaknesses.

Prerequisites

  • Hardware (any one or more):

    • HackRF One (1 MHz–6 GHz, TX+RX, 20 Msps) — most versatile.
    • Flipper Zero (sub-GHz module, 300–928 MHz) — fastest field replay.
    • RTL-SDR Blog v4 (receive only, 24 MHz–1766 MHz) — cheapest capture.
    • YARD Stick One (rfcat, 300–928 MHz, CC1111 based, TX+RX) — scriptable.
    • Proxmark3 (car key HiTag2 analysis, NFC — separate workload).
  • Software: rfcat, inspectrum, Universal Radio Hacker (URH), rtl_433, GNU Radio, hackrf_transfer, SigDigger, rpitx (Raspberry Pi TX alternative).

# Install rfcat (YARD Stick One / CC1111 based tools):
pip install rfcat

# Install rtl_433 (auto-decodes hundreds of 433 MHz devices):
apt install rtl-433  # or build from https://github.com/merbanan/rtl_433

# Universal Radio Hacker:
pip install urh

# inspectrum (IQ file visualization):
apt install inspectrum

Frequency and Modulation Quick Reference

Frequency Region / Use Common modulation
433.92 MHz EU/AS garage, keyfobs, sensors OOK-PWM, OOK-Manchester
315 MHz US garage doors, legacy keyfobs OOK-PWM
868.35 MHz EU alarms, smart meters, LoRa overlap FSK, OOK
915 MHz US ISM (LoRa, sensors, meters) FSK, OOK
303 MHz US TPMS, some car remotes OOK
868.95 MHz KNX, some home automation FSK

Phase 1: Passive Capture and Signal Identification

RTL-SDR (receive only)

# Wideband spectrum survey — see what's broadcasting in the ISM band:
rtl_sdr -f 433920000 -s 2400000 -g 40 /tmp/433_survey.iq

# Auto-decode known 433 MHz devices (weather stations, door sensors, etc.):
rtl_433 -f 433920000 -s 250k -g 40 -F json | tee /tmp/rtl433_decode.json

# For continuous monitoring and logging:
rtl_433 -f 433.92M -s 250k -R 0 -F json -M utc | tee -a /tmp/rtl433_live.json

HackRF capture

# Capture 10 seconds of IQ at 433.92 MHz:
hackrf_transfer -r /tmp/433_capture.iq -f 433920000 -s 2000000 -l 32 -g 40 -n 20000000

# For 868 MHz EU targets:
hackrf_transfer -r /tmp/868_capture.iq -f 868350000 -s 2000000 -l 32 -g 40 -n 20000000

Flipper Zero (fastest field method)

On Flipper Zero:

  • Sub-GHz → Frequency Analyzer: identifies active frequencies.
  • Sub-GHz → Read: captures and stores a signal to flash.
  • Sub-GHz → Read Raw: stores raw IQ for later analysis.
# Via Flipper CLI (qFlipper / USB serial):
# Export captured signals:
flipper_tx read /ext/subghz/captures/signal_001.sub

Phase 2: Signal Analysis with inspectrum and URH

# Visualize IQ capture in inspectrum (shows spectrogram + symbol clock):
inspectrum /tmp/433_capture.iq -r 2000000

# Open in URH for automatic modulation detection and bit decoding:
urh /tmp/433_capture.iq
# URH auto-detection: Signal → Autodetect parameters → shows encoding
# (OOK, FSK, PSK), bit rate, and decoded bits.

Key parameters to identify:

  • Modulation: OOK (On-Off Keying) = on/off pattern; FSK = two frequencies.
  • Bit rate: measure pulse width in inspectrum (typical: 1000–4000 bps for OOK remotes).
  • Encoding: PWM (pulse-width), Manchester, NRZ, biphase.
  • Preamble: usually alternating 01010101 or a long carrier burst.

Phase 3: Fixed-Code Replay

With HackRF

# Replay a captured signal exactly as recorded:
hackrf_transfer -t /tmp/433_capture.iq -f 433920000 -s 2000000 -x 47 -R  # -R = repeat

# Trim the IQ file to a single clean burst before replaying:
python3 - <<'EOF'
import numpy as np

iq = np.fromfile("/tmp/433_capture.iq", dtype=np.int8)
# Find signal burst (amplitude threshold):
amplitude = np.abs(iq[0::2].astype(float) + 1j * iq[1::2].astype(float))
threshold = amplitude.max() * 0.3
start = np.argmax(amplitude > threshold) - 100
end   = len(amplitude) - np.argmax(amplitude[::-1] > threshold) + 100
burst = iq[start*2:end*2]
burst.tofile("/tmp/433_burst_trimmed.iq")
print(f"Burst: {start}–{end} samples ({(end-start)/2e6*1000:.1f} ms)")
EOF

hackrf_transfer -t /tmp/433_burst_trimmed.iq -f 433920000 -s 2000000 -x 47

Wit

Preguntas frecuentes

¿Qué es un código rodante?

Es un código que cambia con cada pulsación, lo que hace más difícil reutilizar una señal grabada.

¿Qué bandas están cubiertas?

La guía cubre las bandas industriales, científicas y médicas de 433, 868 y 915 MHz.

¿Qué herramientas se mencionan?

La guía nombra varias herramientas de radio definida por software y de análisis, como inspectrum y rtl_433.

Detalles

Descripción original del autor

Sub-GHz RF capture and replay for 433/868/915 MHz ISM-band targets (garage doors, car keys, alarm sensors, weather stations). Covers fixed-code replay with HackRF/Flipper Zero/RTL-SDR, rolling-code analysis with rfcat, signal visualization with inspectrum and Universal Radio Hacker, and encoding/modulation identification.

repo: BitterSecurity/Decepticon

Popularidad

Estrellas en GitHub
6,5 mil
Posición en el ranking
#14103
Licencia
Apache-2.0
Actualizada
1/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas