hn.today

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

kusha.me4 points1 comments
Screenshot of Dumping an AES key from a MyQ garage opener to stop rebooting when offline

The Chamberlain/LiftMaster 819LMB MyQ Home Bridge repeatedly becomes unavailable when placed on a network without internet access. It keeps trying to reach two MyQ cloud endpoints, and when those connections time out, a watchdog restarts the device or its Wi-Fi module every five to ten minutes. Redirecting the endpoint names to a local address that immediately refuses connections stops those frequent failures, but does not solve the problem: without a successful cloud-style MQTT exchange and a retained ping, the bridge still reboots about every 30 minutes.

The proposed fix is to impersonate the MyQ cloud locally. It uses an Arduino connected to the bridge’s Cortex-M4 debug pads to halt the processor and extract its serial number and TLS-PSK AES-128 key from flash memory; resistors are included to reduce the risk of damage from the Arduino’s 5V pins. Those credentials are then supplied to a Docker-hosted Mosquitto broker, and local DNS is configured to point both MyQ cloud names to that broker. A solid green light, a successful TLS-PSK client connection in the broker logs, and uptime exceeding 30 minutes are presented as checks that the bridge is working without cloud access or watchdog reboots.

Read on kusha.me1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Security

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.