News for hackers. Stuff that matters.
Re:Tesla Model S Ethernet Network Explored by jcdavis on Friday April 04, 2014 @07:48PM (#7535204)
No way is the drive control software is running linux, its almost certainly running on its own embedded system.
Re:Tesla Model S Ethernet Network Explored by mitchellh on Friday April 04, 2014 @07:55PM (#7535229)
Absolutely, I agree, but the software update mechanism is somehow able to update or interface with that system. If you're able to jailbreak _that_, then its one less barrier in the way of taking over the drive control.
Re:Tesla Model S Ethernet Network Explored by viraptor on Friday April 04, 2014 @08:37PM (#7535424)
I'm sure only signed updates are allowed. Same as with intel microcode updates and most firmwares. They'd be highly irresponsible if jailbreaking was left possible.
Re:Tesla Model S Ethernet Network Explored by jamesaguilar on Friday April 04, 2014 @09:12PM (#7535550)
Nobody intends jailbreaks to be possible. It's done through exploiting bugs. And saying it'd be highly irresponsible to write a bug is like saying it'd be irresponsible to use the bathroom. It may stink, but everyone does it.
Re:Tesla Model S Ethernet Network Explored by viraptor on Friday April 04, 2014 @09:25PM (#7535591)
I'm aware these are just bugs, but there's a huge difference between iOS/android (let's keep it fairly secure, if anyone breaks it we'll release a fix... maybe, noone really cares) and car's system (probably at the level of: holy shit this cannot run untrusted code, even if that means adding trusted execution module that prevents booting if there's any unsigned byte present).
Re:Tesla Model S Ethernet Network Explored by evv on Friday April 04, 2014 @09:21PM (#7535577)
Sure, I agree, but what system checks the signature? A responsible engineering team would have a dedicated piece of hardware for that. For decent security, it would need to physically sit between the untrusted, internet-connected machine and the embedded hardware.

Not to mention that there must be some key floating around Tesla that can be used to completely reprogram any Model S from anywhere.

Its not the first time a company has needed to privately secure a key, but this time there's a lot more at stake. I wonder what the privacy success rate is for companies with highly-sought-after keys like that. Over a long period of time, the chance of a key leak has got to be pretty high.

Re:Tesla Model S Ethernet Network Explored by viraptor on Friday April 04, 2014 @09:31PM (#7535612)
> For decent security, it would need to physically sit between the untrusted, internet-connected machine and the embedded hardware.

TPM style solutions already exist. Keys burned into the chip + verification at boot should do most of the work.

> there must be some key floating around Tesla that can be used to completely reprogram any Model S from anywhere.

It could be something more interesting. A set of keys where signature requires N out of them? Even if there is some master key, they wouldn't keep it on a node connected to the network (one would hope...) Some hardware crypto-box maybe?

Re:Tesla Model S Ethernet Network Explored by TeMPOraL on Saturday April 05, 2014 @05:58AM (#7536575)
> Even if there is some master key, they wouldn't keep it on a node connected to the network (one would hope...) Some hardware crypto-box maybe?

I imagine Elon sending the only copy to space on one of the recent SpaceX launches, so that they can deorbit it when needed, but to steal it, you'd actually have to go up there and find it ;).

Re:Tesla Model S Ethernet Network Explored by TeMPOraL on Saturday April 05, 2014 @05:54AM (#7536563)
Jailbreaking is always possible, period. It's only matter of trying hard enough, and (un)fortunately, it's usually enough for one person to put the effort once, and then everybody can use the results.
Re:Tesla Model S Ethernet Network Explored by mikeash on Friday April 04, 2014 @09:11PM (#7535549)
Lots of systems are built to only allow signed updates, but bugs often allow bypassing that. If you can exploit the existing firmware, you can effectively load new ones. That's how iOS jailbreaks work despite Apple's attempt to only allow booting an Apple signed OS.
Re:Tesla Model S Ethernet Network Explored by mschuster91 on Friday April 04, 2014 @08:04PM (#7535268)
...which you can hack, as all car systems are connected by the CAN bus, and people already have exploited buffer overflows in car radios, in turn giving access to the CAN bus, and unlocking the vehicle.
Re:Tesla Model S Ethernet Network Explored by Mister_Snuggles on Friday April 04, 2014 @07:58PM (#7535241)
You are correct.

According to the article, the car's network consists of three devices - the centre console, the dashboard, and one unknown device. There's no way that the whole car has only three computers.

My guess is that this ethernet network is only for the user interface. I'd also guess that the unknown device serves as a gateway (and, hopefully, a firewall) between the critical systems of the car and the car's UI.

Re:Tesla Model S Ethernet Network Explored by mschuster91 on Friday April 04, 2014 @08:05PM (#7535272)
Firewall? The CAN bus interfacing with the core vehicle components assumes no access controls or anything. Any device connected to it is inherently trustable, no questions asked.
Re:Tesla Model S Ethernet Network Explored by Gnewt on Friday April 04, 2014 @09:03PM (#7535525)
I think the commenter you replied to was inferring that the whole CAN bus was not accessible via the Ethernet network.
Re:Tesla Model S Ethernet Network Explored by mschuster91 on Friday April 04, 2014 @10:45PM (#7535764)
Get ssh access to the box connected to the CAN bus and boom, you have access.

There must be at least one of those connected because Tesla is able to remote-unlock your vehicle.

Re:Tesla Model S Ethernet Network Explored by hengheng on Saturday April 05, 2014 @08:32AM (#7536840)
There are usually discrete CAN bus firewalls that sit between controllers that are explicitly programmable, and the bus. They might be ASICs, microcontrollers or FPGAs, but there's no way into the mfrom the network. The only attack vector onto the bus is to stab the car with a sharp knife until you have the PCB in your hands, at which point you have owned the car anyways.
Re:Tesla Model S Ethernet Network Explored by hamiltonkibbe on Friday April 04, 2014 @09:18PM (#7535570)
Unless someone re-wrote the kernel to be MISRA-compliant...

MISRA Compliance...Coming soon in Ubuntu 149.04 Zany Zealot!!</s>

Re:Tesla Model S Ethernet Network Explored by XorNot on Saturday April 05, 2014 @07:36AM (#7536720)
Depends what level we're talking about surely? SpaceX have their own real time Linux which they do use on rocket systems - stands to reason they might bring a similar idea over to automotive systems.
Re:Tesla Model S Ethernet Network Explored by eik3_de on Friday April 04, 2014 @08:20PM (#7535343)
likely using a real time os like qnx/vxworks for the more critical stuff.