SlideShare a Scribd company logo
Tesla Hacking
why not
Jasper Nuyens

jasper@linux.com

+32478978967

Managing Director 

Linux Belgium

http://www.linuxbe.com

Very interested in EVs since 

Tesla.

Made money with Free and

OpenSource Software 

Training and Consultancy
Content
1. Disclaimer and the obvious questions

2. The car

3. The mission

4. Components and network layout

5. How to access

6. Hacks performed by other people

7. Hacks performed by me

8. How ‘hacker friendly’ are Tesla Service and Elon
Musk?

9. Other questions

10. Q&A
1. Disclaimer and the
obvious questions
Disclaimer

- I am a Tesla customer, not a Tesla supplier or employee

- Tesla hacking could be dangerous: it is a +2t car with electric
propulsion, electronically steered and with a high voltage
battery. Yet all drive controls keep on working even

when 2 Linux systems are restarted during driving.

- Uncertain what the level of ‘endorsement’ is by Tesla, both
officially and unofficially, we are optimistic :)
2. The car
Model X, Enhanced Autopilot 2.0

75kWh battery, premium interior, towing package…
2. The car
“Once you drive electric, there’s no going back”
Range: officially about 320km

in practice between 230 and 350km

decreases range: high speed, cold weather

never having to go to the petrol station

start ‘full’ every morning

Supercharging network for long distance: charges at 500km per
hour (120kW); no waiting required (lunch, toilet,…) 

Ok to drive 1000km per day.

Autopilot: not fully self driving yet, but improving (slowly),
newest generation of software is just starting to learn.
3. The mission
Tesla’s mission is: “Accelerate the world's 
transition to sustainable energy.”

In our case, we drove 38.000 km in 1 year with our Model
X. We generated the electricity from our solar roof. This
avoided air pollution of: 8755kg CO2

I used to point to the ecological footprint of production, but
that’s about the same with regular cars versus electric cars.
And Tesla doesn’t use cobalt from Congo.

Nor ‘real’ leather.

Obviously it’s better for the environment to just walk 

or bike.
4. Components and
network layout
- Instrument Cluster (ic) behind steering wheel

192.168.90.101
- Big screen (cid) 

in the middle

192.168.90.100
- Gateway (gw)

192.168.90.102
- Autopilot (ape)

192.168.90.103
- lb (ape gw)

192.168.90.104
4. Components and
network layout
Instrument Cluster (ic) behind steering wheel

192.168.90.101

Custom version of NVidia Tegra 2 SoC

cat /proc/cpuinfo
Processor : ARMv7 Processor rev 0 (v7l)
processor : 0
BogoMIPS : 897.84
processor : 1
BogoMIPS : 897.84
Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x1
CPU part : 0xc09
CPU revision : 0
Hardware : Tegra P852 SKU8 C01
Revision : 0000
Serial : 1f78400042408317


Boots squashfs compressed read-only filesystem, /var is writeable

Steering wheel buttons are attached to the ic and the input is sent 

over Ethernet using the (undocumented) ‘Vehicle API’

Settings are stored in sqlite3 db
4. Components and
network layout
Massive multimedia 19”screen (cid) in the middle of
the car

192.168.90.100
NVIDIA quad core (till last month - new cars have it replaced
with Intel based board, like in the Model 3)



Includes Qt based Web browser

Runs Spotify and allows to control most car settings, doors
and so on…
4. Components and
network layout
root@ic:~# nmap -v -p 1-65535 -sV -O -sS -T5 192.168.90.100
Not shown: 65090 closed ports, 419 filtered ports
PORT STATE SERVICE VERSION
22/tcp open ssh OpenSSH 5.5p1 Debian 4ubuntu4 (Ubuntu Linux; protocol 2.0)
53/tcp open domain dnsmasq 2.78
111/tcp open rpcbind 2 (RPC #100000)
2049/tcp open nfs 2-4 (RPC #100003)
4030/tcp open unknown
4032/tcp open unknown
4037/tcp open unknown
4050/tcp open unknown
4060/tcp open unknown
4070/tcp open unknown
4090/tcp open omasgport?
4092/tcp open unknown
4094/tcp open unknown
4096/tcp open bre?
4102/tcp open unknown
4110/tcp open unknown
4160/tcp open unknown
4170/tcp open unknown
4220/tcp open vrml-multi-use?
4280/tcp open unknown
4500/tcp open sae-urn?
20564/tcp open unknown
25956/tcp open unknown
43164/tcp open nlockmgr 1-4 (RPC #100021)
43427/tcp open status 1 (RPC #100024)
43546/tcp open mountd 1-3 (RPC #100005)
4. Components and
network layoutcat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 9 (v7l)
BogoMIPS : 1795.68
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 9
processor : 1
model name : ARMv7 Processor rev 9 (v7l)
BogoMIPS : 1795.68
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 9
processor : 2
model name : ARMv7 Processor rev 9 (v7l)
BogoMIPS : 1795.68
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 9
processor : 3
model name : ARMv7 Processor rev 9 (v7l)
BogoMIPS : 1795.68
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x2
CPU part : 0xc09
CPU revision : 9
Hardware : NVIDIA Tegra SoC (Flattened Device Tree)
Revision : 0000
Serial : 0000005E1XXXXXXX
4. Components and
network layout
Gateway

192.168.90.102
Runs FreeRTOS on Freescale MPC5668G

592 KB embedded RAM

Is attached to the 6 CAN-busses:

- Trunk, doors,…

- Vehicle speed, engine speed,…

- Chassis

- BFT

- ODBII
4. Components and
network layout
Gateway

192.168.90.102
firmware name: gtw.hex

located on the sd card 

of the CID

In the past, it contained in clear text the (unique) pw to get
acces. Was a ‘point of entry’, closed by Tesla.
SMALL PROBLEM
Unaligned interests between Tesla and Hackers for
now:

- if a new exploit is discovered by creative car owners, and
Tesla finds out how, they close the entry point.

GREAT!

BUT NOT GREAT if it’s the only way to gain access.

We hope in the future Tesla will allow owners a simple or
controlled way to gain root.
5. How to access
Which data paths exist?

Internet:

- nightmare of Elon Musk

- access from the Tesla Android or IOS App

- mothership.tesla.com

Internal Ethernet network:

- physical connection below CID for Service Centers

- physical connection between IC and CID

CAN busses:

- typical ‘old school car modding’, will probably dissapear
5. How to access
5. How to access
5. How to access
5. How to access
5. How to access
Careful with the special
connector which provides
power and more (click
mechanism)!
5. How to access
Experiment with how the wiring to the 

Ethernet is done.
5. How to access
Fakra?

4 Ethernet 

wires:

green, orange

green/white

orange/white

Test: scroll

volume
5. How to access
5. How to access
Better (version 2):
5. How to access
1st way:
Ethernet (Fakra) from CID to switch

Ethernet (Fakra) from IC to switch

Extra ethernet cable below CID for attaching laptop

Ethernet cable for Raspberry Pi for wired and/or
wireless network

Raspberry Pi allows to modify stuff ‘permanently’
without changing something to the rootfs

Easy access at a side panel to ‘reverse’ all changes
(before going back to Tesla Service)
5. How to access
2nd step:
Reverse ssh tunnel directly from CID

-> allows hacking in bed and on holiday :-D

-> allows a chrooted ubuntu on a USB stick (with a
powered USB hub).
6. Hacks performed by
other people
Tesla itself created ‘Easter Eggs’ like Model X
Chrismas Tree, Mars driving map, drawing app,…

3 minute movie

https://www.youtube.com/watch?v=1fmm6Hg7k1U
6. Hacks performed by
other people
All IC’s can be accessed using the same (leaked) ssh key
for the root account (once you are on the Ethernet network
between IC and CID). Might not remain so after an update?

Ethernet port below CID is only enabled after mothership
opens it for Tesla Service through their

own cryptographically signed applications/internal

network.

Access from IC to CID is restricted (was a dead end).
6. Hacks performed by
other people
Replacing an image on Instrument Cluster
6. Hacks performed by
other people
Playing a movie on the central display (first version)
https://www.youtube.com/watch?v=c1Kmqz9UyaE
6. Hacks performed by
other people
Replacing an image on Instrument Cluster (1st gen MS)
7. Hacks performed by me
Replacing lots of images ‘subtle’ to add the Linux
Belgium logo.
7. Hacks performed by me
Replacing lots of images ‘subtle’ to add the Linux
logo - and a ‘peace’ sign.
7. Hacks performed by me
Images stored in 

/usr/tesla/UI/assets/night/car/modelx/

No permanent changes are made: small script to bind
mount the individual files from /var/added and
relaunch the Qt based IC process (beware of wife).

Automatically launched when rpi starts and re-verifies
every minute out of crontab.

root@ic:~# crontab -l
* * * * /teslascript.sh > /dev/null 2>&1
7. Hacks performed by me
cat /teslascript.sh
#!/bin/bash
nohup ssh -i /root/id_dsa root@192.168.90.101 bash /var/added/addedtotesla.sh &
ON IC:
bash /var/added/mount-modfiles.sh
cat mount-modfiles.sh
#!/bin/bash
#if an argument is provided multiple directories are allowed
#first umount
for bindmount in $(mount | grep bind | awk '{ print $1 }')
do
umount $bindmount
done
cd /var/added/modfiles$1
for modfile in $(find . -type f)
do
mount --bind $modfile /$modfile
done
7. Hacks performed by me
Gives:
mount
/dev/mmcblk3p3 on /var type ext3 (rw,noexec,nosuid,nodev,data=ordered,barrier=1,commit=20)
/dev/mmcblk3p4 on /home type ext3 (rw,noexec,nosuid,nodev,data=ordered,barrier=1,commit=20)
none on /var/run type tmpfs (rw)
none on /var/lock type tmpfs (rw)
cid:/opt/navigon on /opt/navigon type nfs (ro,noexec,nosuid,nodev,nolock,soft,fg,intr,retry=1,retrans=10,addr=192.168.90.100)
/var/added/modfiles/home/tesla/.Tesla/data/QtCarClusterSettings.db on /home/tesla/.Tesla/data/QtCarClusterSettings.db type
none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/doors/trunk_closed_paint.png on /usr/tesla/UI/assets/night/car/
modelx/doors/trunk_closed_paint.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/doors/trunk_open.png on /usr/tesla/UI/assets/night/car/modelx/doors/
trunk_open.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/drive/body_paint.png on /usr/tesla/UI/assets/night/car/modelx/drive/
body_paint.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/hero/frunk_open_paint.png on /usr/tesla/UI/assets/night/car/modelx/
hero/frunk_open_paint.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/hero/frunk_closed_paint.png on /usr/tesla/UI/assets/night/car/modelx/
hero/frunk_closed_paint.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/top/frunk_open.png on /usr/tesla/UI/assets/night/car/modelx/top/
frunk_open.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/top/frunk_closed_paint.png on /usr/tesla/UI/assets/night/car/modelx/
top/frunk_closed_paint.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/park/car_paint.png on /usr/tesla/UI/assets/night/car/modelx/park/
car_paint.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/ghost/body-5.png on /usr/tesla/UI/assets/night/car/modelx/ghost/
body-5.png type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/about/badge_model_x.png on /usr/tesla/UI/assets/night/about/badge_model_x.png
type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/cluster/background_noise.jpg on /usr/tesla/UI/assets/night/cluster/
background_noise.jpg type none (rw,bind)
/var/added/modfiles/usr/tesla/UI/assets/night/cluster/hi_res/badges/badge_model_x.png on /usr/tesla/UI/assets/night/cluster/
hi_res/badges/badge_model_x.png type none (rw,bind)
7. Hacks performed by me
And then the script does:
killall -HUP QtCarCluster
The monitoring on the IC will restart the process fairly rapidly (beware
of wife if you do this while driving)
7. Hacks performed by
me
Images stored in 

/usr/tesla/UI/assets/night/car/modelx/

No permanent changes are made: small script to
bind mount the individual files and relaunch the Qt
based IC process (beware of wife).

7. Hacks performed by me
7. Hacks performed by me
Next step…

- Color animation script!

cat moonshine.sh

#!/bin/bash
export DISPLAY=:0.0
while true
do
for color in rgamma ggamma bgamma
do
for gamma in 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
do
xgamma -${color} $gamma 2> /dev/null
sleep 0.1
done
done
done
https://www.youtube.com/watch?v=XfkuS-ypUTU
7. Hacks performed by me
Discovered:

Sound is sent over the Ethernet network :)

cat	gameofthrones.wav | nc 192.168.90.100 4102
Possibility for denial of service attack? (yet not practical)

Special sound format needed: 

file park_assist_red_repeat.wav
park_assist_red_repeat.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 48000 Hz
RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 48000 Hz
Something like this: 

sox -S --norm gameofthrones-orig.wav -c 1 -r 48000 gameofthrones-good-format.wav 
reverse silence 1 0 0.05 reverse 
pad 0 0.100
7. Hacks performed by me
Discovered:

- Every day a new ‘token’ received in:

/var/etc/saccess/tesla1 

- SQLite3 database containing settings

/home/tesla/.Tesla/data/QtCarClusterSettings.db

sqlite3 QtCarClusterSettings.db
sqlite> select key, quote(value) from data;
select key, quote(value) from data where key='DataValues/GUI_developerMode';
DataValues/GUI_developerMode|X’000000010000'
UPDATE data SET value=X'000000010001' WHERE key='DataValues/GUI_developerMode';
Might be GPS-location locked?
7. Hacks performed by me
Root on CID
Obtained though a - now patched - way during an upgrade
mechanism to perform commands on the CID; extracting the
daily changing security token. 

Thanks to someone on TMC forum for helping me!

CID has an Internet connection (through usb-connected ‘parrot’).

-> reverse ssh tunnel for easy remote access

-> extra backdoors to prevent becoming locked out as a result of
an update

Only /var is writeable
7. Hacks performed by me
Root on CID
CID has 2 USB connections in the central display

-> allows to run ARM/Ubuntu in a mounted chrooted
environment

Big display is not rotated at kernel level; QT application
is written rotated.

Fixed with running X applications in a rotated Xephyr
(nested X server).
7. Hacks performed by me
Root on CID
Sound possible with gstreamer.

Possible to display messages on the CID
7. Hacks performed by me
Root on CID - romance mode
For the 4th anniversary of being married to my sweet
wife, i put this into crontab:

*/15 * * * * bash /var/added/romance_mode.sh >/dev/null 2>&1
Executing:

bash /var/added/speak "Kissy, kissie"

/disk/usb.*/freedomev/talk "I love you, Baby!"
7. Hacks performed by me
Root on CID
Romance Mode
https://www.youtube.com/watch?v=w-gLSPzLo6Q
7. Hacks performed by me
Goals
Integrate touchscreen driver and build application
launcher with free software repository

www.FreedomEV.com
www.FreedomEV.com/wiki
www.github.com/jnuyens/freedomev
“Download/extract the tarball to a usb stick, add
one crontab entry in the CID as root and enjoy the
power of the OpenSource community”
7. Hacks performed by me
Goals
Integrate anbox to run Android apps like Waze on
the CID

Allow anybody to contribute fun stuff back easy to
package and distribute.

Fun, Fun, Fun!
8. How ‘hacker friendly’ are
Tesla Service and Elon Musk?
Elon Musk has tweeted a few times he likes people
to tinker with his cars.

My Tesla Service rep stated it’s “officially not
allowed” but they like my work and have been very
supportive (within limits)
8. How ‘hacker friendly’ are
Tesla Service and Elon Musk?
Is Dell stopping support for a motherboard problem
with a server if you replaced the hard drive
yourself? No. Yet, Tesla Service are ‘car people’
instead of ‘Linux Hackers’.

I am honest about stuff I broke myself.

1) too many screws after reassembly

2) I broke a small plastic cover

3) I broke the upgrade mechanism
8. How ‘hacker friendly’ are
Tesla Service and Elon Musk?
I am not interested in doing illegal things like:

- changing the VIN number (it might help stolen car
sales)

- faking the mileage

- abusing the (free) data usage

I prefer also not to:

- mess with the autopilot (I prefer to live ;)

- mess with the drive motor steering
9. Other questions
“Long tailpipe Myth”: 

Driving electric on coal generated electrity.

-> no grid is 100% coal, it’s always a small minority

-> would still be far less CO2 including counting for
distribution (because ICE cars are so inefficient)

“How to go on holiday”:

- At home in the morning it’s always full

- Never visit petrol station

- Supercharging network for long distance; charging at
500km per hour, so driving 1000km is confortable per
day without any waiting.
9. Other questions
9. Other questions
Or use other charging networks…
9. Other questions
Or use one of these ‘hard to find’ things:
10. Q&A after the car
Let the car speak for itself!
So Long, and Thanks for All the Fish

More Related Content

What's hot

Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
Tapan Khilar
 
Presentation shivam e bike
Presentation shivam e bikePresentation shivam e bike
Presentation shivam e bike
Shivam Shukla
 
Network Design for a Small & Medium Enterprise
Network Design for a Small & Medium EnterpriseNetwork Design for a Small & Medium Enterprise
Network Design for a Small & Medium Enterprise
Thamalsha Wijayarathna
 
Solar powered bicycle
Solar powered bicycleSolar powered bicycle
Solar powered bicycle
Manjuchandran9
 
SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY
SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY
SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY
Avinash Repale
 
Ip sec vpn with dynamic routing mikrotik and cisco - mikro-tik wiki
Ip sec vpn with dynamic routing   mikrotik and cisco - mikro-tik wikiIp sec vpn with dynamic routing   mikrotik and cisco - mikro-tik wiki
Ip sec vpn with dynamic routing mikrotik and cisco - mikro-tik wikiHuy Eav
 
Robot cars
Robot carsRobot cars
Robot cars
Raghava Lagudu
 
Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...
Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...
Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...
xmumiao
 
E Rickshaw battery system
E Rickshaw battery systemE Rickshaw battery system
E Rickshaw battery system
Ketan Patel
 
ECU: Electronic Control Units in Electric Two Wheeler
ECU: Electronic Control Units in Electric Two WheelerECU: Electronic Control Units in Electric Two Wheeler
ECU: Electronic Control Units in Electric Two Wheeler
Embitel Technologies (I) PVT LTD
 
CCNAv5 - S1: Chapter 4 - Network Access
CCNAv5 - S1: Chapter 4 - Network Access CCNAv5 - S1: Chapter 4 - Network Access
CCNAv5 - S1: Chapter 4 - Network Access
Vuz Dở Hơi
 
Module 1 Basic Device Configuration.pptx
Module 1 Basic Device Configuration.pptxModule 1 Basic Device Configuration.pptx
Module 1 Basic Device Configuration.pptx
JabirAlHujaifa
 
Water powered car
Water powered carWater powered car
Water powered car
Micheal Ashwanth
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
Omar Herrera
 
POWER HUMPS...... power generation using speed breakers!!!
POWER HUMPS...... power generation using speed breakers!!!POWER HUMPS...... power generation using speed breakers!!!
POWER HUMPS...... power generation using speed breakers!!!
Maltesh4jn10me051
 
Solar bicycle
Solar bicycleSolar bicycle
Solar bicycle
prj_publication
 
Braking system
Braking systemBraking system
Braking system
Ak355
 
S-12 Immobiliser for cars
S-12 Immobiliser for carsS-12 Immobiliser for cars
S-12 Immobiliser for carsLisa Cohen
 

What's hot (20)

Cisco router basic
Cisco router basicCisco router basic
Cisco router basic
 
CCNA
CCNACCNA
CCNA
 
Presentation shivam e bike
Presentation shivam e bikePresentation shivam e bike
Presentation shivam e bike
 
Network Design for a Small & Medium Enterprise
Network Design for a Small & Medium EnterpriseNetwork Design for a Small & Medium Enterprise
Network Design for a Small & Medium Enterprise
 
Solar powered bicycle
Solar powered bicycleSolar powered bicycle
Solar powered bicycle
 
SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY
SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY
SEMINAR ON HYBRID VEHICLE / ELECTRICVEHICLE TECHNOLOGY
 
Ip sec vpn with dynamic routing mikrotik and cisco - mikro-tik wiki
Ip sec vpn with dynamic routing   mikrotik and cisco - mikro-tik wikiIp sec vpn with dynamic routing   mikrotik and cisco - mikro-tik wiki
Ip sec vpn with dynamic routing mikrotik and cisco - mikro-tik wiki
 
Robot cars
Robot carsRobot cars
Robot cars
 
Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...
Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...
Identifying the Right Path Forward for Future Vehicle EE Architecture - Train...
 
E Rickshaw battery system
E Rickshaw battery systemE Rickshaw battery system
E Rickshaw battery system
 
ECU: Electronic Control Units in Electric Two Wheeler
ECU: Electronic Control Units in Electric Two WheelerECU: Electronic Control Units in Electric Two Wheeler
ECU: Electronic Control Units in Electric Two Wheeler
 
CCNAv5 - S1: Chapter 4 - Network Access
CCNAv5 - S1: Chapter 4 - Network Access CCNAv5 - S1: Chapter 4 - Network Access
CCNAv5 - S1: Chapter 4 - Network Access
 
Module 1 Basic Device Configuration.pptx
Module 1 Basic Device Configuration.pptxModule 1 Basic Device Configuration.pptx
Module 1 Basic Device Configuration.pptx
 
PowerShell-1
PowerShell-1PowerShell-1
PowerShell-1
 
Water powered car
Water powered carWater powered car
Water powered car
 
Ccnp3 lab 3_4_en
Ccnp3 lab 3_4_enCcnp3 lab 3_4_en
Ccnp3 lab 3_4_en
 
POWER HUMPS...... power generation using speed breakers!!!
POWER HUMPS...... power generation using speed breakers!!!POWER HUMPS...... power generation using speed breakers!!!
POWER HUMPS...... power generation using speed breakers!!!
 
Solar bicycle
Solar bicycleSolar bicycle
Solar bicycle
 
Braking system
Braking systemBraking system
Braking system
 
S-12 Immobiliser for cars
S-12 Immobiliser for carsS-12 Immobiliser for cars
S-12 Immobiliser for cars
 

Similar to Tesla hacking presentation fri3d

Tesla Hacking to FreedomEV
Tesla Hacking to FreedomEVTesla Hacking to FreedomEV
Tesla Hacking to FreedomEV
Jasper Nuyens
 
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PROIDEA
 
SCADA Strangelove: Hacking in the Name
SCADA Strangelove: Hacking in the NameSCADA Strangelove: Hacking in the Name
SCADA Strangelove: Hacking in the NamePositive Hack Days
 
SCADA Strangelove: взлом во имя
SCADA Strangelove: взлом во имяSCADA Strangelove: взлом во имя
SCADA Strangelove: взлом во имяEkaterina Melnik
 
the NML project
the NML projectthe NML project
the NML projectLei Yang
 
How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.
Naoto MATSUMOTO
 
Hardwear.io 2018 BLE Security Essentials workshop
Hardwear.io 2018 BLE Security Essentials workshopHardwear.io 2018 BLE Security Essentials workshop
Hardwear.io 2018 BLE Security Essentials workshop
Slawomir Jasek
 
IoThings you don't even need to hack
IoThings you don't even need to hackIoThings you don't even need to hack
IoThings you don't even need to hack
Slawomir Jasek
 
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Julien Vermillard
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
ijceronline
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
Toradex
 
Linux Network Stack
Linux Network StackLinux Network Stack
Linux Network Stack
Adrien Mahieux
 
SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...
SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...
SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...
📡 Sebastien Dudek
 
NodeMCU || Controlling and observing a robotic car with a smartphone through...
NodeMCU || Controlling and observing a robotic car with a  smartphone through...NodeMCU || Controlling and observing a robotic car with a  smartphone through...
NodeMCU || Controlling and observing a robotic car with a smartphone through...
Jiangxi University of Science and Technology (江西理工大学)
 
Chip Design Trend & Fabrication Prospects In India
Chip  Design Trend & Fabrication Prospects In IndiaChip  Design Trend & Fabrication Prospects In India
Chip Design Trend & Fabrication Prospects In India
bibhuti bikramaditya
 
Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of view
brouer
 
Building your Car Hacking Labs & Car Hacking Community from Scratch
Building your Car Hacking Labs & Car Hacking Community from ScratchBuilding your Car Hacking Labs & Car Hacking Community from Scratch
Building your Car Hacking Labs & Car Hacking Community from Scratch
Jay Turla
 
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Melvin Gutiérrez Rivero
 

Similar to Tesla hacking presentation fri3d (20)

Tesla Hacking to FreedomEV
Tesla Hacking to FreedomEVTesla Hacking to FreedomEV
Tesla Hacking to FreedomEV
 
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...PLNOG16: Obsługa 100M pps na platformie PC, Przemysław Frasunek, Paweł Mała...
PLNOG16: Obsługa 100M pps na platformie PC , Przemysław Frasunek, Paweł Mała...
 
SCADA Strangelove: Hacking in the Name
SCADA Strangelove: Hacking in the NameSCADA Strangelove: Hacking in the Name
SCADA Strangelove: Hacking in the Name
 
SCADA Strangelove: взлом во имя
SCADA Strangelove: взлом во имяSCADA Strangelove: взлом во имя
SCADA Strangelove: взлом во имя
 
the NML project
the NML projectthe NML project
the NML project
 
How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.
 
Hardwear.io 2018 BLE Security Essentials workshop
Hardwear.io 2018 BLE Security Essentials workshopHardwear.io 2018 BLE Security Essentials workshop
Hardwear.io 2018 BLE Security Essentials workshop
 
IoThings you don't even need to hack
IoThings you don't even need to hackIoThings you don't even need to hack
IoThings you don't even need to hack
 
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
 
International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)International Journal of Computational Engineering Research(IJCER)
International Journal of Computational Engineering Research(IJCER)
 
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
First Steps Developing Embedded Applications using Heterogeneous Multi-core P...
 
