Securing the Connected Car. Eystein Stenberg Product Manager Mender.io

Similar documents
Securing the Connected Car. Eystein Stenberg CTO Mender.io

Handling Top Security Threats for Connected Embedded Devices. OpenIoT Summit, San Diego, 2016

Software Updates for Connected Devices

Birds of a Feather Session - OSS Vancouver Eystein Stenberg, Mender.io

18-642: Security Mitigation & Validation

Sicherheitsaspekte für Flashing Over The Air in Fahrzeugen. Axel Freiwald 1/2017

Offense & Defense in IoT World. Samuel Lv Keen Security Lab, Tencent

An Experimental Analysis of the SAE J1939 Standard

Automotive Cybersecurity: Why is it so Difficult? Steven W. Dellenback, Ph.D. Vice President R&D Intelligent Systems Division

Cybersecurity Challenges for Connected and Automated Vehicles. Robert W. Heller, Ph.D. Program Director R&D, Southwest Research Institute

Modern Automotive Vulnerabilities: Causes, Disclosure & Outcomes Stefan Savage UC San Diego

Open Source in Automotive Infotainment

Convergence of Safety, Systems & Cybersecurity Bill StClair, Director, LDRA, US Operations

Linux in the connected car platform

SIMPLIFYING THE CAR. Helix chassis. Helix chassis. Helix chassis WIND RIVER HELIX CHASSIS WIND RIVER HELIX DRIVE WIND RIVER HELIX CARSYNC

Fast and Vulnerable A Story of Telematic Failures

Secure Software Update for ITS Communication Devices in ITU-T Standardization

The Remote Exploitation of Unaltered Passenger Vehicles Revisited. 20 th October 2016 Mark Pitchford, Technical Manager, EMEA

Preventing Cyber Attacks on Aftermarket Connectivity Solutions Zach Blumenstein, BD Director Argus Cyber Security

13W-AutoSPIN Automotive Cybersecurity

The Internet of Things. Steven M. Bellovin November 24,

The modern car has 100 million lines of code and over half of new vehicles will be connected by 2020.

Connect Vehicles: A Security Throwback

Security Concerns in Automotive Systems. James Martin

IS CAR HACKING OVER? AUTOSAR SECURE ONBOARD COMMUNICATION

BOSCH CASE STUDY. How Bosch Has Benefited from GENIVI Adoption

A NEW CONCEPT IN OTA UPDATING FOR AUTOMOTIVE

Automotive Anomaly Monitors and Threat Analysis in the Cloud

NIST Cybersecurity Framework Protect / Maintenance and Protective Technology

Ch 1: The Mobile Risk Ecosystem. CNIT 128: Hacking Mobile Devices. Updated

Automotive Cyber Security

Adversary Models. CPEN 442 Introduction to Computer Security. Konstantin Beznosov

How to protect Automotive systems with ARM Security Architecture

Trusted Platform Modules Automotive applications and differentiation from HSM

The case for a Vehicle Gateway.

Threat Modeling. Bart De Win Secure Application Development Course, Credits to

VEHICLE FORENSICS. Infotainment & Telematics Systems. Berla Corporation Copyright 2015 by Berla. All Rights Reserved.

Countermeasures against Cyber-attacks

Connected Car Solutions Based on IoT

Hardening Attack Vectors to cars by Fuzzing

SECURITY TESTING. Towards a safer web world

Sierra Wireless. Corporate Overview. May 2017

18-642: Security Pitfalls

PENETRATION TESTING OF AUTOMOTIVE DEVICES. Dr. Ákos Csilling Robert Bosch Kft., Budapest HUSTEF 15/11/2017

Fundamentals of Information Systems Security Lesson 5 Auditing, Testing, and Monitoring

Securing Vehicle ECUs Update Over the Air

SECURIFY: A COMPOSITIONAL APPROACH OF BUILDING SECURITY VERIFIED SYSTEM

Security and Performance Benefits of Virtualization

Building Trust in the Internet of Things

SMART DELTA: SECURE OVER-THE-AIR (OTA) TECHNOLOGY FOR REMOTE MANAGEMENT OF IOT SOLUTIONS

Christoph Schmittner, Zhendong Ma, Paul Smith

Automotive Attack Surfaces. UCSD and University of Washington

How to Introduce Virtualization in AGL? Objectives, Plans and Targets for AGL EG-VIRT

SECURING THE CONNECTED ENTERPRISE.

Secure coding practices

Connected Cars as the next great consumer electronics device

Uptane: Securely Updating Automobiles. Sam Weber NYU 14 June 2017

Risk-based design for automotive networks. Eric Evenchik, Linklayer labs & Motivum.io Stefano Zanero, Politecnico di Milano & Motivum.

Future Implications for the Vehicle When Considering the Internet of Things (IoT)

ARM Security Solutions and Numonyx Authenticated Flash

Using Threat Analytics to Protect Privileged Access and Prevent Breaches

OTA and Remote Diagnostics

Automotive Gateway: A Key Component to Securing the Connected Car

Securing the Autonomous Automobile

The 5 Elements of IoT Security. Julien Vermillard - Sierra Wireless

CONTROLLER AREA NETWORK (CAN) DEEP PACKET INSPECTION. Görkem Batmaz, Systems Engineer Ildikó Pete, Systems Engineer 28 th March, 2018

Protect Your End-of-Life Windows Server 2003 Operating System

Embedded Software: Its Growing Influence on the Hardware world

ENDPOINT SECURITY WHITE PAPER. Endpoint Security and the Case For Automated Sandboxing

How Security Mechanisms Can Protect Cars Against Hackers. Christoph Dietachmayr, CIS Solution Manager EB USA Techday, Dec.

IBM Future of Work Forum

ESOA > The Connected Automobile. Connected Automobiles Market Overview Paul Gudonis, Global Network & Services

CSWAE Certified Secure Web Application Engineer

ivilink Automotive Connectivity Framework Overview

Securing Software Updates for IoT Devices with TUF and Uptane. Ricardo Salveti Principal Engineer

Protect Your End-of-Life Windows Server 2003 Operating System

Smart Grid Embedded Cyber Security: Ensuring Security While Promoting Interoperability

CANSPY A Platform for Auditing CAN Devices

Car Hacking for Ethical Hackers

Securing the future of mobility

Firmware Updates for Internet of Things Devices

Security: The Key to Affordable Unmanned Aircraft Systems

Experimental Security Analysis of a Modern Automobile

INSPIRING IOT INNOVATION: MARKET EVOLUTION TO REMOVE BARRIERS. Mark Chen Taiwan Country Manager, Senior Director, Sales of Broadcom

OWASP TOP Release. Andy Willingham June 12, 2018 OWASP Cincinnati

M2MD Communications Gateway: fast, secure, efficient

Addressing Future Challenges in the Development of Safe and Secure Software Components The MathWorks, Inc. 1

Improving Security in Embedded Systems Felix Baum, Product Line Manager

Embedded Management Interfaces

Fending Off Cyber Attacks Hardening ECUs by Fuzz Testing

Robert Hayes Senior Director Microsoft Global Cyber Security & Data Protection Group

Examining future priorities for cyber security management

System-level threats: Dangerous assumptions in modern Product Security. Cristofaro

10 FOCUS AREAS FOR BREACH PREVENTION

A Secure Update Architecture for High Assurance Mixed-Criticality System Don Kuzhiyelil Dr. Sergey Tverdyshev SYSGO AG

Certified Secure Web Application Engineer

90% of data breaches are caused by software vulnerabilities.

Conquering Complexity: Addressing Security Challenges of the Connected Vehicle

Preventing External Connected Devices From Compromising Vehicle Systems Vector Congress November 7, 2017 Novi, MI

Brochure. Security. Fortify on Demand Dynamic Application Security Testing

Transcription:

Securing the Connected Car Eystein Stenberg Product Manager Mender.io

The software defined car Electronics Telematics Infotainment Connected Assisted driving Autonomous Hardware enabled Software enabled Software defined 1990 2000 2010 2020

About me Eystein Stenberg Mender.io CS/Crypto master s Over-the-air updater for Linux, Yocto M. Sc., Computer Science, Cryptography Under active development eystein@mender.io Open source

Session overview Opportunities with the software defined car Anatomy of an attack: security risks of the connected car The patching problem & solution designs

Software defined car: New revenue streams Tesla Semi-autonomous Autopilot feature allows current Model S owners to add the feature for $2,500 USD when they order the vehicle or they can pay $3,000 USD to upgrade later An OTA update system allows for easy additional software purchases after buyers drive their cars off the lot Morgan Stanley report Selling content to occupants of the car could be a significant new revenue stream Navigant Research Automakers could add up to $27.1B/annually from services such as car sharing and more

