本文へスキップ
Skillpedia
セキュリティ6.5k · #14103

sub-ghz

できること

このガイドは、ガレージのオープナー、警報センサー、キーフォブなど、サブGHz無線を使うリモート機器のセキュリティ確認を扱います。許可された環境で自社の機器をレビューする製品チームとテスター向けです。

使う場面

  • ✓製品チームが、リモートオープナーがローリングコードを使っているか、固定コードを使っているかを確認したいとき。
  • ✓警報センサーが、記録して再送できてしまう信号を送っているかもしれないとき。
  • ✓許可されたテストで、無線機器の変調方式と符号化方式を特定する必要があるとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/iot/sub-ghz/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私たちのガレージのリモコンは固定コードを使っているかもしれません。テスト用の機器で、その信号を記録して再生できるか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは無線の周波数と符号化方式を特定し、ボタンを押すたびにコードが変わるかを確認します。記録された信号が再び受け入れられるかどうかを報告します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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

よくある質問

ローリングコードとは何ですか?

ボタンを押すたびに変わるコードです。そのため、記録された信号を再利用しにくくなります。

どの周波数帯が対象ですか?

ガイドは433、868、915MHzのISM帯(産業・科学・医療用の周波数帯)を扱っています。

どのツールが挙げられていますか?

ガイドはいくつかのソフトウェア無線と解析ツールを挙げており、inspectrumやrtl_433などがあります。

詳細

作者による元の説明

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

人気

GitHubのスター
6.5k
ランキング
#14103
ライセンス
Apache-2.0
更新日
2026/11/1

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル