5 ms·
Is this cutting corners on manufacturing/assembly where they're skipping installing a unique set of keys on each device?
by morkalork 8mo ago
Is this cutting corners on manufacturing/assembly where they're skipping installing a unique set of keys on each device?
- Neywiny 8mo agoI think it's about being a configuration management nightmare. If every device has a unique password, you need the decoder ring for serial number to password. However, not all processors have unique IDs. So you either need to find a way to reliably serialize each board during manufacturing and hope it stays (like a sticker/laser/printer/etc) or add a serial number chip which is cost and complexity. It's not impossible, it's just extra work that usually goes unrewarded.
- HFguy 8mo agoI'm a long way from embedded development. But I was under the impression a lot of microcontrollers these days have some ID capability built in, even some relatively low-end ones. This strikes me more as laziness than anything.
- peterus 8mo agoThis is true, for example many stm32 series have a 96 bit unique id which is derived from the lot number, wafer id and position [1]. Even the low cost stm32g0b1 series I am using has them, but they are missing from some older series. [1] https://community.st.com/t5/stm32-mcus/how-to-obtain-and-use-the-stm32-96-bit-uid/ta-p/621443 https://community.st.com/t5/stm32-mcus/how-to-obtain-and-use...
- Neywiny 8mo agoSurprisingly it's not everywhere. I'm very in embedded development and cannot count the amount of time I look for "unique" "id" etc in a reference manual and come up short. It's certainly more common than not, but you often have to design systems for the lowest common denominator.
- adrian_b 8mo agoMoreover, on any device that is connected to Internet you already have a unique MAC address on its Ethernet or WiFi interface. You can hash this unique MAC address, together with other data that may be shared with the other devices of the same kind, to generate unique keys or other kinds of credentials.
- Msurrow 8mo agoI have not knowledge of this kind of software dev/hw production, so can you please explain why the units cant just be born with a default pass and then have the setup process (which is always there) Force the owner to set a new password? Knowledge or not, this.. > It's not impossible, it's just extra work that usually goes unrewarded. .. is just not an acceptable way for business to think and operate i 2026, especially not when it comes to internet connected video enabled devices
- thenthenthen 8mo agoThis is just people working 24/7 for 50 dollars a month? Because we want cheap shit
- thenthenthen 8mo agoI am shocked really, i think this is actual law in China.
- Neywiny 8mo agoI'll answer your question with a question: how often do you see people complaining about needing setup processes vs the old way of just plug and play? There's no perfect answer that placates all sides. Things can certainly be better, but when those people win and you no longer need to have a setup process, then what? While true that in $current_year it would be nice if things were more secure, the sad truth is that most people don't care.
- Msurrow 8mo agoI agree that yes most just want PnP and basically don’t care about security. But it seemed on the posts above that there was an engineering complexity, and a robot vaccum needs local WiFi, so there will be a setup flow. Whats preventing a password selection just be part of that?
- MarkusQ 8mo ago> a robot vaccum needs local WiFi No, it doesn't. Unless it's supposed to spy on you (or "harvest training data") there's no reason it needs to phone home at all (c.f. Roombas).
- NegativeK 8mo ago> It's not impossible, it's just extra work that usually goes unrewarded. That sounds like profit motivated negligence, and it sounds like a standard justification for why Europe is going to hold companies liable.
- Neywiny 8mo agoIt is indeed. And that sucks but that's what it is. Product design is about calculated risks and trades. It's a good thing regulators are here to help because companies won't do it on their own and the general public doesn't care enough.
- jcgrillo 8mo agoWe will all owe the EU a massive debt of gratitude. Hopefully USB C was just the tip of the iceberg.
- Aurornis 8mo agoThe vulnerability was in their backend cloud structure. The backend wasn't restricting access to only devices associated with your account. > Out of sheer laziness, I connected to the Mysa MQTT server and subscribed to the match-everything wildcard topic, #. I was hoping I’d see messages from a few more MQTT topics, giving me more information about my Mysa devices. > Instead, I started receiving a torrent of messages from every single Internet-connected production Mysa device in the whole world. The devices had unique IDs, but they were all connected to one big MQTT pub/sub system that didn't even try to isolate anything. It's lazy backend development. This happens often in IoT products where they hire some consultant or agency to develop a proof of concept, the agency makes a prototype without any security considerations, and then they call it done because it looks like it works. To an uninformed tester who only looks at the app it appears secure because they had to type in their password.
- JoshTriplett 8mo ago> The vulnerability was in their backend cloud structure. The vulnerability is in having a backend cloud structure. (There are plenty of ways to provide remote access without that, and no other feature warrants it.)
- jcgrillo 8mo agoNot sure why this is being downvoted, it's a pervasive flaw across all these IoT products. See my description elsewhere here about how Haier "smart" controls work. It's completely insane, and pointless. For systems that can't fail--I include heating systems in the winter--this kind of "move fast and break shit" way of doing it is malpractice. The last thing in the entire world I want my furnace controls doing is an automatic OTA firmware update. Ever.
- JoshTriplett 8mo agoExactly. I want a "smart thermostat" that's entirely under my control, not the manufacturer's.
- dlenski 8mo agoQuite ironically, they do install a unique TLS cert and key on each thermostat, although it's done on first-wifi-connection of each thermostat, rather than pre-installed at the factory. And then the thermostat uses those keys to mutually authenticate itself with the MQTT server. It actually makes it quite tedious (not impossible :-D) to 2-way-MITM the device's connection to the server. It's just that, as @Aurornis wrote, the MQTT server itself did not have any checks to prevent sending and receiving messages to other owners' thermostats. ¯\_(ツ)_/¯ [ I've actually discovered a whole lot more details about the Mysa thermostats than what I published. Many of them can be used to subvert and reconfigure the devices in interesting ways, but only with a witting/willing device owner who has local access. So I don't feel any obligation to disclose them, although I might eventually get around to building a de-cloud-ifying tool using them: https://github.com/dlenski/mysotherm/blob/main/README.md#future https://github.com/dlenski/mysotherm/blob/main/README.md#fut... ]