ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Complyify Car Hacking & Cyber Risk
We help mid-sized companies
measure and manage
cybersecurity risk
Complyify Car Hacking & Cyber Risk
Car Hacking 101
No EE Edition
ODB-II Diagnostics
USB
Optical Disc
KES
Bluetooth
TPMS
LTE
WiFi
Complyify Car Hacking & Cyber Risk
CAN-L
CAN-H
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
0V
9V
9V
+9V = Binary 1
0V = Binary 0
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
Complyify Car Hacking & Cyber Risk
derp
DIFFERENCE IN
VOLTAGE MATTERS
CAN BUS
Advantages for embedded > ethernet
• Simplicity
• Reliability
• Cost
Disadvantages (opportunities to h4x0r)
• Bus - all nodes get all traffic
• Bus - common mode attacks
• Bus - no network access control
Complyify Car Hacking & Cyber Risk
EVERYTHING I’M ABOUT TO
DISCUSS IS POTENTIALLY
LIFE THREATENING
DON’T MESS WITH 2-TON
METAL MACHINES THAT
CAN KILL YOU
(i.e., please don’t sue me)
Complyify Car Hacking & Cyber Risk
CAN BUS GETTING
STARTED KIT
RECOMMENDATIONS
• USB-CAN Style Adapter
• Isolation ideal for automotive applications
• Get ODB-II adapter, not a fixed ODB-II interface
• Make sure it supports at least 1Mbps CAN
• Make sure it supports SocketCAN (Linux)
• Stay away from ELM327 chips
Complyify Car Hacking & Cyber Risk
SOFTWARE
• Linux (VirtualBox works fine)
• SocketCAN
• CAN Utils
• Wireshark
GENERAL
TECHNIQUE
• Capture
• Fiddle
• Identify Sender
• Decode packet
• Test replay with virtual CAN interface
• Send packets for real
DEMONSTRATION
• Already Done (not shown in demo):
• Installing VirtualBox (or other VM host)
• Installing Kali Linux (includes Wireshark, etc)
• Installing can-utils: apt install -y can-utils
• Compiling SavvyCAN (see GitHub README)
TRICKS & GOTCHAS
• Sequence numbers in packets
• Multi-sourced data agreement filters
• Bus termination
• CAN firewalls
• Multiple CAN busses
• Data recorders
Resources
Car Hacking eBook
http://opengarages.org/handbook/ebook/
Car Hacking Edu / Events
https://www.carhackingvillage.com/
Community DBC Files
https://github.com/commaai/opendbc
SavvyCAN (not in vendor pkg mgmt)
https://github.com/collin80/SavvyCAN
Find Me
sean@comply.cloud
Twitter @seanbruton
complyify.com
Now Hiring
Dallas or Austin
• Security Product Manager
• Security Assessor
• Developers

More Related Content

Complyify Car Hacking & Cyber Risk