Skip to content
Skillpedia
Security6.5k Β· #14103

sub-ghz

What it does

This guide covers security checks for remote devices that use sub-GHz radio, such as garage openers, alarm sensors and key fobs. It is for product teams and testers reviewing their own devices in an authorized setting.

When to use it

  • βœ“When a product team wants to check whether its remote opener uses rolling codes or a fixed code.
  • βœ“When an alarm sensor sends signals that could be recorded and sent again.
  • βœ“When an authorized test needs to identify the modulation and encoding of a radio device.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/iot/sub-ghz/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œOur garage remote might use a fixed code. Can you check whether its signal could be recorded and replayed on our test unit?”

5 new skills a week. 1 minute to read.

How it works

The agent identifies the radio frequency and encoding, checks whether the code changes between presses, and reports whether a recorded signal would be accepted again.

Technical content (original SKILL.md)

Original text by the author, straight from 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

FAQ

What is a rolling code?

It is a code that changes with each press, which makes a recorded signal harder to reuse.

Which bands are covered?

The guide covers the 433, 868 and 915 MHz industrial, scientific and medical bands.

Which tools are mentioned?

The guide names several software-defined radio and analysis tools, such as inspectrum and rtl_433.

Details

Original description by the author

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

Popularity

GitHub stars
6.5k
Ranking position
#14103
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills