caleb walter. iphone style charger malware channel exploit vehicle can network create covert channel...

20
Caleb Walter Covert Channels in Electronic Car Chargers

Upload: laureen-parks

Post on 24-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

Caleb Walter

Covert Channels in Electronic Car Chargers

Page 2: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• iPhone style charger Malware channel

• Exploit Vehicle CAN network

• Create Covert Channel at Public Charging Stations• Custom Arduino CAN EVSE

Basic Concept

Page 3: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Three Georgia Tech researchers designed charger in 1 week•Normal chargers only contain transformers• This charger contains small computer running Linux

Iphone Malware Charger

Page 4: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Linux delivers payload when Phone is plugged in

• Must be unlocked by User

• Takes advantage of multiple Apple security flaws

• UDID query to send to apple web Page

• Bypassed App Vetting by hiding Malicious Code using Covert Channel

Iphone Malware Charger (Cont.)

Page 5: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Development began in 1983 at Robert Bosch GmbH

• Officially Released in 1986 by SAE in Detroit.

• First CAN Chips produced and installed in 1987

• Intel

CAN bus History

Page 6: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Can 2.0 Designed and released in 1991• Improved CAN Data Link Layer in 2012• CAN FD – ISO 11898-1

• CAN 2.0 included in all OBD II Vehicles

• OBD II mandatory for all cars and trucks sold in the USA since 1996

CAN Bus History

Page 7: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Controller Area Network• Message Based Protocol for

vehicles• Allows microcontrollers

and devices to communicate without host computer

Vehicle CAN Basics

Page 8: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• CAN Standard Format• 11-bit Header ID for

Manufacturer Proprietary protocols

CAN Format

Page 9: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• SOF – Start of Frame

• Identifier – UID w/ Priority

• RTR – Remote Transmission Request

• IDE – CAN vs. Can Extended

• DLC – Data Length Code (This is the Paylod Location)

• CRC – Cycle Redundancy Check

• ACK – Acknowledge

• EOF – End of Frame

CAN Frame

Page 10: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

CAN Bus Network

Page 11: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Electronic Control Units:• Control various parts of the

vehicles electronics• Engine Control• ABS• Radio• Doors• Reprogrammable for Manufacture

Updates

ECUs

Page 12: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• 8 Bytes available to modify in Data Code Frame• Hide coding within Data Layer through basic Obfuscation Technique• Can pass along payloads or other messages with this 8 byte space

The Covert Channel

Page 13: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

•When Vehicle Plugs into charge, various data transmission happen• OBD II ECU to Charging Station Computer• CAN Network messages exchange between Battery ECU and Charger Computer

Charging Handshake for Electronic Cars

Page 14: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Custom Arduino/Raspberry PI/ BeagleBoard• Plugged into EV Charging station

via Cat5 Communication Port• Injects custom code into EV

Handshake• CAN Controller Libraries for Code• MCP2515• SPI

Hacking the Charger

Page 15: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Interrupts Handshake ECU process with

• Obfuscates code to prevent Message Anomaly Detection and CRC check

• Transmits message through SAE J1772 Charger Port

Hacking the Charger (Cont)

Page 16: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Can potentially modify any ECU Controlled system in the car

• Make Radio display custom messages

• Max out Speedo and Tacho even when sitting

• Cut Brakes (Not recommended…)

Extra Fun!

Page 17: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• 8416 Electronic Charging Stations in USA

• Most Charging Stations use the same CAN and ECU checks

• Most also use same charging type and plug type

• 67,295 Electronic Vehicles in the US

• May 2013 Statistics

Potential Outreach

Page 18: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Firewalls within the CAN Network• Vehicle IPS for CAN Network• Physical Intrusion Detection on EV Charger• CAN Bus update for slack code prevention

Potential Prevention

Page 19: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• Target most popular Charging Stations in US• Implement Arduinos into EV Stations• Infect/Pass communication between as many cars as possible.

Implementation Goal

Page 20: Caleb Walter. iPhone style charger Malware channel Exploit Vehicle CAN network Create Covert Channel at Public Charging Stations Custom Arduino CAN EVSE

• http://www.net-security.org/malware_news.php?id=2548

• http://en.wikipedia.org/wiki/CAN_bus#Data_transmission

• http://www.afdc.energy.gov/fuels/electricity_locations.html

• http://www.eia.gov/tools/faqs/faq.cfm?id=93&t=4

Sources