ibbt nextgenits project - cosic.esat.kuleuven.be · ibbt nextgenits project 4 road tolling. 24 june...

24
K.U.Leuven Josep Balasch IBBT NextGenITS Project Next Generation Intelligent Transport Systems KULeuven ESAT/SCD/COSIC IBBT, Belgium BCRYPT Symposium on Embedded Security 24 June 2010 IBBT NextGenITS Project 24 June 2010 Acknowledgements: Carmela Troncoso

Upload: others

Post on 24-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

K.U.Leuven

Josep Balasch

IBBT NextGenITS ProjectNext Generation Intelligent Transport Systems

KULeuven ESAT/SCD/COSIC – IBBT, Belgium

BCRYPT Symposium on Embedded Security24 June 2010

IBBT NextGenITS Project 24 June 2010

Acknowledgements: Carmela Troncoso

Page 2: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Implement and demonstrate a number of ITS services (ITS: Intelligent Transport Systems)

• Subprojects:

o SP1. Traffic Information

o SP2. E-Call (Emergency Call)

o SP3. ISA (Intelligent Speed Adaptation)

o SP4. Road Tolling

o SP5. Cooperative Systems (V2V, V2I)

o SP6. Multi-Application Platform

2IBBT NextGenITS Project

IBBT NextGenITS Project

focus of this talk

Page 3: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Academic & Industry Partners involved:

IBBT NextGenITS Project

Sub-Project 4: Road Tolling

3

Page 4: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Idea: Differentiated payment for mobility

o Drivers should pay according to their road usage– Long trips, high density roads, rush hours higher fee

– Sporadic use, second vehicle, young drivers smaller fee

• Motivation

o Address mobility problem

o Mentality and behavioral change

o Fairness: heavy users have to pay more

• aka: Road Charging, Road Pricing, Electronic Toll Pricing,...

4IBBT NextGenITS Project

Road Tolling

Page 5: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Introduced at European Level:o Directive 2004/52/EC (interoperability)o Commission Decision Oct. 2009 (technical elements)

• European Electronic Toll Service (EETS)o Arquitecture and actors involvedo In-vehicle installation of On-Board Unit (OBU)o Interfaces and capabilities:

• GNSS: Global Navigation Satellite System (GPS)• DSRC: Dedicated Short-Range Communications• GRPS/GSM network

• Within three years for vehicles above 3.5 tons, all other vehicles within five years

5IBBT NextGenITS Project

Road Tolling in European Union

Page 6: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010 6IBBT NextGenITS Project

EETS straightforward implementation

GPS Satellites Toll Service Provider Driver

OBU

GPS GSM

Bill

Fee Calculation

Toll Charger

Payment

• Most common architecture in Pay As You Drive (PAYD) insurance solutions

Page 7: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Government

o Interest: Mobility problem

o Role: Establish policies, law enforcement

• Industry (chip manufacturers, GSM providers, ...)

o Interest: New business oportunities

o Role: Provide infrastructure

• Users

o Interest: Mobility problem, economics

o Role: Using the system, but

o Privacy at risk

7NextGenITS project

Stakeholders in EETS

Page 8: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Issues for customers:

o Fine grained GPS data allows for inferences:

• Medical issues (visit to Cancer specialized clinic)

• Political affiliation (visit to headquarters of political party)

• Industry espionage (visits to other companies)

o Pay As You Drive (PAYD) experience:

• “Surveillance fears force Norwich to scrap PAYD car policies”, The Independent (UK), 17 June 2008 [1]

o User acceptance of mandatory system:

• “Will the ‘antisocial’ Big Brother solve traffic jams?”, De Standaard (BE), 17 November 2009 [2]

8NextGenITS project

Privacy at risk

[1] http://www.independent.co.uk/news/business/news/848562.html[2] http://dsonline.be/artikel/detail.aspx?artikelid=MN2I3PVN

Page 9: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• What data is necessary for the provision of the service?

o Final fee that users pays to provider/government

• Privacy-by-Design guidelines:

o Introduce privacy as a requirement of the system

o Data minimization; personal data in user’s domain

