News for hackers. Stuff that matters.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by cmiller1 on Tuesday January 15, 2019 @11:40AM (#18912425)
If the OTA updates are compromised or some other remote vulnerability is found I'd consider that a major flaw. However, some of the Tesla "hacks" I've seen show up in the past involve plugging a laptop into the inside of the car. If you've got physical access to the inside of ANY car you can do some serious damage. Doesn't take a "l33t hax0r" to cut some brake lines or undo an oil pan plug.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by untog on Tuesday January 15, 2019 @12:05PM (#18912676)
I'd argue those aren't quite equivalent. If I was the passenger in a Tesla taxi I might be able to plug something in to add tracking software or who knows what to the car without the driver knowing. As autopilot improves I might be able to tell the car to up and drive over to my house in the middle of the night. Not exactly the same as cutting brake lines.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by danpalmer on Tuesday January 15, 2019 @12:07PM (#18912702)
The compute module is under the back seat in the Model 3 I believe. That's all of the major components, might be tricky but someone who doesn't care about damaging the seat may well be able to get in unnoticed while riding in a Tesla taxi.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by thebluehawk on Tuesday January 15, 2019 @01:00PM (#18913276)
It's in the dash. You have to remove the glovebox and several pieces of the dash. For some reason I think the taxi driver would notice you disassembling his car.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by Joky on Tuesday January 15, 2019 @12:13PM (#18912760)
It is behind the glovebox
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by gibolt on Tuesday January 15, 2019 @12:14PM (#18912771)
Is access to it lockable? Would be useful for a taxi usecase
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by billhathaway on Tuesday January 15, 2019 @04:48PM (#18915751)
In the model 3, the only way to access the glovebox is to press the button on the console. I'm sure this would be disabled when in self-driving taxi mode.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by hathawsh on Tuesday January 15, 2019 @01:12PM (#18913390)
FWIW, the Tesla model 3 has an internal camera (probably more than one) that Tesla probably plans to use to observe the occupants when in self-driving taxi mode. I think the camera would deter most high tech vandals.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by sixstringtheory on Tuesday January 15, 2019 @01:56PM (#18913801)
Just remeber when you’re recording your dummy loop to play back while you pwn, make sure no flies land on the camera lens!
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by ex3ndr on Tuesday January 15, 2019 @12:23PM (#18912864)
Sorry, but you can't do anything with german cars (BMW, Audi and Mercedes) - everything is end-to-end encrypted. This is not the case for almost all other vendors that usually use unencrypted CAN bus.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by Latteland on Tuesday January 15, 2019 @12:57PM (#18913248)
This is simply not true. Here's a recent set of fixes - now because they don't have over the air updates or free ones, how many people will ever get their cars updated: "Researchers said they were able to combine the 14 flaws to escalate their access to the car's inner CAN bus".

https://www.bleepingcomputer.com/news/security/bmw-fixes-sec...

Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by ex3ndr on Tuesday January 15, 2019 @03:07PM (#18914523)
My bad, i thought that BMW is almost the same as Mercedes, it turns that it is not. Mercedes doesn't have such flaws by design - there are no writable connections from media and can bus to steering, engine, gearbox etc. And everything is encrypted there (unlike CAN). I expected that BMW is same as Mercedes (since they use same flexray chips), but it seems that BMW screwed up their setup.
Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by bri3d on Tuesday January 15, 2019 @02:57PM (#18914396)
Surprisingly little on VW AG CANbus is encrypted, I'm not sure where you're getting this idea. I haven't worked with BMW and Mercedes since around 2010 but I doubt they're much different.

I have written my own ECU flashing tool for Simos18 as well as a message injection system for the VW/Audi MQB platform (similar to the commercially available PolarFIS product). Really the only protection at all is that ECU flash files are encrypted in transit (on dealer DVDs) and over the wire, but with a fixed AES key and IV which is present in plaintext on the flash once the file is written. The CAN gateway messages are generally not encrypted, both over the infotainment CANbus and the powertrain CANbus.

Almost all cars are nearly completely insecure once you have interior physical access - which, IMO, is mostly OK as long as the bus wiring is in a reasonable location inaccessible to someone like a taxi passenger.

What is more interesting is the prevalence of head units with wireless or remote access - over 3G, Bluetooth, and WiFi. Compromising these hosts (and then finding a pivot or escalation between the infotainment bus and the powertrain bus via the gateway) is an interesting attack vector.

Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by ex3ndr on Tuesday January 15, 2019 @03:02PM (#18914457)
I tried to hack my Mercedes, but CAN bus is really useless as it doesn't have anything usable and everything is encrypted over FlexRay and there are not easy way to hack essential parts of the car (unlike CAN bus in say Ford).

May be i was wrong, but there are nothing on the CAN bus in latest generations of Mercedes.

Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by bri3d on Wednesday January 16, 2019 @08:15PM (#18927434)
I didn't know that FlexRay had made such inroads and I do apologize - I balked at your mention of Audi because I have personal experience there but it turns out I was just familiar with the one German place FlexRay hasn't reached yet!

It does seem like most commodity FlexRay systems are still hackable although it's certainly harder than CAN where you can just attach a node and start spewing garbage from whichever address you'd like: https://brage.bibsys.no/xmlui/bitstream/handle/11250/2453093... (I'd expect all modern BMWs to be similar or identical to this MINI for cost reasons, although as evidenced I may be surprised!).

I still haven't found a robust use of end to end encryption anywhere in an automotive application - even the "most protected" routines like ECU flashing seem to be protected by weak XOR/known-secret seed/key security in tandem with symmetric cryptography using fixed key material.

Re:Pwn2Own Vancouver 2019: Tesla, VMWare, Microsoft, and more by ex3ndr on Thursday January 24, 2019 @05:54PM (#18993892)
I tried to find anything how to decrypt FlexRay paper your provided, but found only very limited observable information.

Looks like it is AES-CBC with static IV, not very good, but not that bad. Still very very far from hackable. Even if you will be able to guess AES key (somehow) there are no way to hack asymmetric keys. Sure you can leak them during delivery of firmware, but i really feel that this is not the case for Mercedes. Also that's how they make money (and provide security) - lock down access to everything.

At AUTOSAR encryption docs there are RSA and ED25519, that is very good encryption obviously. (https://www.autosar.org/fileadmin/user_upload/standards/clas...)