ProtoStackv0.1

Interactive Protocol Visualizer

Internet of Things (IoT)Professional trackAdvancedOSI: Data Link LayerDefault Port: Sub-GHz ISM RadioStandard: LoRa Alliance Specification

LoRaWAN

— Long Range Wide Area Network

LoRaWAN is a Low Power Wide Area Network (LPWAN) protocol designed to wirelessly connect battery-operated things to the Internet across regional, national, or global networks. Using sub-GHz chirp spread spectrum radio modulation, LoRaWAN penetrates deep into buildings and travels up to 15 kilometers in rural areas.

No prerequisites — a valid entry point.Content reviewed 2026-11-18

Interactive Session: How LoRaWAN Works

Step through the packet exchange sequence between nodes.

Interactive Execution Sandbox

Interact with a live or clearly-labelled simulated instance of LoRaWAN.

Threat Model & Attack Simulation

How this protocol is attacked in practice, what defenders can see, and which control stops it.

Threat model & attack simulation

Simulated

Defensive education. Every step runs in this page; no traffic is generated or sent.

Attack library

Root key extraction and device impersonation

Credential attack

Keys extracted from a device allow an attacker to derive session keys and inject uplinks as that device.

Attackersimulated
LoRaWANtarget
Attack step 1 of 3
Read the keys

NwkKey and AppKey are recovered from a debug interface or firmware.

What a defender can see

Devices with exposed debug ports.

Impact if unmitigated

False telemetry and unauthorised downlinks.

Defences that matter
  • Protect keys in a secure element
  • Disable debug interfaces in production
  • Monitor frame counters and duplicate devices

This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.

Protocol Specification & Architecture

Key characteristics, real-world deployment patterns, and trade-offs.

Core Technical Features

  • Massive range: 2–5 km in dense urban environments, 15+ km in rural line-of-sight
  • Ultra-long battery life (10+ years on standard batteries)
  • Star-of-stars network topology via LoRaWAN gateways
  • End-to-end 128-bit AES encryption (Network Session Key & App Session Key)

Real-World Use Cases

  • Smart agriculture soil moisture and livestock tracking
  • Municipal water meter automated readings
  • Smart city parking and air quality monitoring

Advantages & Strengths

  • Enormous transmission range without recurring cellular SIM subscriptions
  • Free public community network access (The Things Network)

Limitations & Vulnerabilities

  • Very low data bandwidth (0.3 to 50 kbps) and strict regional duty cycle transmission limits (e.g. 1%)