o Overal goal of the system should not be altered

• Legal Issues:

o Actors must not be able to cheat

o Actors must be held liable in case of system’s misuse

9NextGenITS project

Privacy for Road Tolling

Page 10: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010 10IBBT NextGenITS Project

Privacy-Friendly Electronic Toll Pricing

• No personal data leaves the domain of the user

o Data minimization

• Only final fee is sent to Toll Service Provider

• Only driver has access to his own location data– Shared key between Toll Service Provider and driver

GPS Satellites Toll Service Provider Driver

OBU

GPS GSM

Fee Reporting

Fee Calculation

Bill

Updates

Encrypted Location Data

Page 11: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010 11NextGenITS project

Data Flow and Operations

$GPGGA,092204.999,4250.5589,S,14718.5

084,E,1,04,24.4,19.7,M,,,,0000*1F ...

GPS DATA

HOUR | TYPE ROAD | DISTANCE

18:40:11 | 3 | 14

18:41:39 | 1 |5

...

MAPPED DATAHOUR | TYPE ROAD | PRICE Km

00u – 08u | 1 | 0,01€

.......................................

20u – 00u | 3 | 0,01€

POLICY

PREMIUM DATA

MAP-MATCHING

PREMIUM CALCULATION

Ï{ÔlÚu¡•G­ÙdÂYÅbA??z¿]C?e¬d?G´Ý½µOÑ

bïw©?»QÅPG±ô?h´Ç§åvi·­HE¦­• ...

ENCRYPTED GPS DATAENCRYPT

GPS

ÏnÝpd¤G±ü• ...

ENCRYPTED PREMIUM

ENCRYPT

PREMIUM

GPS USB

GSM

1.12 €

Page 12: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Technical means do not suffice

o OBU in control of potentially malicious users

o Attacker model: internal & external tampering

• Instead technology can help:

o Detect vehicles with inactive OBUs

o Detect vehicles using false location data

o Detect vehicles using incorrect road prices

o Detect vehicles reporting false final fees

• Combination of law + technology

12NextGenITS project

Law-Enforcement

Page 13: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Remote attestation mechanism

o Ad-hoc solution for privacy-preserving road tolling

13NextGenITS project

Random spot-check model

Toll Service Provider

Toll Charger

OBULicense PlateReader

(1) commit phase+ loc + time

+ loc + time

(5) open phase

(3)

(4)

(6) response

(2)

Page 14: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Slice trajectory in segments (e.g., 1 Km)

o Each segment has assigned a certain price per Km (pi)

o The price is specified by the policy, example:

pi = ƒ (road type, time day)

o A payment tuple is created for each segment

14NextGenITS project

Commit Phase

Payment Tuple 1 Payment Tuple 2 Payment Tuple 3

Commitment to location data

Homomorphic commitment to price

Proof that price belongs to policy

Page 15: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010 15NextGenITS project

Commitment to Location Data

OBU Toll Service Provider

Were you at ... ?

+*

HIDING PROPERTY1 Km segments

BINDING PROPERTY

::

::

::

::

1

1

1 1

N

N

N N

1 1

1 1

1

1

N

Page 16: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010 16NextGenITS project

Homomorphic Commitments to Price

OBU Toll Service Provider

1

N

fee

p1

pN

feefee+

1

N

::

::

::

:: :

:

1

N

fee=

pk

1

N

= k

fee=

k

fee*

feefee

Page 17: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Attacker can send a commitment to a “negative price”

o Not detected unless vehicle is spotted in that segment, and commitments need to be opened.

• Solution: Zero-knowledge Proofs

o Prove that an statement is true, without revealing anything other than the veracity of the statement

• Road Tolling scenario:

o OBU proves to the Service Provider that the prices used in the commitment are in accordance to its policy

17NextGenITS project

One last issue...

Page 18: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010 18NextGenITS project

Proof of possession of signature

OBU Toll Service Provider

pk k k

k

NON-INTERACTIVE VERIFICATIONReduces communication overhead

“STATEMENT”Price pk used in the commitment is signed by the Toll Service Provider

