Skip to content
← RegistryDossier · 5 steps · 4 edges

Open MQTT broker → smart-estate takeover

Shodan-indexed MQTT broker on TCP/1883 with no auth. Subscribe to '#' to harvest every device topic; publish to relays/locks/lights/thermostats.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: target organisation runs an MQTT broker (Mosquitto / EMQX) exposed publicly without auth — a depressingly common SMB / industrial config.

§ Steps

  1. 01
    Subscribe with retained payload backdoorInitial Access
    T1078Valid Accounts
  2. 02
    Enumerate device topicsDiscovery
    T1087Account Discovery
  3. 03
    Shodan: port:1883 anonReconnaissance
    W-RECON-API-DISCOAPI Endpoint Discovery
  4. 04
    mosquitto_sub -h <ip> -t '#'Initial Access
    IOT-MQTT-OPENMQTT Broker Open / No Auth
  5. 05
    Publish to control topics (relays / lights / locks)Impact
    OT-MODBUS-WRITEModbus TCP Write to PLC

§ References

§ Frequently asked

What is the "Open MQTT broker → smart-estate takeover" attack path?
Shodan-indexed MQTT broker on TCP/1883 with no auth. Subscribe to '#' to harvest every device topic; publish to relays/locks/lights/thermostats. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Subscribe with retained payload backdoor (T1078) — a initial access primitive. Assumed environment: target organisation runs an MQTT broker (Mosquitto / EMQX) exposed publicly without auth — a depressingly common SMB / industrial config.
What is the final impact of this kill-chain?
The final step lands on Publish to control topics (relays / lights / locks) (OT-MODBUS-WRITE), which falls under Impact. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers