Skip to content
Skillpedia
Security10k Β· #11985

offensive-lorawan-sub-ghz

What it does

This skill covers security testing of long-range IoT networks such as LoRaWAN, and of simple radio remotes in the 433, 868 and 915 MHz bands. It is for testers and device makers reviewing wireless gadgets.

When to use it

  • βœ“When you are reviewing a LoRaWAN sensor network for weak keys or replayable messages in an approved test.
  • βœ“When you need to assess a garage door, doorbell or smart plug that uses a simple radio remote.
  • βœ“When you are choosing hardware such as a software radio or Flipper Zero for an authorized radio review.

Skill link

https://github.com/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-lorawan-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/SnailSploit/Claude-Red/blob/main/Skills/wireless/offensive-lorawan-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

β€œCan you help me check whether the LoRaWAN sensors on our farm use weak keys, as part of an approved review?”

5 new skills a week. 1 minute to read.

How it works

The skill explains how the radio signals and network keys are structured, then describes how testers record and analyze them. It also lists common hardware options.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

LoRaWAN & Sub-GHz Attacks

LoRaWAN provides long-range low-bitrate communication for IoT β€” common in smart cities, asset tracking, and industrial telemetry. Outside LoRaWAN, the 433 / 868 / 915 MHz ISM bands host garage doors, doorbells, smart plugs, weather stations, and TPMS β€” most with weak or no crypto.

Quick Workflow

  1. Identify the band + modulation (LoRa CSS vs. simple OOK/FSK)
  2. Capture transmissions with appropriate hardware (HackRF / RTL-SDR / Flipper Zero)
  3. For LoRaWAN: capture join + uplinks; analyze key derivation
  4. For proprietary sub-GHz: demodulate, identify packet format, replay or craft

Hardware

Tool Range Use
RTL-SDR RX only, 24 MHz–1.7 GHz Cheap reconnaissance
HackRF One RX/TX, 1 MHz–6 GHz Full transceiver
Flipper Zero RX/TX, sub-GHz Quick replays, fixed-code attacks
LimeSDR / BladeRF RX/TX, wider band Higher fidelity for LoRaWAN
YARD Stick One TX-focused sub-GHz Targeted replays
LoRa-specific gateway (RAK / Heltec) LoRaWAN dual-direction Standards-compliant LoRaWAN testing

LoRaWAN

LoRaWAN is a MAC layer over LoRa physical (chirp spread spectrum). Devices either:

  • OTAA (Over-the-Air Activation) β€” derive session keys at join
  • ABP (Activation By Personalization) β€” pre-flashed keys

OTAA Join Capture

# Capture LoRa packets with HackRF + Inspectrum
hackrf_transfer -r capture.iq -f 868000000 -s 1000000 -n 60000000
# Or LoRa-specific: rak_common_for_gateway

# Decode with PHY + MAC stack
git clone https://github.com/Lora-net/LoRaMac-node
# Or use ChirpStack as a sniffing gateway

The Join-Request and Join-Accept are encrypted with the device's AppKey. With AppKey (extracted from device firmware β€” see offensive-iot):

  • Decrypt Join-Accept β†’ recover NwkSKey, AppSKey
  • Subsequent traffic decryption + injection

ABP β€” Pre-Flashed Keys

ABP devices have NwkSKey + AppSKey flashed at manufacture. Common flaws:

  • Same key across thousands of devices (vendor laziness)
  • No frame counter rollover protection β†’ replay any historical uplink
  • DevAddr predictability (sequential allocation)
# If you have NwkSKey + AppSKey + DevAddr, decode/inject with lorawan-test-tools
git clone https://github.com/IoTsec/loraserver-attack-tools
python lora_inject.py --nwkskey <NWKS> --appskey <APPS> --devaddr <ADDR>

Frame Counter Replay

Older LoRaWAN 1.0.x doesn't enforce strict frame counter monotonicity in all stacks. Replay an uplink with a different timestamp β†’ server processes as fresh.

Downlink Injection

If you control AppSKey + NwkSKey, you can inject downlinks (configuration changes, remote commands) to devices.

Sub-GHz Proprietary Protocols

Quick Capture + Replay (Flipper Zero / HackRF)

# RTL-SDR live monitor
rtl_433 -f 433.92M -A     # auto-decode many devices
gqrx                       # interactive spectrum analyzer

# Flipper Zero Sub-GHz menu: Read β†’ identify modulation β†’ capture β†’ save
# Then replay from the saved file

# HackRF capture
hackrf_transfer -r garage.iq -f 433920000 -s 8000000 -n 80000000
# Inspectrum to visualize, identify OOK / FSK, decode bits

KeeLoq (Old Garage Doors, Some Cars)

KeeLoq uses a 32-bit block cipher with a manufacturer key. The manufacturer key was extracted publicly years ago for major brands. With it:

  • Decrypt rolling code β†’ predict next valid code
  • Combined with capture-replay, take over the remote
# rolling-code-tools (research)
git clone https://github.com/AndrewMohawk/RollingPwn

Modern KeeLoq deployments (last 5 years) have rotated manufacturer keys, but legacy hardware (older garage doors, some industrial equipment) is in scope.

Fixed-Code Remotes

Many cheap garage openers, doorbells, and smart plugs use fixed codes β€” the same packet every time you press the button. Capture once, replay forever.

# Flipper Zero: Read β†’ Save β†’ Send (from saved file)
# Or with RFCat:
python -c "import rflib; ..."
# OR with HackRF:
hackrf_transfer -t replay.iq -f 433920000 -s 8000000

TPMS Spoofing

Tire-pressure monitoring sensors broadcast at 315/433 MHz with no authentication. Spoof low-pressure alerts:

# Capture legitimate TPMS
rtl_433 -f 315M -F json | grep TPMS

# Synthesize crafted alerts (custom modulator with HackRF)
# Useful for testing TPMS-aware vehicle systems or as denial-of-trust attack

Reconstruction of Unknown Protocols

# Universal Radio Hac
FAQ

What is LoRaWAN?

LoRaWAN is a low-power, long-range network used for sensors such as asset trackers and city meters.

Why do simple radio remotes matter?

Many fixed-code remotes use weak or no encryption, so their signals can be copied. The skill covers these cases for approved testing.

Which hardware does the skill mention?

It mentions tools such as RTL-SDR, HackRF One, Flipper Zero and LoRa gateways.

Details

Original description by the author

LoRaWAN and sub-GHz (433 / 868 / 915 MHz) attack methodology β€” LoRaWAN ABP/OTAA join attack, network/session key reuse, frame counter replay, downlink injection on TTN/Helium-style networks, sub-GHz protocol replay (KeeLoq garage doors, fixed-code remotes, TPMS spoofing, smart plug telemetry), HackRF / RTL-SDR / Flipper Zero workflows, signal analysis with Inspectrum / Universal Radio Hacker, and reconstruction of proprietary packet formats. Use for LoRaWAN deployments (smart cities, asset tracking, industrial telemetry), or any wireless device using the unlicensed 433/868/915 MHz bands (garag

repo: SnailSploit/Claude-Red

Popularity

GitHub stars
10k
Ranking position
#11985
License
MIT
Updated
10/12/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills