SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
Car Hacking 101
> How to get started
> Car Hacking tools
> Vehicle networking basics
> Build your own testing buck
@carloopio
Disclaimer:
The objective of this talk is
to create awareness and promote
a more informed audience about
car network security. It is not
intended to encourage unlawful
practices.
> How to get started
> Car Hacking tools
> Vehicle networking basics
> Build your own testing buck
@carloopio
1st Published in 2016
Free Download link
Tools, Protocols,
References
Entire chapter
dedicated to SocketCAN
How to Reverse
Engineer an ECU
@carloopio
More Reading Material
http://illmatics.com/c
ar_hacking.pdf
@carloopio
Internet Shortcuts 2 Car Hacking
opengarages.org
Don’t scoff at the Wikipedia link – it’s actually very complete!
community.carloop.io
https://en.wikipedia.org/wiki/On-board_diagnostics
@carloopio
What you’ll need
1) Access to the OBD-II port
2) CAN connection tool like
USB2CAN
4) A laptop with Linux
3) OBD-II to Serial (RS-232) cable
(Mac OS o.k.)
@carloopio
Or less cables
1) Carloop
2) Particle Photon
3) WiFi
@carloopio
> How to get started
> Car Hacking tools
> Vehicle networking basics
> Build your own testing buck
@carloopio
A Vehicle’s CAN Bus
Controller Area Network
2 Wires: CAN High and CAN Low
More than 1 CAN bus on vehicle
ENGINE
BODY TRANSMISSIONDASHBOARD
AIRBAG INFOTAINMENT
@carloopio
CAN & OBDII
There are many protocols
1997-present
2008-presentCAN
OBDII
J1850 PWM
J1850 VPWM
KWP2000
Chrysler uses
same pins but
with ISO 9141-
2 std
Ford / GM
@carloopio
CAN & OBDII
Why focus on CAN?
Required vehicles built since 2008
Shares pins with OBD-II
More than just diagnostics…
@carloopio
How is information transmitted
Resting voltage 2.5V
Changes by 1V to generate data packets (1 and 0) in
sequence
Differential Signaling: CAN high increases to 3.5V
CAN low drops to 1.5V
@carloopio
How it looks like on an oscilloscope
@carloopio
Anatomy of a CAN message
Arbitration ID: 0x14 (in hex)
IDE: 0 (always 0 for CAN)
Data length: 1 byte
Data: 1 (in hex)
@carloopio
How it looks like on your laptop
@carloopio
> How to get started
> Car Hacking tools
> Vehicle networking basics
> Build your own testing buck
@carloopio
> Car Hacking tools
Hardware Software
http://opengarages.org/index.php/Tools
GNU Radio
PyOBD
Linux
CANiBUS
Kayak
SavvyCAN
O2OO
Caring
Caribou
C0f
UDSim
Octane
AVRDUDESS
RomRaider
Komodo
Vehicle Spy
@carloopio
Hardware Software
http://opengarages.org/index.php/Tools
Linux + can-utils
>cansniffer
>candump
>cansend
>cangen
CAN
sniffing/CAN
injection
(beginner)
Create Apps/
CAN injection
(intermediate)
Arduino sketch
github.com/carloop
Goal
@carloopio
> How to get started
> Car Hacking tools
> Vehicle networking basics
> Build your own testing buck
@carloopio
If you don’t feel like hacking
on your own car, try on a test
bench first
@carloopio
Power supply
Engine Control Module Simple ECU Test Buck
Car-part.com $35
Amazon $37
@carloopio
> Now go hack on something!
@carloopio
> Credits/Attributions
Links from opengarages.org
Pictures from Craig Smith’s Car
Hacker’s Handbook
Video by Craig Smith from
opengarages.com
@carloopio

Contenu connexe

En vedette

Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...
Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...
Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...Red Bend Software
 
Brodmann’s areas 3, 1, 2
Brodmann’s areas 3, 1, 2Brodmann’s areas 3, 1, 2
Brodmann’s areas 3, 1, 2Deepak Chinagi
 
M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010goodgolier
 
Controller area network (can bus)
Controller area network (can bus)Controller area network (can bus)
Controller area network (can bus)nassim unused
 
Functional anatomy of cortical areas
Functional anatomy of cortical areasFunctional anatomy of cortical areas
Functional anatomy of cortical areasFayezah Khan
 
ECU Verification & Validation
ECU Verification & ValidationECU Verification & Validation
ECU Verification & ValidationShankar Akella
 
Embedded c programming22 for fdp
Embedded c programming22 for fdpEmbedded c programming22 for fdp
Embedded c programming22 for fdpPradeep Kumar TS
 
Vector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_en
Vector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_enVector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_en
Vector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_enRed Bend Software
 
Connected Car Security
Connected Car SecurityConnected Car Security
Connected Car SecuritySuresh Mandava
 

En vedette (16)

ECU Poster
ECU PosterECU Poster
ECU Poster
 
Limbic system and memory
Limbic system and memoryLimbic system and memory
Limbic system and memory
 
Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...
Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...
Roger Lanctot, Strategy Analytics, Managing the Accelerating Amount of Softwa...
 
Brodmann’s areas 3, 1, 2
Brodmann’s areas 3, 1, 2Brodmann’s areas 3, 1, 2
Brodmann’s areas 3, 1, 2
 
M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010
 
Controller area network (can bus)
Controller area network (can bus)Controller area network (can bus)
Controller area network (can bus)
 
Brake system
Brake systemBrake system
Brake system
 
Functional anatomy of cortical areas
Functional anatomy of cortical areasFunctional anatomy of cortical areas
Functional anatomy of cortical areas
 
ECU Verification & Validation
ECU Verification & ValidationECU Verification & Validation
ECU Verification & Validation
 
Canbus
CanbusCanbus
Canbus
 
Embedded c programming22 for fdp
Embedded c programming22 for fdpEmbedded c programming22 for fdp
Embedded c programming22 for fdp
 
Cyber Security for the Connected Car
Cyber Security for the Connected Car Cyber Security for the Connected Car
Cyber Security for the Connected Car
 
Vector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_en
Vector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_enVector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_en
Vector red bend_webinar_flashing_over_the_air_and_delta_technology_20140121_en
 
Iso26262 component reuse_webinar
Iso26262 component reuse_webinarIso26262 component reuse_webinar
Iso26262 component reuse_webinar
 
Connected Car Security
Connected Car SecurityConnected Car Security
Connected Car Security
 
Brodmann's areas of the cerebral cortex
Brodmann's areas of the cerebral cortexBrodmann's areas of the cerebral cortex
Brodmann's areas of the cerebral cortex
 

Dernier

ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESsriharshaganjam1
 
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...IEABODI2SnVVnGimcEAI
 
Bizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra LittleBizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra LittleForth
 
TESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdfTESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdfdevashishrahulbrij
 
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道2b7sppnv
 
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道7283h7lh
 
Welcome to Auto Know University Orientation
Welcome to Auto Know University OrientationWelcome to Auto Know University Orientation
Welcome to Auto Know University Orientationxlr8sales
 
Increasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee BrownIncreasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee BrownForth
 
Clean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah HuangClean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah HuangForth
 

Dernier (9)

ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILESABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
ABOUT REGENERATIVE BRAKING SYSTEM ON AUTOMOBILES
 
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
Infineon-Infineon_DC_EV_Charging_Trends_and_system_solutions-ApplicationPrese...
 
Bizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra LittleBizwerx Innovation & Mobility Hub by Dr. Cassandra Little
Bizwerx Innovation & Mobility Hub by Dr. Cassandra Little
 
TESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdfTESLA CASE STUDY by Devashish Rahul Brij.pdf
TESLA CASE STUDY by Devashish Rahul Brij.pdf
 
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
怎么办理加拿大AU毕业证阿萨巴斯卡大学学位证书一手渠道
 
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
怎么办理美国UCONN毕业证康涅狄格大学学位证书一手渠道
 
