DEF CON 23 - Marc Rogers and Kevin Mahaffey - How to Hack a Tesla Model S

DEFCONConference · 83K views · 2015 · 49:49

Open on YouTube

Security & hackingCars, EVs & motorcyclestalkdated

Why Hacker News recommends it

HN cites it as a detailed technical reference on Tesla's security design, especially the firewalling of infotainment from the CAN bus.

What it is

A DEF CON 23 talk by Marc Rogers and Kevin Mahaffey walking through the architecture of the Tesla Model S, what Tesla got right and wrong, and how the interconnected systems can be hacked. It also covers the data the car collects.

Recommended by 1 HN commenters across 1 different months, 2016 to 2018.

What Hacker News said

Recommends bradleybuda · 2018-08 · on “Former Tesla Firmware Engineer Discusses the System”

At DEF CON 23 there were two car-hacking talks that made an impression on me: one about hacking a Tesla [1] and one about hacking a Jeep [2]. FWIW, I came away thinking that the software architecture of the Tesla was light-years ahead of what Jeep (and presumably many other legacy manufacturers) was shipping: [1] [this video] [2] [LINK]

Cites sweden · 2016-04 · on “Gentoo Tesla – T2 Edition”

It is an interesting question. A while a go, 2 guys made a presentation at DEFCON with a presentation about their findings on hacking a Tesla Model S. They were able to successfully get root access to the car's system (not chroot, real full root access) and with that they were able to fully access to the car's API within Tesla OS. They even showed a video about one of the guys driving the car at low speed and the other one remotely accessing to the car's Linux shell by SSH and shutting down the whole car while the first guy was riding. The interesting thing is that for higher speeds, for example more than 50 km/h, the car seems to override any of the Linux systems and the root access becomes

Cites toomuchtodo · 2016-08 · on “This Time, Miller and Valasek Hack the Jeep at Speed”

Indeed. Sending CAN frames directly is essentially a remote privilege escalation (think sudo user with no password). One of the shining examples of this done properly is Tesla; they have a gateway that you can issue commands to over the internal network, but it alone issues the CAN commands. You cannot issue CAN commands directly. [this video]

Cites toomuchtodo · 2018-08 · on “Former Tesla Firmware Engineer Discusses the System”

Ignoring the infotainment system for this argument (as they firewall it off from CANBUS and other life critical systems [1]), I argue that their IT infrastructure is safety related, as it governs Tesla's velocity in getting patches and security fixes out to vehicles in a timely manner. Can you imagine a zero day being found in Windows with Windows Update being down? [1] [this video]

Cites Qub3d · 2018-08 · on “Former Tesla Firmware Engineer Discusses the System”

Thankfully, the critical reactive components of the Tesla vehicles do seem to be run by an RTOS -- spesifically FreeRTOS [0]. [0]: [this video]