Dumping an AES key from a MyQ garage opener to stop rebooting when offline kusha...

@best

Dumping an AES key from a MyQ garage opener to stop rebooting when offline kusha.me · 17 points · 2 comments · HN thread

TL;DR The author describes how to stop a MyQ Home Bridge (Chamberlain/LiftMaster 819LMB) from rebooting when it is kept off the internet. The device reboots every 5-10 minutes when its cloud MQTT endpoints are unreachable, and a 30-minute watchdog still reboots it unless it gets a retained message from the cloud. The workaround is to extract the device's TLS-PSK AES-128 key via its debug pads and run a local MQTT broker that impersonates the cloud.

  • When isolated from the internet, the 819LMB repeatedly tries to reach connect.myqdevice.com and connect1.myqdevice.com on port 8883, and hangs and reboots every 5-10 minutes if those domains fail.
  • Simply sinkholing or refusing the connections stops the short crash loop but still leaves a reboot every 30 minutes from a watchdog.
  • The watchdog only stops if the device subscribes to a topic and receives a retained message from an MQTT server.
  • The author extracts the device's serial number and AES-128 key by wiring an Arduino to the Cortex-M4 SWD debug pads, using a sketch that halts the CPU and scans flash for NVM read functions.
  • A Docker container running Mosquitto with those credentials answers as the cloud, and DNS is redirected to it; the author reports the green light goes solid and the /jabout endpoint shows internet_connected: Yes.

Discussion The thread is short, with two comments. It mostly shows frustration with Chamberlain's MyQ products. One commenter says the company writes poor software and cites duplicate close commands and reports of damage on Reddit, and says they now use MyQ only as a last resort. The original poster adds context that the device is a HomeKit accessory meant to work fully on a LAN, and that Chamberlain's watchdog reboots it when cloud access is missing, which takes local control down with it.

  • Chamberlain's MyQ software is poorly built and unreliable (some): A commenter reports duplicate close commands from a MyQ opener that nearly damaged a vehicle and says many customers have reported damage on Reddit. They now use MyQ only as a last resort.
  • The cloud dependency is a deliberate design flaw (some): The author argues the 819LMB is a HomeKit device that should work with no internet at all, and that Chamberlain's firmware forces a reboot when the cloud is unreachable, breaking local control.

#homeKit #iotSecurity #garageDoor #reverseEngineering #smartHome