Welcome to Auto Know University Orientation
Welcome to Auto Know University OrientationWelcome to Auto Know University Orientation
Welcome to Auto Know University Orientation
 
Increasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee BrownIncreasing Community Impact with Meaningful Engagement by Brytanee Brown
Increasing Community Impact with Meaningful Engagement by Brytanee Brown
 
Clean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah HuangClean Mobility Options Program by Sarah Huang
Clean Mobility Options Program by Sarah Huang
 

Car Hacking 101

  • 1.
  • 2. Car Hacking 101 > How to get started > Car Hacking tools > Vehicle networking basics > Build your own testing buck
  • 3. @carloopio Disclaimer: The objective of this talk is to create awareness and promote a more informed audience about car network security. It is not intended to encourage unlawful practices.
  • 4. > How to get started > Car Hacking tools > Vehicle networking basics > Build your own testing buck @carloopio
  • 5. 1st Published in 2016 Free Download link Tools, Protocols, References Entire chapter dedicated to SocketCAN How to Reverse Engineer an ECU @carloopio
  • 7. Internet Shortcuts 2 Car Hacking opengarages.org Don’t scoff at the Wikipedia link – it’s actually very complete! community.carloop.io https://en.wikipedia.org/wiki/On-board_diagnostics @carloopio
  • 8. What you’ll need 1) Access to the OBD-II port 2) CAN connection tool like USB2CAN 4) A laptop with Linux 3) OBD-II to Serial (RS-232) cable (Mac OS o.k.) @carloopio
  • 9. Or less cables 1) Carloop 2) Particle Photon 3) WiFi @carloopio
  • 10. > How to get started > Car Hacking tools > Vehicle networking basics > Build your own testing buck @carloopio
  • 11. A Vehicle’s CAN Bus Controller Area Network 2 Wires: CAN High and CAN Low More than 1 CAN bus on vehicle ENGINE BODY TRANSMISSIONDASHBOARD AIRBAG INFOTAINMENT @carloopio
  • 12. CAN & OBDII There are many protocols 1997-present 2008-presentCAN OBDII J1850 PWM J1850 VPWM KWP2000 Chrysler uses same pins but with ISO 9141- 2 std Ford / GM @carloopio
  • 13. CAN & OBDII Why focus on CAN? Required vehicles built since 2008 Shares pins with OBD-II More than just diagnostics… @carloopio
  • 14. How is information transmitted Resting voltage 2.5V Changes by 1V to generate data packets (1 and 0) in sequence Differential Signaling: CAN high increases to 3.5V CAN low drops to 1.5V @carloopio
  • 15. How it looks like on an oscilloscope @carloopio
  • 16. Anatomy of a CAN message Arbitration ID: 0x14 (in hex) IDE: 0 (always 0 for CAN) Data length: 1 byte Data: 1 (in hex) @carloopio
  • 17. How it looks like on your laptop @carloopio
  • 18. > How to get started > Car Hacking tools > Vehicle networking basics > Build your own testing buck @carloopio
  • 19. > Car Hacking tools Hardware Software http://opengarages.org/index.php/Tools GNU Radio PyOBD Linux CANiBUS Kayak SavvyCAN O2OO Caring Caribou C0f UDSim Octane AVRDUDESS RomRaider Komodo Vehicle Spy @carloopio
  • 20. Hardware Software http://opengarages.org/index.php/Tools Linux + can-utils >cansniffer >candump >cansend >cangen CAN sniffing/CAN injection (beginner) Create Apps/ CAN injection (intermediate) Arduino sketch github.com/carloop Goal @carloopio
  • 21. > How to get started > Car Hacking tools > Vehicle networking basics > Build your own testing buck @carloopio
  • 22. If you don’t feel like hacking on your own car, try on a test bench first @carloopio
  • 23. Power supply Engine Control Module Simple ECU Test Buck Car-part.com $35 Amazon $37 @carloopio
  • 24. > Now go hack on something! @carloopio
  • 25. > Credits/Attributions Links from opengarages.org Pictures from Craig Smith’s Car Hacker’s Handbook Video by Craig Smith from opengarages.com @carloopio