LoRaWAN
— Long Range Wide Area NetworkLoRaWAN 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.
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
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
Root key extraction and device impersonation
Credential attackKeys extracted from a device allow an attacker to derive session keys and inject uplinks as that device.
Read the keys
NwkKey and AppKey are recovered from a debug interface or firmware.
Devices with exposed debug ports.
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%)