Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*,...

31
Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1* , David Molnar 2 , Alexander Moshchuk 2 , Alan Dunn 1* , Benjamin Livshits 2 , Helen J. Wang 2 , and Eyal Ofek 2 1 University of Texas at Austin 2 Microsoft Research * Work done during internship at Microsoft Research USENIX Security 2013

Transcript of Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*,...

Page 1: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Enabling Fine-Grained Permissions for Augmented Reality

Applications With Recognizers

Suman Jana1*, David Molnar2, Alexander Moshchuk2, Alan Dunn1*, Benjamin Livshits2,

Helen J. Wang2, and Eyal Ofek2

1University of Texas at Austin2Microsoft Research

* Work done during internship at Microsoft Research

USENIX Security 2013

Page 2: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Augmented Reality (AR) : the new frontier!

2

http://www.layar.com/layers/clicmobiletestlayar/SoundWalk app on Layar AR browser

Page 3: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Augmented Reality (AR) : the new frontier!

3

http://www.ea.com/ea-sports-active-2EA Sports Active 2

Page 4: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Augmented Reality (AR) : the new frontier!

4

Google Glass navigation

Page 5: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

AR application pipeline

5

recognizeobjects

transform

render

Page 6: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

AR application pipeline

6

recognizeobjects

transform

render

current AR applications do it all

by themselves!

all these stages need platform

support (HotOS’13)

topic of today’s talk

Page 7: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

all apps see this

Privacy concern: unrestricted access

7

Page 8: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

all apps see this

Privacy concern: unrestricted access

8

tons of sensitive information!

Page 9: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

AR tour guide

Functionality concern: one app at a time

9

AR navigator

can’t run concurrently

Page 10: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Scalability concern: must scale to multiple concurrent applications

10

Page 11: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

What can we do with today’s abstraction?

11

recognizeobjects transform render

recognizeobjects transform render

a lot of repetitive work across apps

hard to maintain usable frame rate

2x overhead for 2 Kinect Apps app 1

app 2

Page 12: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

RECOGNIZERS: A NEW ABSTRACTION

12

Page 13: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Introducing recognizers

• A new platform abstraction to recognize real-world objects – generates events that apps can subscribe to

• Fine-grained control over detected objects • Can enforce least privilege – each app must obtain

permissions to access each recognizer

13

skeletonrecognizer

Page 14: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Scalability with multiple recognizers

14

Face 3D model

Skeleton

Hand Foot

RGB Depth

sample directed acyclic graph of recognizers

Explicit data flow

Page 15: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Benefits of explicit dataflow

15

Face Skeleton

Hand Foot

RGB Depthoffload to cloud

better scheduling

lazy invocation

3D model

3D model

Page 16: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

How do recognizers help?

16

Concerns Role of recognizers

Privacy concernRecognizer based permissions allow enforcing least privilege

Scalability concern

Recognizers allow computation sharing across apps

Offload individual recognizers

Page 17: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Explaining recognizers: privacy goggles

• Visual way to explain information given by each recognizer to an application

17

Privacy goggles for skeleton recognizer

Page 18: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Recognizer-based AR architecture

18

App

AR platform

subscribes to skeleton recognizer

AR platform delivers recognizer events to app

privacy goggles

recognizers

Page 19: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

IMPLEMENTATION

19

Page 20: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Example applications

20

Application What it does Recognizers

Hand cursor Control cursor with hand movements

Skeleton

Facial movement detector

Visualize tracked faces Face detector

Room Scanner Find flat surfaces 3D Model, Depth

Page 21: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

EVALUATION

21

Page 22: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Evaluation criteria• Privacy: How many applications need access to raw

video and sensor data?• Scalability

• Performance of concurrent applications• Performance of outsourced AR computation

• Usability• Is the information released less sensitive than raw data? • Do users understand privacy goggles?

22

Page 23: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Few apps need raw data

23

recognizers used by 87 shipping Xbox Applications

Only 4 recognizers cover ~90% of shipping Xbox apps

Page 24: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Released information less sensitive

24

10 surveys with 50 respondents each about recognizer output

86% of the users said the left one is more sensitive

Consider the two pictures below. Which picture contains “more sensitive” information?

Page 25: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Privacy goggles communicate • 152 respondents • 80% identified that the app could see body position• 47% identified that the app could see hand positions

25

Page 26: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

> 25 fps for up to 6 apps

Sharing recognizers works!

26

Page 27: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Recognizer offloading

27

Kinect fusion

recognizer

needs an extremely powerful GPU to run

4.46 fpsdoesn’t workoffloaded recognizer

4.17 fps

Page 28: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Minimizing recognizer false positives

• Recognizers are not perfect (yet) - false positives can lead to information leakage

28

OpenCV face recognizer OpenCV face recognizer & Kinect depth filter

AR platforms can apply simple heuristics like combining multiple recognizers to decrease false positives

Page 29: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

Summary• New AR paradigm needs new platform abstractions• Recognizers

• Help in enforcing least privilege• Allow sharing of computation across apps• Allow efficient offloading of heavyweight computation• False positives in recognizers can be dealt using heuristics at

the platform level • Privacy goggles - visual permission management

29

Page 30: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

30

tons of exciting new stuff! come talk to us if interested

Future work

30

recognizeobjects

transform

render

Page 31: Enabling Fine-Grained Permissions for Augmented Reality Applications With Recognizers Suman Jana 1*, David Molnar 2, Alexander Moshchuk 2, Alan Dunn 1*,

31

Thanks!