mole: motion leaks through smartwatch sensors

67
MoLe: Motion Leaks through Smartwatch Sensors Master’s course 29th, Park Joon Young

Upload: joon-young-park

Post on 21-Jan-2017

425 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: MoLe: Motion Leaks through Smartwatch Sensors

MoLe: Motion Leaks through Smartwatch Sensors

Master’s course 29th, Park Joon Young

Page 2: MoLe: Motion Leaks through Smartwatch Sensors

Contents• Attack concept / Contributions • Previous works • First look • System overview / Assumption • Design details / Evaluation • Discussion • Related works • Future works

Page 3: MoLe: Motion Leaks through Smartwatch Sensors

Attack concept

Page 4: MoLe: Motion Leaks through Smartwatch Sensors

Accelerometer

Gyroscope

NO PERMISSIONS

Attack concept

Page 5: MoLe: Motion Leaks through Smartwatch Sensors

Identifying the leakage - key-press detection - handmotion tracking- cross-user data matching- Bayesian inference

Developing the system - Samsung Gear Live smart watch- experimenting with real users- revealing accuracy

Contributions

Page 6: MoLe: Motion Leaks through Smartwatch Sensors

Previous Works

Page 7: MoLe: Motion Leaks through Smartwatch Sensors

Key logging based on side-channels

Attacks using sensors on smartphone

Previous Works

Keyboard Acoustic Emanations (2004) - neural network

TouchLogger (2011) - accelerometer

Timing Analysis SSH (2001) - Hidden Markov Model

KeySweeper (2015) - RF signal

Compromising Electromagnetic Emanations (2009) - electromagnetic

ACCessory (2012) - accelerometer

On the Practicality - (2012) - gyroscope, accelerometer

TapPrints (2012) - gyroscope, accelerometer

(sp)iPhone (2011) - accelerometer

Page 8: MoLe: Motion Leaks through Smartwatch Sensors

Key logging based on side-channels

Attacks using sensors on smartphone

Previous Works

Keyboard Acoustic Emanations (2004) - neural network

TouchLogger (2011) - accelerometer

Timing Analysis SSH (2001) - Hidden Markov Model

KeySweeper (2015) - RF signal

Compromising Electromagnetic Emanations (2009) - electromagnetic

ACCessory (2012) - accelerometer

On the Practicality - (2012) - gyroscope, accelerometer

TapPrints (2012) - gyroscope, accelerometer

(sp)iPhone (2011) - accelerometer

MoLe (2015)- gyroscope, accelerometer

Page 9: MoLe: Motion Leaks through Smartwatch Sensors

First look

Page 10: MoLe: Motion Leaks through Smartwatch Sensors

First look

• Tested with computer vision techniques. (NOT accel / gyro data)

• Left hand only

• “F” is home position

Page 11: MoLe: Motion Leaks through Smartwatch Sensors

X axis displacements

watch’s X axis

time(sec)

First look

Page 12: MoLe: Motion Leaks through Smartwatch Sensors

First look

Page 13: MoLe: Motion Leaks through Smartwatch Sensors

System overview

Page 14: MoLe: Motion Leaks through Smartwatch Sensors

• MoLe app installed on smartwatch

• Sensor data receiving at the server

System overview

Page 15: MoLe: Motion Leaks through Smartwatch Sensors

System overview

!

"

#$

%&

Page 16: MoLe: Motion Leaks through Smartwatch Sensors

Assumptions

• One word at a time

• Only on English

• Only on Samsung smart watch (can compute CPC for other model)

• Appropriate typing fingers

Page 17: MoLe: Motion Leaks through Smartwatch Sensors

Design details

Page 18: MoLe: Motion Leaks through Smartwatch Sensors

Design details

Keystroke detector

Point cloud fitting

Bayesian inference

Page 19: MoLe: Motion Leaks through Smartwatch Sensors

Design details

• Z axis of the watch

• FP / FN occurs

• Bagged decision tree

- Keystroke detector -

Page 20: MoLe: Motion Leaks through Smartwatch Sensors

Bagging decision tree

• Decision tree

• Bootstrap aggregating-> Bagging

• Attempt again and again, average each samples

Page 21: MoLe: Motion Leaks through Smartwatch Sensors

Design details

• Z axis of the watch

• FP / FN occurs

• Bagged decision tree

- Keystroke detector -

Page 22: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Keystroke detector -

Pressed-or-not accuracy

Page 23: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Keystroke detector -

Page 24: MoLe: Motion Leaks through Smartwatch Sensors

MoLe against Android API

• Find / Remove gravity

• Calculate displacement

• Kalman smoothing

Page 25: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Keystroke detector -

Page 26: MoLe: Motion Leaks through Smartwatch Sensors

Design details

Keystroke detector

Point cloud fitting

Bayesian inference

Page 27: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Point cloud fitting -

Generate convex hulls of CPC / UPC

Calculate centroids

Rotate & Scale

Page 28: MoLe: Motion Leaks through Smartwatch Sensors

Design details

Keystroke detector

Point cloud fitting

Bayesian inference

Page 29: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference -

Page 30: MoLe: Motion Leaks through Smartwatch Sensors

- Bayesian inference -

Page 31: MoLe: Motion Leaks through Smartwatch Sensors

• : candidate word(dictionary)

• : observation motion data

• : posterior probability

• : probability word W based on the observed motion data