AMIT Resume
AMIT  ResumeAMIT  Resume
AMIT Resume
 
Linux Network Stack
Linux Network StackLinux Network Stack
Linux Network Stack
 
Audit
AuditAudit
Audit
 
SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...
SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...
SSTIC 2019 - V2G injector: Whispering to cars and charging units through the ...
 
NodeMCU || Controlling and observing a robotic car with a smartphone through...
NodeMCU || Controlling and observing a robotic car with a  smartphone through...NodeMCU || Controlling and observing a robotic car with a  smartphone through...
NodeMCU || Controlling and observing a robotic car with a smartphone through...
 
Chip Design Trend & Fabrication Prospects In India
Chip  Design Trend & Fabrication Prospects In IndiaChip  Design Trend & Fabrication Prospects In India
Chip Design Trend & Fabrication Prospects In India
 
Challenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of viewChallenges and experiences with IPTV from a network point of view
Challenges and experiences with IPTV from a network point of view
 
Building your Car Hacking Labs & Car Hacking Community from Scratch
Building your Car Hacking Labs & Car Hacking Community from ScratchBuilding your Car Hacking Labs & Car Hacking Community from Scratch
Building your Car Hacking Labs & Car Hacking Community from Scratch
 
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4Esp8266 wi fi_module_quick_start_guide_v_1.0.4
Esp8266 wi fi_module_quick_start_guide_v_1.0.4
 

