Reverse-engineering an encrypted IoT protocol #ReverseEngineering #IoT

Scott reverse-engineered the encrypted protocol GoodWe smart meters and solar inverters use to send metrics to the cloud.

The result of my lucky dip was a GoodWe DNS G3 Inverter and a GoodWe HomeKit 1000 Smart Meter. These devices look quite slick, and so does the website. They are also popular here in Australia, so my hopes were high that it would be easy to set up local monitoring, because surely someone else had figured out how to do it.

So Scott went about hacking the system to obtain metrics on energy use locally and see how bad the security is on this “cloud-only based system”. What was found:

  • Telnet left on in a production firmware image, with credentials admin:admin.
  • nmap can crash the device hard enough to factory reset.
  • Packets sent over TCP with identifying data (serial number) in the clear.
  • The metrics seem to be poorly encrypted (identical section of ciphertext in consecutive frames).
  • Unauthenticated configuration protocol.
  • A web UI that looks like it was hacked together in an afternoon. Inspecting the source shows lots of commented out HTML blocks.

And it looks like their AES encryption key is 16 bytes of 0xff!

Check out the very thorough analysis in the post here.


Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — New Products 11/15/2024 Featuring Adafruit bq25185 USB / DC / Solar Charger with 3.3V Buck Board! (Video)

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: A New Arduino MicroPython Package Manager, How-Tos and Much More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — The 2024 Recap Issue!

Maker Business – Adafruit Daily — Apple to build another chip at TSMC Arizona

Electronics – Adafruit Daily — SMT Tip – Stop moving around!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !


No Comments

No comments yet.

Sorry, the comment form is closed at this time.