Privacy Issues with the Google Android Market Thorben Kr uger - - PowerPoint PPT Presentation

privacy issues with the google android market
SMART_READER_LITE
LIVE PREVIEW

Privacy Issues with the Google Android Market Thorben Kr uger - - PowerPoint PPT Presentation

Privacy Issues with the Google Android Market Thorben Kr uger Bastiaan Wissingh benthor@os3.nl bastiaan@os3.nl February 2, 2011 1/ 18 Outline Introduction Terms Research I Background MITM Sniffing Findings Research II App Analysis


slide-1
SLIDE 1

Privacy Issues with the Google Android Market

Thorben Kr¨ uger Bastiaan Wissingh benthor@os3.nl bastiaan@os3.nl February 2, 2011

1/ 18

slide-2
SLIDE 2

Outline

Introduction Terms Research I Background MITM Sniffing Findings Research II App Analysis Findings Implications Bonus Conclusion

2/ 18

slide-3
SLIDE 3

Definition of Terms

3/ 18

slide-4
SLIDE 4

Definition of Terms

◮ Android

3/ 18

slide-5
SLIDE 5

Definition of Terms

◮ Android ◮ Google Android Market

3/ 18

slide-6
SLIDE 6

Definition of Terms

◮ Android ◮ Google Android Market ◮ XMPP

3/ 18

slide-7
SLIDE 7

Definition of Terms

◮ Android ◮ Google Android Market ◮ XMPP ◮ App

3/ 18

slide-8
SLIDE 8

Original Question

Google Android Market - Remotely Controllable?

4/ 18

slide-9
SLIDE 9

Original Question

Google Android Market - Remotely Controllable?

◮ To what exact extent?

4/ 18

slide-10
SLIDE 10

Original Question

Google Android Market - Remotely Controllable?

◮ To what exact extent?

◮ Suspicion: Highly Privileged Remove Administration

Functionality

4/ 18

slide-11
SLIDE 11

Original Question

Google Android Market - Remotely Controllable?

◮ To what exact extent?

◮ Suspicion: Highly Privileged Remove Administration

Functionality

◮ What Privacy Issues?

4/ 18

slide-12
SLIDE 12

Original Question

Google Android Market - Remotely Controllable?

◮ To what exact extent?

◮ Suspicion: Highly Privileged Remove Administration

Functionality

◮ What Privacy Issues? ◮ Proposed Mitigations?

4/ 18

slide-13
SLIDE 13

Current Research: Status

5/ 18

slide-14
SLIDE 14

Current Research: Status

◮ Market uses XMPP over SSL

5/ 18

slide-15
SLIDE 15

Current Research: Status

◮ Market uses XMPP over SSL ◮ Google Android: A State-of-the-Art Review of Security

Mechanisms

5/ 18

slide-16
SLIDE 16

Current Research: Status

◮ Market uses XMPP over SSL ◮ Google Android: A State-of-the-Art Review of Security

Mechanisms

◮ AppBrain

5/ 18

slide-17
SLIDE 17

Approach: SSL Man-In-The-Middle

6/ 18

slide-18
SLIDE 18

Approach: SSL Man-In-The-Middle

◮ Idea: Traffic Introspection

6/ 18

slide-19
SLIDE 19

Approach: SSL Man-In-The-Middle

◮ Idea: Traffic Introspection ◮ Methods: Lots Of Dirty Hacks

6/ 18

slide-20
SLIDE 20

Traffic Analysis: Results

7/ 18

slide-21
SLIDE 21

Traffic Analysis: Results

◮ Confirmed: XMPP-Triggered Installation

7/ 18

slide-22
SLIDE 22

Traffic Analysis: Results

◮ Confirmed: XMPP-Triggered Installation ◮ Unconfirmed: Additional Functionality

7/ 18

slide-23
SLIDE 23

Approach: Reverse Engineering

8/ 18

slide-24
SLIDE 24

Approach: Reverse Engineering

◮ Analyze Market Package

8/ 18

slide-25
SLIDE 25

Approach: Reverse Engineering

◮ Analyze Market Package ◮ Core System Application

8/ 18

slide-26
SLIDE 26

Binary Analysis: Findings

9/ 18

slide-27
SLIDE 27

Binary Analysis: Findings

◮ Binary Decodable To “Assembly”

9/ 18

slide-28
SLIDE 28

Binary Analysis: Findings

◮ Binary Decodable To “Assembly” ◮ Results Hardly Readable

9/ 18

slide-29
SLIDE 29

Binary Analysis: Findings