Cost savings by using open source platforms IVI stack Cost Differentiation HMI Apps 10% 30% Lower layers are expensive and provides no differentiation Use open source here to Middleware Shorten time-to-market Operating system 60% Lower cost Board support pkg. Reallocate development to differentiating features Hardware Focus on open source here

The software defined car requires OTA updates Increased software complexity requires more frequent improvements ABI Research Estimates that 1/3 rd of current recalls are for problems that could be fixed OTA IHS Automotive Estimates OTA updates will save carmakers $35B in 2022 Fiat Chrysler hack required a recall of 1.4 million vehicles Software security flaw that allowed hackers to takeover Jeep Cherokee The flaw could have been remediated via software over-the-air

Jeep Cherokee hacked in July 2015 Presented at Black Hat USA 2015 Charlie Miller Chris Valasek Remote exploit giving full control of the car Clearly demonstrates physical safety risk No way to fix remotely 1.4 million cars recalled

Jeep Cherokee Head Unit with Wifi Wifi hotspot offered as a service Cherokee customers can buy wifi subscription as an add-on (~$40/month) Head unit, IVI Connect devices in the car to the car s wifi to get online (phones, tablets, ) Wifi is password protected

Wifi-based Breach: Short-range Guessable password Wifi password based on system time after provisioning January 01 2013 00:00 GMT +- 1 minute Software vulnerability Multimedia system breached due to software vulnerability Scope: Control music player/radio/volume and track GPS coordinates when within wifi range

Cellular-based Breach: Country-wide Breach Sprint Cellular network Scope: Control music player/radio/volume and track GPS coordinates countrywide Software vulnerability Can also select a specific Jeep based on its GPS-coordinates

The Controller Area Network (CAN) bus Diagnostics The CAN bus connects ~70 electronic control units (ECUs), including engine control, transmission, airbags, braking V850 chip Read-only V850 chip is designed to only read from the CAN bus, to isolate components

CAN bus Malicious firmware update V850 chip The head unit can update the firmware of the V850 Firmware update authenticity not checked properly Full control

Putting it together Cellular breach Vulnerability FW update Lessons Wifi hotspot password was predictable Remotely accessible service (in head unit) was vulnerable (and not updated) Firmware update (for V850) did not have proper authenticity checks The only way to fix the vulnerabilities is through a manual update (by customer or dealership)

More complexity leads to larger attack surface 1-25 bugs per 1000 lines of code* Assume that all software components have vulnerabilities Rely on well-maintained software and keep it updated Open source vs. proprietary is a red herring Do not build all the software in-house Principle of least privilege Separation of privilege Kerckhoff s principle *Source: Steve McConnell, Code Complete

Security patching is done too late 110 days: remediation time avg. 60 days: >90% probability it is exploited 5-10 days: <10% probability it is exploited Source: How the Rise in Non-Targeted Attacks Has Widened the Remediation Gap, Kenna Security

Why security patching happens too late The value is invisible until too late Too costly or risky Manual? Too expensive to integrate updater? Requires downtime of production? Risk of breaking production? Politics How often do you patch? Do you have a way to do it? A process? Often not a core competence and not a priority to develop updater

Patching connected devices is harder No/expensive physical access Need failure management Unreliable power What if power disappears in the middle of patching? Unreliable (wireless) network connectivity Handle partial downloads Ideally resume downloads in expensive networks like 3G Public and insecure (wireless) networks Can someone inject arbitrary code during the update process? Verify authenticity of update

Embedded client patching process overview Detect update Download Integrity Authenticate Checksum Signature verification Roll back? Install Extract Decrypt Important, but not trivial May not need this

Choice of update type has tradeoffs Full image Package (opkg, ) tar.gz Docker/Containers Download size Large* Small Small Medium Installation time Long* Short Short Short Rollback Yes (dual partition) Hard Hard Yes Consistency Yes Medium Hard Yes Design impact Bootloader, Partition layout Package manager tar,... Kernel, docker * Can mitigate with compression or binary diffs

Strategies to reduce the risk of bricking Integrity checking This must be done Easy to implement What can go wrong? Rollback support This should be a requirement: power loss, installation error, etc. Could be hard depending on update type (tarball, package) Phased rollout I.e. don t deploy update to all devices in one go Most do this to some extent: test & production environments Can be more granular on device population (1%, 10%, 25%, 50%, )

Prepare for securing the software defined car Open source software where no differentiation Well-maintained software Over-the-air updates Apply well-known security design principles