\

Tesla Wall Connector bootloader bypasses the firmware downgrade ratchet

98 points - yesterday at 8:41 PM

Source
  • spacebanana7

    today at 10:09 AM

    One thing I'm really scared of is EV charger software being modified by users, hackers or bugs to pull max power at times that don't suit the grid.

    In the UK, for example 10 million EVs all pulling 7kw would overwhelm the roughly 70GW potential of the grid. Even a million EVs charging at an inconvenient time could add a 7GW draw which is enough cause a problem.

      • formerly_proven

        today at 10:17 AM

        Which we know is very likely because EVs are both slow and get poor mileage, so most of them need to be charged daily or for a longer commute even twice per day. That's also why their batteries fail so quickly, imagine charging your phone two times a day, it won't last a year.

        https://i.redd.it/dtm6zs3wkyjc1.png

    • thejazzman

      today at 1:03 AM

      PSA: If your wall connector loses wifi, it'll just throw your charging schedules out the window and turn on/off sporadically. This is especially noteworthy if you have Time of Use billing :| SET THE TIMER ON THE CAR DIRECTLY!

        • eleveriven

          today at 5:28 AM

          It also fits the broader theme here: too much important behavior seems to live in the "application layer" of the charger, while the more durable source of truth is elsewhere.

          • rblatz

            today at 2:14 AM

            I spent an hour yesterday getting the wall connector back on my wifi. Apparently last October when I added wifi 7 access points my network started working in WPA2/WPA3 mode and the wall connector wasn’t compatible with that. Ended up having to create a second SSID with WPA2 only support to get it back online.

            Supposedly the newest update fixes that, but I haven’t taken the time to test that out.

            But WiFi is shocking my fragile on these wall connectors, I’ve had a lot of trouble keeping it connected to my home network over the years.

            • a10c

              today at 3:34 AM

              or, use Home Assistant to handle your charging schedules.

              • compounding_it

                today at 1:19 AM

                >SET THE TIMER ON THE CAR DIRECTLY!

                This would open up a lot of issues to get away with not paying and charging for free.

                  • m463

                    today at 1:24 AM

                    Your comment makes no sense. The tesla wall connector is a home charging port you install in your garage.

                      • compounding_it

                        today at 5:30 AM

                        I knew this is about wall charger at home but I assumed ā€˜time of use billing’ was some kind of billing system for the charger that’s implemented.

                          • pjc50

                            today at 9:53 AM

                            That's done on the property's electricity smart meter.

                            • lexicality

                              today at 6:22 AM

                              some people have variable electrical tariffs, so electrical use in the middle of the night is usually much much cheaper than the middle of the day.

              • cryptoegorophy

                today at 6:46 AM

                Why use Tesla wall connector in a first place and not just the standard nema/dryer outlet with the Tesla cord/charger? It seems like people are overpaying for nothing.

                  • tenuousemphasis

                    today at 7:59 AM

                    I can do 48A @ 240V with my wall connector. It's also very convenient.

                • m463

                  yesterday at 11:08 PM

                  I hate the gen 3 wall connector.

                  It creates a wifi access point in your garage that you cannot turn off:

                    TeslaWallConnector_<unique-id>
                  
                  some people were able to downgrade their firmware to a version that didn't do that, but i guess this article shows telsa got rid of that ability.

                  I would love to be able to hack any firmware to disable that.

                  I also read that a connected tesla car can force an over-the-air firmware update maybe through the charging cable or wifi, but I haven't verified that.

                    • ralph84

                      today at 12:26 AM

                      The SSID stops broadcasting after the unit is commissioned, unless you're using power sharing between multiple units. In that case the SSID is used for the units to communicate.

                        • m463

                          today at 12:36 AM

                          by commissioned you mean "connect it to your home wifi and let it talk to tesla"? (i won't do that)

                          because it hasn't gone away after configuring the setup stuff (amps, etc)

                            • Rohansi

                              today at 12:54 AM

                              Mine did

                              • ralph84

                                today at 12:58 AM

                                And make sure the firmware is up to date. Mine is at 26.2.2.

                        • iugtmkbdfil834

                          today at 12:10 AM

                          Thank you. This information is not listed anywhere and I am currently getting quotes for solar panel build.

                          • yesterday at 11:16 PM

                        • mystraline

                          yesterday at 11:41 PM

                          Repeat after me:

                          An owner voluntarily downgrading firmware to gain control of your hardware IS NOT A HACK.

                          And if an adversary is doing this, then they have already breached yoir physical security.

                            • wolrah

                              today at 5:03 AM

                              This exploit is delivered through the charging cable to the wall box. These wall boxes are sometimes intentionally located in public spaces with the intent of allowing public charging, and Tesla has features specifically for that use case, so that cable is absolutely expected to be plugged in to untrusted vehicles.

                              • _flux

                                today at 6:29 AM

                                It clearly seems people have different meanings to the word, then.

                                For example, if I am able to gain root access to a WiFi access point I own, even though the vendor has tried to prevent it, then yes, I would call it a hack. To me, it doesn't matter why or who is doing the steps.

                                In fact, I believe I have never before heard someone combine the meaning of the word to be related to the ownership of the device being hacked.

                                I suspect the number of people understanding the word in your way is a minority. Redefining terms doesn't help build mutual understanding: here we are taking a word some think has negative connotations and then remove the thing they think should be cool and ok, and then suggest that this is actually the real meaning of the word. Personally I don't think this is how words should be wielded.

                                  • oneshtein

                                    today at 9:12 AM

                                    > For example, if I am able to gain root access to a WiFi access point I own, even though the vendor has tried to prevent it, then yes, I would call it a hack.

                                    Yep. The owner of the device can sue you.

                                • abofh

                                  today at 2:54 AM

                                  It's a car the charging port is a viable physical perimeter, letting people inject code at the pump is a risk of design, not user error.

                                  • zelon88

                                    today at 4:44 AM

                                    I thought the same thing. How white hat do you have to be to consider ineffective DRM a vulnerability?

                                    • kube-system

                                      today at 12:11 AM

                                      Eh, that’s a bad generalization. defense in depth is a thing and there are many cases where you’d want to protect against attackers with physical access

                                        • zelon88

                                          today at 5:36 AM

                                          This isn't designed to stop attackers with physical access. This is designed to stop casual tinkerers and shade tree mechanics.

                                          You know what isn't vulnerable? A "dumb" offline charger. You know what doesn't make any money or turn the consumer into another product? A "dumb" offline charger.

                                          If it were about physical security, the suggested fix would be to remove the communication from the port entirely.

                                          Companies shouldn't get to make something simple and secure into something inherently insecure and then iterate security into it. Like drive by wire steering, or brakes. Nobody asked for these things and if you ask ANYONE who works on, builds, or actually enjoys cars the consensus is NOBODY wants it.

                                          But there are enough sophomoric, pedestrian car owners out there who gawk at the senseless overdeployment of technology and think "this is so convinient" and don't see it as 1) regulatory barrier building and gatekeeping 2) enabling vendor lock in 3) overcoming right to repair legislation. So the knowledgeable and enthusiastic voices of reason who care about cars get drowned out by the hoard of pedestrian geeks who couldn't imagine operating a car without at least a 16 inch touchscreen.

                                          In security, the best defense is not introducing a vulnerability at all. There is value in having less code. For example, if your PaaS doesn't collect user SSNs... then it can't lose SSNs in a breach.

                                          The question here should not be "why is this not secure." The question should be "why does this even need to be secure in the first place?" We have a very simple task to do and we've complicated it so much we've introduced vulnerability that didn't exist previously.

                                          • AlotOfReading

                                            today at 4:03 AM

                                            Any system where your defense in depth involves UDS is pretty much guaranteed to be broken though.

                                        • today at 12:12 AM

                                          • pram

                                            today at 2:00 AM

                                            They shouldn’t be able to do it through the charging cable though lol

                                            • taneq

                                              today at 12:14 AM

                                              Arguably it’s a crack. A good one, though.

                                              • aussieguy1234

                                                today at 3:02 AM

                                                I mean its still technically hacking, but not all hacking is bad/illegal.

                                                • today at 5:31 AM

                                              • 486sx33

                                                yesterday at 10:39 PM

                                                Why would I want to hack the bootloader for a wall charger? Asking for a friend

                                                  • culi

                                                    yesterday at 10:53 PM

                                                    You can bypass vehicle restrictions. You could potentially then use it for J1772-compatible EVs (like a Chevy Bolt or Nissan Leaf)

                                                    Or just for the spirit of actually owning the shit you pay for.

                                                      • m463

                                                        yesterday at 11:16 PM

                                                        I don't think there are any restrictions. I think j1772 might just work with an adapter (adapt from the nacs plug to the j1772 plug)

                                                        I thought tesla even made a j1772 native wall connector.

                                                          • mprime1

                                                            today at 2:34 AM

                                                            There are some restrictions.

                                                            I had the foolish idea of installing a Tesla charger at home to charge my Bolt. I’ve been unable to ever use it.

                                                            The wall charger works fine with Teslas. My car and adapter charge fine at Tesla superchargers.

                                                            But the home Tesla charger refuses to charge my Bolt. (Yes I disabled vehicle restrictions and tried all sorts of combinations of settings for weeks before giving up. Tesla support was useless of course)

                                                            Restriction or bug, same difference.

                                                              • cogman10

                                                                today at 7:37 AM

                                                                Really gross. I have a gen 1 charger and it's dumb as bricks. Basically just a giant relay.

                                                                I guess I could see why you might want to restrict who can use your charger, but I really prefer the "dumb as bricks" version I currently have.

                                                            • akerl_

                                                              yesterday at 11:35 PM

                                                              Can confirm. I've used an adapter to charge 2 different non-Tesla cars off my wall connector.

                                                              • adamsb6

                                                                yesterday at 11:52 PM

                                                                I use my Gen 1 Tesla Wall Connectors to charge my NACS-native Lucid Gravity.

                                                            • decimalenough

                                                              today at 12:11 AM

                                                              What vehicle restrictions? This is for the Tesla home charger, not Superchargers.

                                                                • culi

                                                                  today at 3:00 AM

                                                                  Older models are locked to Tesla vehicles. Tesla has regional restrictions in many parts of the world.

                                                                  You also never know when there could be another update and your region becomes one of those that has these restrictions.

                                                                  • Rebelgecko

                                                                    today at 3:12 AM

                                                                    Some don't support j1772 adapters with non Tesla vehicles

                                                                    • brianwawok

                                                                      today at 1:54 AM

                                                                      Exactly. Charge both my Tesla and my leaf with mine.

                                                                  • ashoeafoot

                                                                    yesterday at 11:34 PM

                                                                    [dead]

                                                                • kotaKat

                                                                  today at 10:08 AM

                                                                  Publicly accessible piece of equipment that could have a pseudo-trusted connection to an internal network (since they're connected to the Tesla Cloud(tm)).

                                                                  Picturing someone rolling up to a charger outside of a large office building, 'plugging in', exploiting the charger via the communications, then using the charger to pivot inwards.

                                                                  • fc417fc802

                                                                    today at 4:52 AM

                                                                    To play doom on it?

                                                                    • NewJazz

                                                                      yesterday at 11:32 PM

                                                                      Implement your own payment provider

                                                                  • today at 5:25 AM