Skip to content
Pwnversity
WL-SDRadvanced · 4 min · upd. 2026-10

SDR and Radio

A Software Defined Radio (SDR) is a radio receiver (and sometimes transmitter) whose processing is done in software, letting you tune and analyze almost any frequency with a single cheap device. For a hacker, an SDR opens a huge universe: remote controls, wireless sensors, garage/car remotes, pagers, aircraft ADS-B, GPS, and proprietary IoT protocols. It’s the gateway to radio hacking beyond WiFi/BT.

Transmitting on regulated frequencies without a license is illegal in most countries. Reception is usually legal; replay and jamming require explicit authorization and a controlled environment. Practice within the law.

Many consumer and industrial wireless devices rely on protocol obscurity and on no one listening to their band. With a receive-only SDR (RTL-SDR, ~$25), a passive attacker observes and decodes signals without transmitting anything. With a transmit-capable SDR (HackRF, Flipper Zero), they can replay a captured signal or inject false sensor readings. The classic flaw is the fixed code: a remote that always sends the same “open” packet is clonable by capturing and resending. A well-implemented rolling code defeats a simple replay.

flowchart TD
    A[Identify the frequency: manual, FCC ID, GQRX sweep] --> B[Capture the signal when activating the device]
    B --> C[Analyze: ASK/OOK/FSK modulation, encoding, structure]
    C --> D[Decode the message]
    D --> E{Fixed or rolling code?}
    E -->|Fixed| F[Replay with HackRF/Flipper -> works]
    E -->|Rolling| G[Simple replay fails -> needs advanced attacks]
  • RTL-SDR (~$25): receive only, up to ~1.7 GHz. Ideal to start (listen).
  • HackRF One: TX+RX, 1 MHz – 6 GHz, half-duplex. For transmitting (replay).
  • LimeSDR / USRP: more capable (full-duplex, better range) — professional.
  • Flipper Zero: integrated sub-GHz for common remotes (433/315/868 MHz).
  • GQRX / SDR#: visual receiver, see the spectrum and listen/demodulate.
  • GNU Radio: block framework to process signals (advanced analysis).
  • Universal Radio Hacker (URH): capture, analyze, decode, and replay signals (the key tool).
  • rtl_433: decodes hundreds of ISM sensors/devices (433/868/915 MHz).
  • inspectrum: analyze captures visually.
Ventana de terminal
# 1) listen to the spectrum to locate the frequency (or look up the device's FCC ID)
gqrx
# 2) decode common ISM sensors directly
rtl_433 -f 433920000 # doorbells, weather stations, door sensors...
# 3) capture, analyze, and replay with URH (GUI): Record -> Analysis -> Generator -> Send
urh

The classic case: a garage remote with a fixed code → you capture the “open” signal and resend it = access. With a well-done rolling code, a simple replay doesn’t work; weak implementations are vulnerable to RollJam-style attacks (jam + capture) — in your own lab only.

  • Replay (the simplest and most frequent): capture and resend a fixed command.
  • Sensor analysis (rtl_433): temperature, doorbells, weather stations, alarms.
  • Sensor spoofing/jamming: inject false readings or jam (where authorized).
  • Passive reception: ADS-B (aircraft), AIS (ships), pagers (POCSAG) — listen only.
  • Well-implemented rolling codes / challenge-response in remotes and key fobs (never fixed codes).
  • Encryption and authentication in wireless IoT protocols; anti-replay (counters, nonces).
  • Don’t rely on protocol obscurity: any proprietary protocol is analyzed with SDR.
  • Validate the integrity/origin of sensor data (don’t trust unauthenticated readings).
  • Jamming/interference detection where critical (alarms, access).
  • SDR hardware (RTL-SDR for RX, HackRF/Flipper for TX)
  • Find the target’s frequency (GQRX / FCC ID)
  • Capture the device’s signal (URH)
  • Analyze modulation/encoding/structure
  • Replay the signal (fixed or rolling code?)
  • Decode sensors with rtl_433
  • Assess rolling code / anti-replay
  • Respect legality (regulated TX, authorization)