Recently uploaded

Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
Antique Plastic Traders
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
Excavator
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
jennifermiller8137
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Vic Auto Collision & Repair
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
kshamashah95
 
Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?
jennifermiller8137
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
Motor Cars International
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Masters European & Gapanese Auto Repair
 
What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?
Hyundai Motor Group
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
coc7987515756
 
Ec460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdfEc460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdf
Excavator
 
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
Autohaus Service and Sales
 
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
ahmedendrise81
 
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.docBài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
daothibichhang1
 
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
mymwpc
 
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
eygkup
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
4thzenzstar
 
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Precious Mvulane CA (SA),RA
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
Bertini's German Motors
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Hyundai Motor Group
 

Recently uploaded (20)

Antique Plastic Traders Company Profile
Antique Plastic Traders Company ProfileAntique Plastic Traders Company Profile
Antique Plastic Traders Company Profile
 
Ec330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdfEc330B Lc Excavator Volvo Service Repair.pdf
Ec330B Lc Excavator Volvo Service Repair.pdf
 
Things to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your carThings to remember while upgrading the brakes of your car
Things to remember while upgrading the brakes of your car
 
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to TellWondering if Your Mercedes EIS is at Fault Here’s How to Tell
Wondering if Your Mercedes EIS is at Fault Here’s How to Tell
 
Tyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEATTyre Industrymarket overview with examples of CEAT
Tyre Industrymarket overview with examples of CEAT
 
Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?Digital Fleet Management - Why Your Business Need It?
Digital Fleet Management - Why Your Business Need It?
 
What Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It WorkWhat Exactly Is The Common Rail Direct Injection System & How Does It Work
What Exactly Is The Common Rail Direct Injection System & How Does It Work
 
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out HereWhy Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
Why Isn't Your BMW X5's Comfort Access Functioning Properly Find Out Here
 
What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?What do the symbols on vehicle dashboard mean?
What do the symbols on vehicle dashboard mean?
 
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptxStatistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
Statistics5,c.xz,c.;c.;d.c;d;ssssss.pptx
 
Ec460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdfEc460b lc Excavator Volvo Service Repair.pdf
Ec460b lc Excavator Volvo Service Repair.pdf
 
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
What Does the PARKTRONIC Inoperative, See Owner's Manual Message Mean for You...
 
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
欧洲杯比赛投注官网-欧洲杯比赛投注官网网站-欧洲杯比赛投注官网|【​网址​🎉ac123.net🎉​】
 
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.docBài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
Bài tập - Tiếng anh 11 Global Success UNIT 1 - Bản HS.doc
 
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
一比一原版(AUT毕业证)奥克兰理工大学毕业证成绩单如何办理
 
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
一比一原版(AIS毕业证)奥克兰商学院毕业证成绩单如何办理
 
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtycccccccccccccccccccccccccccccccccccccccccccccccccccccccgtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
gtyccccccccccccccccccccccccccccccccccccccccccccccccccccccc
 
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs  Consulting SMEs.pptxEmpowering Limpopo Entrepreneurs  Consulting SMEs.pptx
Empowering Limpopo Entrepreneurs Consulting SMEs.pptx
 
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
5 Warning Signs Your BMW's Intelligent Battery Sensor Needs Attention
 
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'Core technology of Hyundai Motor Group's EV platform 'E-GMP'
Core technology of Hyundai Motor Group's EV platform 'E-GMP'
 

