ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should...

33
1 ACComplice: Location Inference using Accelerometers on Smartphones Jun Han , Emmanuel Owusu, Thanh-Le Nguyen Adrian Perrig, Joy Zhang Carnegie Mellon University

Transcript of ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should...

Page 1: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

1

ACComplice: Location Inference using Accelerometers on Smartphones

Jun Han, Emmanuel Owusu, Thanh-Le Nguyen Adrian Perrig, Joy Zhang

Carnegie Mellon University

Page 2: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Introduction

2

•  Smartphones feature numerous sensors •  Many users concerned about GPS sensors leaking

location privacy •  Mobile OS companies were reported to collect GPS location

information of their customers •  Other sensors (e.g., accelerometers) considered benign •  Should we consider acceleration data (accelerometer)

to be privacy sensitive?

Page 3: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Yes, we should!

3

•  Using only accelerometer data, we can derive a car’s traveled route and starting location within a 200 meter radius (without knowing the starting location!)

•  Main Challenges 1.  Initial position is unknown.

•  ACComplice does not rely only on using dead reckoning •  Dead reckoning:

Calculates one’s position using previous position and advances that position with estimated speed and time

2.  Trajectories are very noisy.

Page 4: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Accelerometer

4

•  Measure the acceleration experienced by a device –  Used in many smartphone applications

(e.g., Gaming, Activity Recognition)

•  Can expose sensitive private information to a malicious application!

Page 5: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

5

Adversary Model •  Malicious application logs accelerometer data in the

background

•  Malicious application execute on the mobile device without special privileges –  Needs permission to access accelerometer

•  The application can communicate with the external server

•  OS is not compromised

Page 6: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Background

6

•  Probability Inertial Navigation (ProbIN) uses statistical model to provide estimated trajectory from noisy sensor readings –  Nguyen and Zhang, “Probabilistic Infrastructureless Positioning in the

Pocket”, MobiCase 2011

•  Outperforms traditional approaches –  Traditional physics approach uses double integral of acceleration data

to obtain the displacement – which is less accurate due to aggregated error

–  Dead reckoning is noisy because error accumulates over time and traveled distance

•  Statistical model consists of two parts: –  Translation model –  Trajectory model

Page 7: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

7

ProbIN •  Translation Model:

–  Quantized using K-means clustering into motion labels sequence, M

–  From M, extracts the optimal displacement labels sequence, D

•  Green cluster = Left turn •  Red cluster = Forward •  Blue cluster = Right turn

•  Trajectory Model: –  Using D, establishes a “grammar” for vehicle motion

based on past information (equivalent to n-gram language model)

–  Assigns higher probability to “normal” trajectory patterns •  [Fwd-Fwd-Right-Fwd] vs. [Fwd-Back-Fwd-Back]

Page 8: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Trajectory Reconstruction

•  Car driven for a total of 22 km

•  ProbIN vs Physics Based Approach

•  Although ProbIN seems to be similar to GPS data… –  When overlayed onto a map,

differs significantly –  ProbIN alone cannot provide

useful information about user’s traveled route

8

Page 9: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Contribution

9

•  ACComlice identifies the trajectory and starting point of an individual driving in a vehicle based solely on accelerometer measurements

•  Overview 1. “Snap” trajectory obtained using ProbIN to map 2. Predict starting location

Page 10: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Challenge 1: Map Matching •  Final task is to “snap” trajectory to a real-world

roadways

•  Map each motion trajectory (ProbIN) point to the best corresponding candidate segment – Similarity measures (distance and angle) used to map

motion trajectory onto road segments – Realign the motion trajectory to mitigate inherent noise

effects

10

Page 11: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Map Matching Algorithm

11

Ci = Candidate Segment i Pi = Point i on a motion trajectory

Page 12: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Map Matching Algorithm

12

Ci = Candidate Segment i Pi = Point i on a motion trajectory

Page 13: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Map Matching Algorithm

13

Ci = Candidate Segment i Pi = Point i on a motion trajectory

Page 14: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Map Matching Algorithm

14

Ci = Candidate Segment i Pi = Point i on a motion trajectory

Page 15: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Map Matching Algorithm

15

(a) Pittsburgh, PA (b) Mountain View, CA Indicates the starting point

Page 16: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Challenge 2: Starting Point Prediction •  Align trajectory to all starting points on map and perform map

matching algorithm Compare different starting points to find the most likely starting point

•  Compute difference scores, DS –  DS indicates how similar mapped points are to the

corresponding points on the motion trajectory •  Sum up distances between the two corresponding point pairs

16

–  Mapped points that are similar to the motion trajectory will have smaller sum of the distances Leading to a lower DS

•  Starting point with a lower DS is more likely to be the actual starting point

•  Rank all valid difference scores

Page 17: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

17

Challenge 2: Starting Point Prediction

Page 18: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

18

Page 19: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

19

Page 20: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

20

Page 21: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

21

Page 22: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

22

Pittsburgh, PA

Page 23: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

23

Pittsburgh, PA

Page 24: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

24

Pittsburgh, PA

Page 25: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

25

GPS TrajectoryStretched Factor: 1.50Stretched Factor: 1.25Stretched Factor: 1.00

Pittsburgh, PA

Page 26: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

26

GPS TrajectoryStretched Factor: 1.50Stretched Factor: 1.25Stretched Factor: 1.00

Mountain View, CA

Page 27: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

27

Mountain View, CA

Page 28: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

28

Mountain View, CA

Page 29: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

29

GPS TrajectoryStretched Factor: 1.50Stretched Factor: 1.25Stretched Factor: 1.00

Mountain View, CA

Page 30: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

30

•  Forms a cluster because all points in a cluster get mapped to a similar route •  Locate device owner to within a 200 meters of the true location

(a) Pittsburgh, PA (b) Mountain View, CA

Page 31: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Starting Point Prediction •  Longer trajectories provide more information

–  Counted the number of predicted starting points that form in the 200 meter cluster region, as the length of the trajectory was varied

–  More globally unique constraints –  More points in a cluster region More likely to be a true starting point

31 Length of Motion Trajectory (km)

# of

Sta

rting

Poi

nts

in a

Clu

ster

Reg

ion

Page 32: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

Discussion / Conclusion •  Derive location using only displacements

–  Starting point localized to 200 meter radius. –  Trajectory aligned in close correspondence to the ground truth.

•  Limitations? –  Road network with perfect grid-like structure?

32

•  Number of portable devices equipped with accelerometers increasedmay lead to prevalent attacks

•  Accelerometers cannot be shielded •  Opportunities for more sophisticated attacks

–  Include more constraints (e.g., traffic light timings, speed limits, pot holes, incline changes, road angles)

–  Tracking device?

Page 33: ACComplice: Location Inference using Accelerometers on Smartphones · 2015-07-28 · Yes, we should 3 • Using only accelerometer data, we can derive a car’s traveled route and

33

Jun Han ( [email protected] ) CyLab / Carnegie Mellon University