+ All Categories
Home > Documents > HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… ·...

HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… ·...

Date post: 18-Oct-2020
Category:
Upload: others
View: 9 times
Download: 0 times
Share this document with a friend
26
HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALL Mert D. Pesé, Karsten Schmidt Audi Electronics Venture GmbH Harald Zweck Infineon Technologies AG
Transcript
Page 1: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALL

Mert D. Pesé, Karsten Schmidt

Audi Electronics Venture GmbH

Harald Zweck

Infineon Technologies AG

Page 2: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Agenda

Introduction

Concept

Implementation

Results

Outlook

2017-01-1659 2

Page 3: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Automotive cybersecurity is an emerging field

Introduction

2017-01-1659 3

Page 4: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Definition of countermeasures

• based on a holistic security concept for vehicles

Introduction

2017-01-1659 4

Page 5: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Holistic network security concept consisting of four barriers

• Access control to network

• Secure on-board communication

• Data usage policies

• Anomaly detection and defense

Introduction

52017-01-1659

Page 6: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Holistic network security concept consisting of four barriers

• Access control to network Firewall

• Secure on-board communication

• Data usage policies

• Anomaly detection and defense

Introduction

62017-01-1659

Page 7: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Agenda

Introduction

Concept

Implementation

Results

Outlook

2017-01-1659 7

Page 8: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

E/E Architecture: Next-Generation Domain Architecture

Concept

2017-01-1659 8

Connectivity

Gateway

Powertrain ADAS Infotainment BodySafety

Diagnostic

Interface

Antenna

Module

CAN CAN CAN CAN-FD

Ethernet

Ethernet CAN

Page 9: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Abstract system model

Concept

2017-01-1659 9

Page 10: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Evaluation of firewall performance based on automotive

requirements

• E2E latency

• Jitter

• Throughput

• Memory/RAM consumption

• CPU utilization

Concept

2017-01-1659 10

Page 11: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Latency and throughput requirements in in-vehicle networks

Concept

2017-01-1659 11

Source: Y. Lee and K. Park. Meeting the real-time constraints with standard Ethernet in an

in-vehicle network

Page 12: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Experimental setup

Concept

2017-01-1659 12

Page 13: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Firewall features

• Successive analysis stages on MCU

Concept

2017-01-1659 13

Page 14: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Definition of assessment matrix based on requirements

• (N)PF: (No) Packet Filter

• SIF: Stateful Inspection Firewall

Concept

2017-01-1659 14

CPU load

(% MCU)

RAM

consumption

(% MCU)

E2E latency

Worst Case

(µs)

MCU NPF

MCU PF

MCU PF+SIF

FPGA PF

MCU+FPGA

combined

Page 15: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Adversary model

Concept

2017-01-1659 15

Source: Broadcom

Page 16: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Agenda

Introduction

Concept

Implementation

Results

Outlook

2017-01-1659 16

Page 17: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Implementation

2017-01-1659 17

Altera Cyclone V SoC

Development Kit

Infineon AURIX

TriCore TC297-TF

Page 18: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Agenda

Introduction

Concept

Implementation

Results

Outlook

2017-01-1659 18

Page 19: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

E2E latency MCU

500 rules: 2.3 ms → 2.2 ms overhead

Results

2017-01-1659 19

Page 20: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

E2E latency FPGA

Results

2017-01-1659 20

Page 21: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

RAM consumption MCU

500 rules: 107 kB → 33 kB overhead

Results

2017-01-1659 21

Page 22: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

CPU utilization

Results

2017-01-1659 22

Page 23: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Assessment matrix

• TCP traffic

Results

2017-01-1659 23

CPU load

(% MCU)

RAM

consumption

(% MCU)

E2E latency

Worst Case

(µs)

MCU NPF 8.8 9.7 132

MCU PF 8.835 9.9 210

MCU PF+SIF 8.83 10 147

FPGA PF n/a n/a 3

MCU+FPGA

combined

8.83 9.8 150

Page 24: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Agenda

Introduction

Concept

Implementation

Results

Conclusion and Outlook

2017-01-1659 24

Page 25: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Distributed approach: HW firewall in GW, SW firewall on DCs

Trade-off SW ↔ HW regarding latency and RAM

Future Work

• Content-addressable memory (CAM)

• Application Layer filtering (DoIP, SOME/IP)

• Deep Packet Inspection in HW

• Consideration of external traffic model

Conclusion and Outlook

2017-01-1659 25

Page 26: HW/SW CO-DESIGN OF AN AUTOMOTIVE EMBEDDED FIREWALLmpese/papers/SAE_Firewall_Presentati… · Distributed approach: HW firewall in GW, SW firewall on DCs Trade-off SW ↔ HW regarding

SAE INTERNATIONAL

Contact

Mert D. Pesé

2260 Hayward Street

Ann Arbor, MI 48109-2121

[email protected]

(734) - 489 - 2825

2017-01-1659 26


Recommended