Bitzu

312-50 ยท IoT and OT hacking

IoT architecture and protocols

IoT layers, communication models, protocols (MQTT, CoAP, Zigbee, LoRaWAN, BLE), and common weaknesses.

Key points

  • Layers: devices (sensors, actuators), gateway or network, cloud or application services, user.
  • MQTT: publish/subscribe via a broker; TCP 1883 plain, 8883 with TLS.
  • CoAP: compact request/response over UDP.
  • Zigbee: low-power mesh. LoRaWAN: long-range, low-power WAN. BLE: short-range, low-energy.
  • Weaknesses: default or hard-coded credentials, unencrypted traffic, unpatched firmware, exposed management interfaces.

Source: https://en.wikipedia.org/wiki/MQTT

Practice questions

Single choice

In an MQTT deployment, which component receives published messages and forwards them to the clients subscribed to the topic?

  1. The broker
  2. The certificate authority
  3. The DHCP relay
  4. The subscriber agent
Show answer

Answer: A. The broker

The broker is the central hub of the publish/subscribe model; publishers and subscribers never talk to each other directly. A gateway bridges networks but does not implement topic routing, and a certificate authority only issues certificates.

Select all that apply

Which are common weaknesses of IoT deployments?

  1. Factory-default or hard-coded passwords
  2. Sensitive data sent in cleartext
  3. Firmware that is rarely or never updated
  4. Mandatory per-message hardware attestation
  5. Overly strict firewall rules on every sensor
Show answer

Answer: A. Factory-default or hard-coded passwords, B. Sensitive data sent in cleartext, C. Firmware that is rarely or never updated

Factory-default credentials, plaintext protocols and unpatched firmware are the classic IoT weak points. Hardware attestation on every message and full-disk encryption on every sensor are not typical defaults, and their absence is not the usual root cause.

True or false

True or false: because MQTT uses a broker, traffic on its default port 1883 is encrypted.

Show answer

Answer: False

False. Port 1883 is plain MQTT and sends credentials and payloads in cleartext; encryption needs TLS, conventionally on port 8883.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 312-50 topics in this module