◮ Binary Decodable To “Assembly” ◮ Results Hardly Readable ◮ Evidence: Remotely Triggerable Functionality

9/ 18

slide-30
SLIDE 30

Binary Analysis: Findings

◮ Binary Decodable To “Assembly” ◮ Results Hardly Readable ◮ Evidence: Remotely Triggerable Functionality

◮ INSTALL ASSET ◮ REMOVE ASSET 9/ 18

slide-31
SLIDE 31

Binary Analysis: Findings

◮ Binary Decodable To “Assembly” ◮ Results Hardly Readable ◮ Evidence: Remotely Triggerable Functionality

◮ INSTALL ASSET ◮ REMOVE ASSET

◮ Evidence: Persistent Connection

9/ 18

slide-32
SLIDE 32

Privacy Implications

10/ 18

slide-33
SLIDE 33

Privacy Implications

◮ No Evidence For: Advanced Remote Control Functionality

10/ 18

slide-34
SLIDE 34

Privacy Implications

◮ No Evidence For: Advanced Remote Control Functionality ◮ Possible Issue For Some: Remotely Triggered Application

Removal

10/ 18

slide-35
SLIDE 35

Mitigation Idea: Patch Script

11/ 18

slide-36
SLIDE 36

Mitigation Idea: Patch Script

◮ “Assembly” Rebuildable To Binary

11/ 18

slide-37
SLIDE 37

Mitigation Idea: Patch Script

◮ “Assembly” Rebuildable To Binary ◮ Result Still Executable

11/ 18

slide-38
SLIDE 38

Mitigation Idea: Patch Script

◮ “Assembly” Rebuildable To Binary ◮ Result Still Executable ◮ Assembly-Level Patch: Remove Unwanted Functionality

11/ 18

slide-39
SLIDE 39

Accidental Finding: Market App Honors Permission System

12/ 18

slide-40
SLIDE 40

Accidental Finding: Market App Honors Permission System

◮ Error For Patched Market: No Permission To Install Apps

12/ 18

slide-41
SLIDE 41

Accidental Finding: Market App Honors Permission System

◮ Error For Patched Market: No Permission To Install Apps ◮ Very Unexpected

12/ 18

slide-42
SLIDE 42

Digression: Android Permission System

13/ 18

slide-43
SLIDE 43

Digression: Android Permission System

◮ Central Part Of Android Architecture

13/ 18

slide-44
SLIDE 44

Digression: Android Permission System

◮ Central Part Of Android Architecture ◮ Open Source!

13/ 18

slide-45
SLIDE 45

Digression: Android Permission System

◮ Central Part Of Android Architecture ◮ Open Source! ◮ Uses: Plain XML Files

13/ 18

slide-46
SLIDE 46

Digression: Android Permission System

◮ Central Part Of Android Architecture ◮ Open Source! ◮ Uses: Plain XML Files ◮ Problem: Very Coarse Grained UI

13/ 18

slide-47
SLIDE 47

Android Permission System: Current Research

14/ 18

slide-48
SLIDE 48

Android Permission System: Current Research

◮ permissionBlocker.apk

14/ 18

slide-49
SLIDE 49

Android Permission System: Current Research

◮ permissionBlocker.apk ◮ Apex

14/ 18

slide-50
SLIDE 50

Proposal: Extension of Apex

15/ 18

slide-51
SLIDE 51

Proposal: Extension of Apex

◮ Requires: Changes To Software Stack

15/ 18

slide-52
SLIDE 52

Proposal: Extension of Apex

◮ Requires: Changes To Software Stack ◮ Hurdle: System App Permissions Handled Differently

15/ 18

slide-53
SLIDE 53

Proposal: Extension of Apex

◮ Requires: Changes To Software Stack ◮ Hurdle: System App Permissions Handled Differently ◮ Red Tape: Nothing Has Been Released

15/ 18

slide-54
SLIDE 54

Conclusion

16/ 18

slide-55
SLIDE 55

Conclusion

◮ Current Market App Less Evil Than Expected

16/ 18

slide-56
SLIDE 56

Conclusion

◮ Current Market App Less Evil Than Expected ◮ Binary/Assembly Patches Possible

16/ 18

slide-57
SLIDE 57

Conclusion

◮ Current Market App Less Evil Than Expected ◮ Binary/Assembly Patches Possible ◮ Alternative Approach: Permission Management

16/ 18

slide-58
SLIDE 58

Outlook

17/ 18

slide-59
SLIDE 59

Outlook

◮ Reimplement Apex: NLnet funding?

17/ 18

slide-60
SLIDE 60

Questions?

18/ 18