Tesla hacking presentation fri3d

  • 2. Jasper Nuyens jasper@linux.com +32478978967 Managing Director Linux Belgium http://www.linuxbe.com Very interested in EVs since Tesla. Made money with Free and OpenSource Software Training and Consultancy
  • 3. Content 1. Disclaimer and the obvious questions 2. The car 3. The mission 4. Components and network layout 5. How to access 6. Hacks performed by other people 7. Hacks performed by me 8. How ‘hacker friendly’ are Tesla Service and Elon Musk? 9. Other questions 10. Q&A
  • 4. 1. Disclaimer and the obvious questions Disclaimer - I am a Tesla customer, not a Tesla supplier or employee - Tesla hacking could be dangerous: it is a +2t car with electric propulsion, electronically steered and with a high voltage battery. Yet all drive controls keep on working even when 2 Linux systems are restarted during driving. - Uncertain what the level of ‘endorsement’ is by Tesla, both officially and unofficially, we are optimistic :)
  • 5. 2. The car Model X, Enhanced Autopilot 2.0 75kWh battery, premium interior, towing package…
  • 6. 2. The car “Once you drive electric, there’s no going back” Range: officially about 320km in practice between 230 and 350km decreases range: high speed, cold weather never having to go to the petrol station start ‘full’ every morning Supercharging network for long distance: charges at 500km per hour (120kW); no waiting required (lunch, toilet,…) Ok to drive 1000km per day. Autopilot: not fully self driving yet, but improving (slowly), newest generation of software is just starting to learn.
  • 7. 3. The mission Tesla’s mission is: “Accelerate the world's  transition to sustainable energy.” In our case, we drove 38.000 km in 1 year with our Model X. We generated the electricity from our solar roof. This avoided air pollution of: 8755kg CO2 I used to point to the ecological footprint of production, but that’s about the same with regular cars versus electric cars. And Tesla doesn’t use cobalt from Congo. Nor ‘real’ leather. Obviously it’s better for the environment to just walk or bike.
  • 8. 4. Components and network layout - Instrument Cluster (ic) behind steering wheel 192.168.90.101 - Big screen (cid) in the middle 192.168.90.100 - Gateway (gw) 192.168.90.102 - Autopilot (ape) 192.168.90.103 - lb (ape gw) 192.168.90.104
  • 9. 4. Components and network layout Instrument Cluster (ic) behind steering wheel 192.168.90.101 Custom version of NVidia Tegra 2 SoC cat /proc/cpuinfo Processor : ARMv7 Processor rev 0 (v7l) processor : 0 BogoMIPS : 897.84 processor : 1 BogoMIPS : 897.84 Features : swp half thumb fastmult vfp edsp vfpv3 vfpv3d16 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x1 CPU part : 0xc09 CPU revision : 0 Hardware : Tegra P852 SKU8 C01 Revision : 0000 Serial : 1f78400042408317 Boots squashfs compressed read-only filesystem, /var is writeable Steering wheel buttons are attached to the ic and the input is sent over Ethernet using the (undocumented) ‘Vehicle API’ Settings are stored in sqlite3 db
  • 10. 4. Components and network layout Massive multimedia 19”screen (cid) in the middle of the car 192.168.90.100 NVIDIA quad core (till last month - new cars have it replaced with Intel based board, like in the Model 3) Includes Qt based Web browser Runs Spotify and allows to control most car settings, doors and so on…
  • 11. 4. Components and network layout root@ic:~# nmap -v -p 1-65535 -sV -O -sS -T5 192.168.90.100 Not shown: 65090 closed ports, 419 filtered ports PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 5.5p1 Debian 4ubuntu4 (Ubuntu Linux; protocol 2.0) 53/tcp open domain dnsmasq 2.78 111/tcp open rpcbind 2 (RPC #100000) 2049/tcp open nfs 2-4 (RPC #100003) 4030/tcp open unknown 4032/tcp open unknown 4037/tcp open unknown 4050/tcp open unknown 4060/tcp open unknown 4070/tcp open unknown 4090/tcp open omasgport? 4092/tcp open unknown 4094/tcp open unknown 4096/tcp open bre? 4102/tcp open unknown 4110/tcp open unknown 4160/tcp open unknown 4170/tcp open unknown 4220/tcp open vrml-multi-use? 4280/tcp open unknown 4500/tcp open sae-urn? 20564/tcp open unknown 25956/tcp open unknown 43164/tcp open nlockmgr 1-4 (RPC #100021) 43427/tcp open status 1 (RPC #100024) 43546/tcp open mountd 1-3 (RPC #100005)
  • 12. 4. Components and network layoutcat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 9 (v7l) BogoMIPS : 1795.68 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 9 processor : 1 model name : ARMv7 Processor rev 9 (v7l) BogoMIPS : 1795.68 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 9 processor : 2 model name : ARMv7 Processor rev 9 (v7l) BogoMIPS : 1795.68 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 9 processor : 3 model name : ARMv7 Processor rev 9 (v7l) BogoMIPS : 1795.68 Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x2 CPU part : 0xc09 CPU revision : 9 Hardware : NVIDIA Tegra SoC (Flattened Device Tree) Revision : 0000 Serial : 0000005E1XXXXXXX
  • 13. 4. Components and network layout Gateway 192.168.90.102 Runs FreeRTOS on Freescale MPC5668G
 592 KB embedded RAM Is attached to the 6 CAN-busses: - Trunk, doors,… - Vehicle speed, engine speed,… - Chassis - BFT - ODBII
  • 14. 4. Components and network layout Gateway 192.168.90.102 firmware name: gtw.hex located on the sd card of the CID In the past, it contained in clear text the (unique) pw to get acces. Was a ‘point of entry’, closed by Tesla.
  • 15. SMALL PROBLEM Unaligned interests between Tesla and Hackers for now: - if a new exploit is discovered by creative car owners, and Tesla finds out how, they close the entry point. GREAT! BUT NOT GREAT if it’s the only way to gain access. We hope in the future Tesla will allow owners a simple or controlled way to gain root.
  • 16. 5. How to access Which data paths exist? Internet: - nightmare of Elon Musk - access from the Tesla Android or IOS App - mothership.tesla.com Internal Ethernet network: - physical connection below CID for Service Centers - physical connection between IC and CID CAN busses: - typical ‘old school car modding’, will probably dissapear
  • 17. 5. How to access
  • 18. 5. How to access
  • 19. 5. How to access
  • 20. 5. How to access
  • 21. 5. How to access Careful with the special connector which provides power and more (click mechanism)!
  • 22. 5. How to access Experiment with how the wiring to the Ethernet is done.
  • 23. 5. How to access Fakra? 4 Ethernet wires: green, orange green/white orange/white Test: scroll volume
  • 24. 5. How to access
  • 25. 5. How to access Better (version 2):
  • 26. 5. How to access 1st way: Ethernet (Fakra) from CID to switch Ethernet (Fakra) from IC to switch Extra ethernet cable below CID for attaching laptop Ethernet cable for Raspberry Pi for wired and/or wireless network Raspberry Pi allows to modify stuff ‘permanently’ without changing something to the rootfs Easy access at a side panel to ‘reverse’ all changes (before going back to Tesla Service)
  • 27. 5. How to access 2nd step: Reverse ssh tunnel directly from CID -> allows hacking in bed and on holiday :-D -> allows a chrooted ubuntu on a USB stick (with a powered USB hub).
  • 28. 6. Hacks performed by other people Tesla itself created ‘Easter Eggs’ like Model X Chrismas Tree, Mars driving map, drawing app,… 3 minute movie https://www.youtube.com/watch?v=1fmm6Hg7k1U
  • 29. 6. Hacks performed by other people All IC’s can be accessed using the same (leaked) ssh key for the root account (once you are on the Ethernet network between IC and CID). Might not remain so after an update? Ethernet port below CID is only enabled after mothership opens it for Tesla Service through their own cryptographically signed applications/internal network. Access from IC to CID is restricted (was a dead end).
  • 30. 6. Hacks performed by other people Replacing an image on Instrument Cluster
  • 31. 6. Hacks performed by other people Playing a movie on the central display (first version) https://www.youtube.com/watch?v=c1Kmqz9UyaE
  • 32. 6. Hacks performed by other people Replacing an image on Instrument Cluster (1st gen MS)
  • 33. 7. Hacks performed by me Replacing lots of images ‘subtle’ to add the Linux Belgium logo.
  • 34. 7. Hacks performed by me Replacing lots of images ‘subtle’ to add the Linux logo - and a ‘peace’ sign.
  • 35. 7. Hacks performed by me Images stored in /usr/tesla/UI/assets/night/car/modelx/ No permanent changes are made: small script to bind mount the individual files from /var/added and relaunch the Qt based IC process (beware of wife). Automatically launched when rpi starts and re-verifies every minute out of crontab. root@ic:~# crontab -l * * * * /teslascript.sh > /dev/null 2>&1
  • 36. 7. Hacks performed by me cat /teslascript.sh #!/bin/bash nohup ssh -i /root/id_dsa root@192.168.90.101 bash /var/added/addedtotesla.sh & ON IC: bash /var/added/mount-modfiles.sh cat mount-modfiles.sh #!/bin/bash #if an argument is provided multiple directories are allowed #first umount for bindmount in $(mount | grep bind | awk '{ print $1 }') do umount $bindmount done cd /var/added/modfiles$1 for modfile in $(find . -type f) do mount --bind $modfile /$modfile done
  • 37. 7. Hacks performed by me Gives: mount /dev/mmcblk3p3 on /var type ext3 (rw,noexec,nosuid,nodev,data=ordered,barrier=1,commit=20) /dev/mmcblk3p4 on /home type ext3 (rw,noexec,nosuid,nodev,data=ordered,barrier=1,commit=20) none on /var/run type tmpfs (rw) none on /var/lock type tmpfs (rw) cid:/opt/navigon on /opt/navigon type nfs (ro,noexec,nosuid,nodev,nolock,soft,fg,intr,retry=1,retrans=10,addr=192.168.90.100) /var/added/modfiles/home/tesla/.Tesla/data/QtCarClusterSettings.db on /home/tesla/.Tesla/data/QtCarClusterSettings.db type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/doors/trunk_closed_paint.png on /usr/tesla/UI/assets/night/car/ modelx/doors/trunk_closed_paint.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/doors/trunk_open.png on /usr/tesla/UI/assets/night/car/modelx/doors/ trunk_open.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/drive/body_paint.png on /usr/tesla/UI/assets/night/car/modelx/drive/ body_paint.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/hero/frunk_open_paint.png on /usr/tesla/UI/assets/night/car/modelx/ hero/frunk_open_paint.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/hero/frunk_closed_paint.png on /usr/tesla/UI/assets/night/car/modelx/ hero/frunk_closed_paint.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/top/frunk_open.png on /usr/tesla/UI/assets/night/car/modelx/top/ frunk_open.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/top/frunk_closed_paint.png on /usr/tesla/UI/assets/night/car/modelx/ top/frunk_closed_paint.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/park/car_paint.png on /usr/tesla/UI/assets/night/car/modelx/park/ car_paint.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/car/modelx/ghost/body-5.png on /usr/tesla/UI/assets/night/car/modelx/ghost/ body-5.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/about/badge_model_x.png on /usr/tesla/UI/assets/night/about/badge_model_x.png type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/cluster/background_noise.jpg on /usr/tesla/UI/assets/night/cluster/ background_noise.jpg type none (rw,bind) /var/added/modfiles/usr/tesla/UI/assets/night/cluster/hi_res/badges/badge_model_x.png on /usr/tesla/UI/assets/night/cluster/ hi_res/badges/badge_model_x.png type none (rw,bind)
  • 38. 7. Hacks performed by me And then the script does: killall -HUP QtCarCluster The monitoring on the IC will restart the process fairly rapidly (beware of wife if you do this while driving)
  • 39. 7. Hacks performed by me Images stored in /usr/tesla/UI/assets/night/car/modelx/ No permanent changes are made: small script to bind mount the individual files and relaunch the Qt based IC process (beware of wife). 7. Hacks performed by me
  • 40. 7. Hacks performed by me Next step… - Color animation script! cat moonshine.sh #!/bin/bash export DISPLAY=:0.0 while true do for color in rgamma ggamma bgamma do for gamma in 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 do xgamma -${color} $gamma 2> /dev/null sleep 0.1 done done done https://www.youtube.com/watch?v=XfkuS-ypUTU
  • 41. 7. Hacks performed by me Discovered: Sound is sent over the Ethernet network :) cat gameofthrones.wav | nc 192.168.90.100 4102 Possibility for denial of service attack? (yet not practical) Special sound format needed: file park_assist_red_repeat.wav park_assist_red_repeat.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 48000 Hz RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 48000 Hz Something like this: sox -S --norm gameofthrones-orig.wav -c 1 -r 48000 gameofthrones-good-format.wav reverse silence 1 0 0.05 reverse pad 0 0.100
  • 42. 7. Hacks performed by me Discovered: - Every day a new ‘token’ received in: /var/etc/saccess/tesla1 - SQLite3 database containing settings /home/tesla/.Tesla/data/QtCarClusterSettings.db sqlite3 QtCarClusterSettings.db sqlite> select key, quote(value) from data; select key, quote(value) from data where key='DataValues/GUI_developerMode'; DataValues/GUI_developerMode|X’000000010000' UPDATE data SET value=X'000000010001' WHERE key='DataValues/GUI_developerMode'; Might be GPS-location locked?
  • 43. 7. Hacks performed by me Root on CID Obtained though a - now patched - way during an upgrade mechanism to perform commands on the CID; extracting the daily changing security token. Thanks to someone on TMC forum for helping me! CID has an Internet connection (through usb-connected ‘parrot’). -> reverse ssh tunnel for easy remote access -> extra backdoors to prevent becoming locked out as a result of an update Only /var is writeable
  • 44. 7. Hacks performed by me Root on CID CID has 2 USB connections in the central display -> allows to run ARM/Ubuntu in a mounted chrooted environment Big display is not rotated at kernel level; QT application is written rotated. Fixed with running X applications in a rotated Xephyr (nested X server).
  • 45. 7. Hacks performed by me Root on CID Sound possible with gstreamer. Possible to display messages on the CID
  • 46. 7. Hacks performed by me Root on CID - romance mode For the 4th anniversary of being married to my sweet wife, i put this into crontab: */15 * * * * bash /var/added/romance_mode.sh >/dev/null 2>&1 Executing: bash /var/added/speak "Kissy, kissie" /disk/usb.*/freedomev/talk "I love you, Baby!"
  • 47. 7. Hacks performed by me Root on CID Romance Mode https://www.youtube.com/watch?v=w-gLSPzLo6Q
  • 48. 7. Hacks performed by me Goals Integrate touchscreen driver and build application launcher with free software repository www.FreedomEV.com www.FreedomEV.com/wiki www.github.com/jnuyens/freedomev “Download/extract the tarball to a usb stick, add one crontab entry in the CID as root and enjoy the power of the OpenSource community”
  • 49. 7. Hacks performed by me Goals Integrate anbox to run Android apps like Waze on the CID Allow anybody to contribute fun stuff back easy to package and distribute. Fun, Fun, Fun!
  • 50. 8. How ‘hacker friendly’ are Tesla Service and Elon Musk? Elon Musk has tweeted a few times he likes people to tinker with his cars. My Tesla Service rep stated it’s “officially not allowed” but they like my work and have been very supportive (within limits)
  • 51. 8. How ‘hacker friendly’ are Tesla Service and Elon Musk? Is Dell stopping support for a motherboard problem with a server if you replaced the hard drive yourself? No. Yet, Tesla Service are ‘car people’ instead of ‘Linux Hackers’. I am honest about stuff I broke myself. 1) too many screws after reassembly 2) I broke a small plastic cover 3) I broke the upgrade mechanism
  • 52. 8. How ‘hacker friendly’ are Tesla Service and Elon Musk? I am not interested in doing illegal things like: - changing the VIN number (it might help stolen car sales) - faking the mileage - abusing the (free) data usage I prefer also not to: - mess with the autopilot (I prefer to live ;) - mess with the drive motor steering
  • 53. 9. Other questions “Long tailpipe Myth”: Driving electric on coal generated electrity. -> no grid is 100% coal, it’s always a small minority -> would still be far less CO2 including counting for distribution (because ICE cars are so inefficient) “How to go on holiday”: - At home in the morning it’s always full - Never visit petrol station - Supercharging network for long distance; charging at 500km per hour, so driving 1000km is confortable per day without any waiting.
  • 55. 9. Other questions Or use other charging networks…
  • 56. 9. Other questions Or use one of these ‘hard to find’ things:
  • 57. 10. Q&A after the car Let the car speak for itself! So Long, and Thanks for All the Fish