encore: private, context-based communication for mobile social apps

23
EnCore: Private, Context-based Communication for Mobile Social Apps Paarijaat Aditya 1 , Viktor Erdelyi 1 , Matthew Lentz 2 , Elaine Shi 2 , Bobby Bhattacharjee 2 , Peter Druschel 1 Max Planck Institute for Software Systems (MPI-SWS) 1 University of Maryland 2 MobiSys 2014, 17 th June 2014, Bretton Woods, NH, USA 1

Upload: gyala

Post on 25-Feb-2016

34 views

Category:

Documents


2 download

DESCRIPTION

EnCore: Private, Context-based Communication for Mobile Social Apps. Paarijaat Aditya 1 , Viktor Erdelyi 1 , Matthew Lentz 2 , Elaine Shi 2 , Bobby Bhattacharjee 2 , Peter Druschel 1 Max Planck Institute for Software Systems (MPI-SWS) 1 University of Maryland 2. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: EnCore: Private, Context-based Communication for Mobile Social Apps

1

EnCore: Private, Context-based Communication for Mobile Social Apps

Paarijaat Aditya1, Viktor Erdelyi1, Matthew Lentz2, Elaine Shi2, Bobby Bhattacharjee2, Peter Druschel1

Max Planck Institute for Software Systems (MPI-SWS) 1 University of Maryland2

MobiSys 2014, 17th June 2014, Bretton Woods, NH, USA

Page 2: EnCore: Private, Context-based Communication for Mobile Social Apps

2

Mobile social apps

Provide services based on users’ location, activity, nearby users

Social discovery

Discover relevant nearby users

Social sharing

Share content with nearby people

Social taggingSearch and organize

content by social context

Page 3: EnCore: Private, Context-based Communication for Mobile Social Apps

3

Sitting in a cafe

YouJulia

Unknown

Steve JohnAndy

Page 4: EnCore: Private, Context-based Communication for Mobile Social Apps

4

“Hey, I came across this article ...”

YouJulia

Steve JohnAndy

Page 5: EnCore: Private, Context-based Communication for Mobile Social Apps

5

“I forgot my book in the cafe...”Steve John

Andy

Julia

Page 6: EnCore: Private, Context-based Communication for Mobile Social Apps

6

Discover friends and strangers

Form socially relevant groups

Steve JohnAndy

Julia

Goal: enable rich functionality while protecting user privacy

Page 7: EnCore: Private, Context-based Communication for Mobile Social Apps

7

Via short range radio

Discover presence

Exchange a key

Implementing mobile social appsVia app provider

Info uploadedLocationActivityContent

Social profile

Sensitive info shared with app provider Tracking via Bluetooth

encrypted content shared

via cloud

Page 8: EnCore: Private, Context-based Communication for Mobile Social Apps

8

Requirements

EnCore

Social Discovery

Social sharing

Secure encounters

Events:groups of socially

relevant encounters

Secure communication between event members

Search & organize content by events

Social tagging

Our previous work: SDDR[To appear: Usenix Security ‘14]

This talk

In the paper

Background

Page 9: EnCore: Private, Context-based Communication for Mobile Social Apps

9

SDDR - secure encounters

Cryptographic handshake over Bluetooth

Produces a shared-key for each encounter

orEncrypted with

shared-key

Secure discovery Selectively reveal identifiable info

Power efficiency

Untrusted channel

Prevents tracking via Bluetooth Identify ‘friends’ while remaining

anonymous to all others

Page 10: EnCore: Private, Context-based Communication for Mobile Social Apps

10

Requirements

EnCore

Social discovery

Social sharing

Secure encounters

Events:groups of socially

relevant encounters

Secure communication between event members

Search & organize content by events

Social tagging

Page 11: EnCore: Private, Context-based Communication for Mobile Social Apps

11

Identify relevant encounters usingcontextual information

Context App

Encounters

Location & Activity

Calendar

Events

Time and Date

DurationKnown contacts

UnknownIn close proximity

Further away

JuliaYou

Unknown

Events: groups of socially relevant encounters

Event 1 - discussion Event 2: stay at the cafe

Page 12: EnCore: Private, Context-based Communication for Mobile Social Apps

Contextual info helps in identifying

relevant encounters

12

discussion

stay at cafe

Discussion

stay at the cafe

?

Julia You

Reading group

Unknown

Others at the Cafe

Page 13: EnCore: Private, Context-based Communication for Mobile Social Apps

13

Requirements

EnCore

Social discovery

Social sharing

Secure Encounters

Events:groups of socially

relevant encounters

Secure communication between event members

Search & organize content by events

Social tagging

Page 14: EnCore: Private, Context-based Communication for Mobile Social Apps

14

Secure communication within ‘Events’

1. Create a group key and a folder

folderurl +

folderurl +

Julia

Unknown

shared key with “unknown”

shared key with “Julia”

2. Encrypt with the group keyand upload to the folder

You

During event creationWhile sharing documents

folderurl

+

Page 15: EnCore: Private, Context-based Communication for Mobile Social Apps

15

Requirements

EnCore

Social discovery

Social sharing

Secure Encounters

Events:groups of socially

relevant encounters

Secure communication between event members

Search & organize content by events

Social tagging

In the paper

Page 16: EnCore: Private, Context-based Communication for Mobile Social Apps

16

Evaluation – live deployments4 deployments over 1 year

‘rooted’ devices running the Context app

35 researchers, up to 2 weeks @ MPI-SWS

and as the storage backend

Integrated in the ‘share’ menu

MPI-SWS, Saarbrucken

Context app

Page 17: EnCore: Private, Context-based Communication for Mobile Social Apps

17

Usage128 events, 400 posts• Mostly photos and text

Types of events created

Karaoke Lunch Bus ride

Lecture Meetings “Free food!”

Taking a break

“Coffee anyone?”

KVM bug – help!Reading group

Page 18: EnCore: Private, Context-based Communication for Mobile Social Apps

18

Usage

Users automatically resolved conflicts(multiple events for a single gathering)

Conversations within events continued even after the actual gathering ended

Page 19: EnCore: Private, Context-based Communication for Mobile Social Apps

19

User feedback

“Can I install it on my phone?”

“Please integrate this with WhatsApp and

Gmail!”

“Can you make it automatically create

events?”

“I would rather share pics via this app, than

to write an email!”

Page 20: EnCore: Private, Context-based Communication for Mobile Social Apps

20

ConclusionMobile social apps introduce significant privacy challenges

EnCore:platform that enables rich mobile social apps while putting user in control of their privacy

Users found it useful and found creative uses that we didn’t anticipate!

mobilesystems.mpi-sws.org/encore

Page 21: EnCore: Private, Context-based Communication for Mobile Social Apps

21

Backup slides

Page 22: EnCore: Private, Context-based Communication for Mobile Social Apps

22

Sharing over individual encountersPast Encounter

(EncounterID & shared-secret)

Hi, I met you in the Cafe today. Here is the

link to the video I mentioned.

Message Encrypted with shared-secret

Email to [email protected]

Query messages [email protected]

A commercial disposable email service

Page 23: EnCore: Private, Context-based Communication for Mobile Social Apps

23

SDDR is optimized for power efficiencyHandshake protocol is non-interactive• Handshake info. encoded on Bluetooth low energy (BLE)

advertisements

Device in sleep modeCPU asleepBroadcasting BLE adv.

Device awakeCPU awake

Discovering BLE adv.Forming encounters

Advertising rate: few secondsDiscovery rate: ~15 sec

Diffie-Hellman forshared- secret

Bloom filter forselective linkability SDDR’s BLE advertisement

Adv Adv