00u00 – 07u00 22u00 – 00u00

Highway p1 · · · · · · · · · p2

Primary p3 · · · · · · · · · p4

· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·

Residential pn-1 · · · · · · · · · pn

SKTSP

Page 19: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010 19NextGenITS project

Instantiation of the protocol

RIPEMD-160

Damgård-Fujisaki integer commitment scheme

Proof of possession of CL-RSAsignature

2 Mod. exp.1 Mod. mul.1 Rand. num.

14 Mod. exp.9 Mod. mul.

10 Rand. num.8 Additions8 Multiplic.

BOTTLENECK

Page 20: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Build OBU embedded platform

o Off-the-shelf hardware components

o Free licensed software tools

20NextGenITS project

Performance Analysis (I)

BATTERY

GPS RECEIVERPROCESSING UNIT

PROCESSOR

INTERNAL MEMORY

CRYPTOGRAPHIC LIBRARY

EXTERNAL MEMORY

POLICY

ROAD MAPS

ENCRYPTED GPS

DRIVER INTERFACE

GSM MODEM

NXP LPC2388 (ARM7)TELIT GM862-GPS SD CARD OpenStreetMap

Page 21: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• OBU implementation detailso Cryptographic library in software

• Montgomery for modular arithmetic• Multiexponentiation algorithms ( abcd mod n )• Salsa20 stream cipher as random number generator• AES in CCM mode for authenticated encryption• PKCS #1 for Public Key Cryptography

o Map-matching• Digital road maps not optimized for this purpose• Byte-oriented access library to SD Card external memory

• TSP implementation detailso Commodity computer (IntelCore2Duo)o GMP library for cryptographic operations

21NextGenITS project

Performance Analysis (II)

Page 22: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Test scenario: 1-hour journey in urban area

• Full digital road map of Belgium in SD Card

• Evaluation for different security levels

• Feasible, yet there is room for improvements:

o Efficient map-matching, coprocessor, ...

22NextGenITS project

Performance Analysis (III)

Security

Operation

Medium

(1024 bit)

High

(1536 bit)

Very High

(2048 bit)

Map-Matching 839.11 s

One segment 7.88 s 22.13 s 47.79 s

Max. Speed 350 km/h 124 km/h 57 km/h

OBU timings and average speed tolerance for a 1-hour journey

Security

Commit

Medium

(1024 bit)

High

(1536 bit)

Very High

(2048 bit)

0.5 Km 82 000 29 000 14 000

1 Km 164 000 58 000 29 000

2 Km 329 000 117 000 58 000

TSP capacity tolerance assuming an average of 1500 km/month/vehicle

Page 23: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Design of privacy-friendly Road Tolling is possible

• Strong security and privacy guarantees

o No location data disclosed to the provider

o No actor can commit fraud without being detected

• Law compliant

o Data minimization; personal data in user’s domain

• System is feasible, even for worst-case scenario

o Proof-of-concept using OBU embedded platform

23NextGenITS project

Conclusions

Page 24: IBBT NextGenITS Project - cosic.esat.kuleuven.be · IBBT NextGenITS Project 4 Road Tolling. 24 June 2010 •Introduced at European Level: o Directive 2004/52/EC (interoperability)

24 June 2010

• Questions?

• Referenceso C. Troncoso, G. Danezis, E. Kosta, and B. Preneel, “PriPAYD: Privacy-Friendly Pay As You Drive

insurance”, In Proceedings of the ACM Workshop on Privacy in the Electronic Society (WPES'07), ACM Press, pp.99-107, 2007.

o J. Balasch, I. Verbauwhede, and B. Preneel, "An Embedded Platform for Privacy-Friendly Road Charging Applications," In Design, Automation and Test in Europe (DATE 2010), IEEE, pp. 867-872, 2010.

o J. Balasch, A. Rial, C. Troncoso, C. Geuens, B. Preneel, and I. Verbauwhede, "PrETP: Privacy-Preserving Electronic Toll Pricing," In 19th Usenix Security Symposium, 16 pages, 2010 (to appear)

24NextGenITS project

Thanks for your attention