IoT Protocol Landscape and OSI Mapping
What You'll Learn
You'll understand how the diverse IoT communication protocols map onto the traditional OSI model's seven layers, enabling you to identify where security controls should be applied.
The IoT Protocol Zoo
IoT devices communicate using a sprawling ecosystem of protocols — far more varied than traditional IT networks. Unlike enterprise environments dominated by TCP/IP and HTTP, IoT spans specialized protocols optimized for constrained devices, low power, and diverse connectivity types.
Think of the OSI model as a seven-story building where each floor handles a different aspect of communication. In IoT, different protocols occupy different floors — and understanding which floor matters enormously for security.
Mapping IoT Protocols to OSI Layers
Physical/Data Link (L1-L2):
Zigbee, Z-Wave, LoRaWAN, NB-IoT, BLE (Bluetooth Low Energy), and 6LoWPAN operate here. These handle how bits physically transmit and basic framing. Security concern: radio jamming, replay attacks, pairing vulnerabilities.
Network (L3):
IPv6, 6LoWPAN (spanning L2-L3), RPL (Routing Protocol for Low-Power networks). These route packets between devices. Security concern: routing manipulation, man-in-the-middle.
Transport (L4):
UDP dominates IoT due to lower overhead than TCP. DTLS (Datagram TLS) provides encryption here. Security concern: lack of built-in reliability or authentication in raw UDP.
Application (L5-L7):
MQTT, CoAP, AMQP, HTTP/HTTPS, DDS. These define how applications exchange data. Security concern: authentication, authorization, message integrity — most vulnerabilities surface here.
Why This Mapping Matters for Security
Each layer presents different attack surfaces. A hardware attacker might exploit L1 (side-channel attacks), while a remote attacker targets L7 (MQTT injection). Defense-in-depth requires security controls at multiple layers — encrypted transport (DTLS) doesn't protect against application-layer command injection.
Key Takeaway:
IoT security requires understanding which protocols operate at which OSI layers; vulnerabilities and controls exist at every layer, and no single-layer defense suffices against the diverse IoT threat landscape.