• : prior probability, captures the word’s occurrence frequency

• : probability of the observation

Design details- Bayesian inference -

same for all possible words

assume, equal among words

Key Goal : obtaining high values

Page 32: MoLe: Motion Leaks through Smartwatch Sensors

Bayesian inference

Page 33: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 1 -

Page 34: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 1 -

* example * “apple” -> ap, ap, al, ae, pp, pl, pe, pl, pe, le

t(O) h(O) e(X)

t(O) h(X) e(O)

t(X) h(O) e(O)

Page 35: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 2 -

• Consecutive characters

• “er”, “re”, “ea”, “fa”

• Treat as one key

🤔

Page 36: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 3 -

• 2D displacements

• Point cloud fitting makes better predict

• Gaussian distribution

Page 37: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 3 -

• 2D displacements

• Point cloud fitting makes better predict

• Gaussian distribution

Page 38: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 3 -

• 2D displacements

• Point cloud fitting makes better predict

• Gaussian distribution

Page 39: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 3 -

• 2D displacements

• Point cloud fitting makes better predict

• Gaussian distribution

Page 40: MoLe: Motion Leaks through Smartwatch Sensors

Design details- Bayesian inference : Step 3 -

• 2D displacements

• Point cloud fitting makes better predict

• Gaussian distribution Probability density of given character

Page 41: MoLe: Motion Leaks through Smartwatch Sensors

• Detect sequential movements

• Considers previous character

Design details- Bayesian inference : Step 4 -

Page 42: MoLe: Motion Leaks through Smartwatch Sensors

• Detect sequential movements

• Considers previous character

Design details- Bayesian inference : Step 4 -

Page 43: MoLe: Motion Leaks through Smartwatch Sensors

• Missing keys from right hand

• Check time interval every possible character-sequence

• Compensates speed bias between attacker and attackee with a factor

Design details- Bayesian inference : Step 5 -

Page 44: MoLe: Motion Leaks through Smartwatch Sensors

• Missing keys from right hand

• Check time interval every possible character-sequence

• Compensates speed bias between attacker and attackee with a factor

Design details- Bayesian inference : Step 5 -

🤔

Page 45: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

Page 46: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation• Gyroscope readings at 200Hz with timestamps

• 8 subjects, 5 native English speakers, 3 females

• 300 words randomly selected from 5000 most frequently used words

• word-length ranged from 1 to 14

• re-enter if incorrectly typed

• Between each word, hand position initialized on “F” and “J”

• Two attackers, trained Top-500 longest words in the dictionary on same keyboard

Page 47: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

30% for 5 possible words

50% for 24 possible words

🤔(1) How well can MoLe guess each word?

Page 48: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

Better results

(1) How well can MoLe guess each word?

Page 49: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

(2) What factors affect the rank?

Page 50: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

(3) Impact of each Bayesian opportunity

Page 51: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

(4) Impact of sampling rate

Page 52: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

(5) Keyboard variant

Page 53: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

(6) Recovery via human observation

Page 54: MoLe: Motion Leaks through Smartwatch Sensors

Evaluation

(6) Recovery via human observation

are

Page 55: MoLe: Motion Leaks through Smartwatch Sensors

Discussion

Page 56: MoLe: Motion Leaks through Smartwatch Sensors

Discussion

Confined to separate words

Applying nature language processing

Typing activity classifier

Page 57: MoLe: Motion Leaks through Smartwatch Sensors

Conclusion

Page 58: MoLe: Motion Leaks through Smartwatch Sensors

Identifying the leakage - key-press detection - handmotion tracking- cross-user data matching- Bayesian inference

Developing the system - Samsung Gear Live smart watch- experimenting with real users- revealing accuracy

Conclusion

Page 59: MoLe: Motion Leaks through Smartwatch Sensors

Sensor data can leak informations

Diminishing the sampling rate of the sensors can alleviate the attack

Wearable devices could be “double edged sword”

Conclusion

Page 60: MoLe: Motion Leaks through Smartwatch Sensors

Related works

Page 61: MoLe: Motion Leaks through Smartwatch Sensors

Related works- (Smart)Watch Your Taps -

NHHT HHT

Page 62: MoLe: Motion Leaks through Smartwatch Sensors

Related works

• Classification algorithms- Simple linear regression - Random forest - K-nearest neighbors

- (Smart)Watch Your Taps -

Page 63: MoLe: Motion Leaks through Smartwatch Sensors

Related works

• Classification algorithms- Simple linear regression - Random forest - K-nearest neighbors

- (Smart)Watch Your Taps -

Page 64: MoLe: Motion Leaks through Smartwatch Sensors

Related works- We can track you .. Metro -

• Tracking metro riders using accelerometers on smartphones

• boosted Naive Bayesian (AdaBoost)

• Decision trees (Random forest)

Page 65: MoLe: Motion Leaks through Smartwatch Sensors

• Naive Bayesian - family of algorithms based on a common principle - a particular feature is independent of any other feature

• AdaBoost(Adaptive Boosting) - machine learning meta-algorithm - can be used in conjunction with many other types of algorithms- ‘weak learners’ can boost classify

• Decision trees (Random forest)

Related works- We can track you .. Metro -

Page 66: MoLe: Motion Leaks through Smartwatch Sensors

Related works- We can track you .. Metro -

Page 67: MoLe: Motion Leaks through Smartwatch Sensors

Question & Answer