Top Banner
60

Google Email App

Jan 05, 2017

Download

Documents

truongduong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Google Email App
Page 2: Google Email App
Page 3: Google Email App

Google Manufacturer Carrier

Page 4: Google Email App

“Among all the apps pre-installed by the major

smartphone vendors (Samsung, HTC, LG, Sony)

on their phones, only about 18% come from AOSP.”

Page 5: Google Email App
Page 6: Google Email App

• H A RE

Page 7: Google Email App
Page 8: Google Email App

SMS/MMS Content Provider

VoIP MessageContent Provider

New Message

Phone Version

Instant MessagingApp

Page 9: Google Email App

SMS/MMS Content Provider

VoIP MessageContent Provider

New Message

Tablet Version

Instant MessagingApp

Page 10: Google Email App

SMS/MMS Content Provider

VoIP MessageContent Provider

New Message

Tablet Version

Instant MessagingApp

Page 11: Google Email App

check its signature

check the image properties

Page 12: Google Email App
Page 13: Google Email App
Page 14: Google Email App

fundamental conflict

complicated relationship

verification

Page 15: Google Email App
Page 16: Google Email App

ØMissing Packages, Activities, Actions

Missing Content Providers

Missing Permissions

Page 17: Google Email App

If com.samsung.android.app.memo exists

If com.sec.android.app.smemo exists

Page 18: Google Email App

If com.samsung.android.app.memo exists

If com.sec.android.app.smemo exists

Page 19: Google Email App

com.samsung.android.app.memo

If com.samsung.android.app.memo exists

If com.sec.android.app.smemo exists

Page 20: Google Email App

• Stealing voice note

All deomos can be found at https://sites.google.com/site/androidharehunting/

Page 21: Google Email App

Missing Packages, Activities, Actions

ØMissing Content Providers

Missing Permissions

Page 22: Google Email App

Query “com.lge.lgaccount.provider”for additional Cloud Services and add an item

LG CloudHub App

Page 23: Google Email App

Query “com.lge.lgaccount.provider”for additional Cloud Services and add an item

Page 24: Google Email App

Owncom.lge.lgaccount.provider

Page 25: Google Email App

Handlecom.lge.ADD_ACCOUNT

Page 26: Google Email App

Google Email Appversion 6.3-1218562

AccountSetting Activity Within Google Email App

Action: android.intent.action.EDITData: content://ui.email.android.com/

settings?account=id

Page 27: Google Email App

Google Email Appversion 6.3-1218562

AccountSetting Activity Within Google Email App

Action: android.intent.action.EDITData: content://ui.email.android.com/

settings?account=id

Page 28: Google Email App

ui.email.android.com

only

Page 29: Google Email App
Page 30: Google Email App
Page 31: Google Email App
Page 32: Google Email App
Page 33: Google Email App

Google Email Appversion 6.3-1218562

Malicious App

Page 34: Google Email App

• Google Email Attack

All deomos can be found at https://sites.google.com/site/androidharehunting/and https://sites.google.com/site/perplexedmsg/

Page 35: Google Email App

Missing Packages, Activities, Actions

Missing Content Providers

ØMissing Permissions

Page 36: Google Email App

com.google.android.c2dm.permission.SEND

com.amazon.device.messaging.permission.SEND

com.nokia.pushnotifications.permission.SEND

Page 37: Google Email App

GCMReceiver

ADMReceiver

Google Cloud Messaging

Amazon Device Messaging

NokiaReceiver Nokia Notification

Page 38: Google Email App

GCMReceiver

ADMReceiver

Google Cloud Messaging

Amazon Device Messaging

NokiaReceiver Nokia Notification

On Nexus

Page 39: Google Email App

GCMReceiver

ADMReceiver

NokiaReceiver

On Nexus

Push Message

Google Cloud Messaging

I have Nokia permission!

Page 40: Google Email App

• Facebook Service Confusion

All deomos can be found at https://sites.google.com/site/androidharehunting/and https://sites.google.com/site/perplexedmsg/

Page 41: Google Email App

GCMReceiver

ADMReceiver

NokiaReceiver

On Kindle Fire

Push Registration ID

I have GCM permission!

Amazon Device Messaging

Page 42: Google Email App

GCM receiver

Page 43: Google Email App

Any time

GCM receiver

Page 44: Google Email App

Any time

GCM receiver

Page 45: Google Email App

• Skype Message StealingAll deomos can be found at https://sites.google.com/site/androidharehunting/

and https://sites.google.com/site/perplexedmsg/

Page 46: Google Email App
Page 47: Google Email App
Page 48: Google Email App

StartService(action1)StartService(action1)StartService()…

StartService(action1)StartService(action1)StartActivity()…

StartService(action1)StartService(action1)Query()…

StartService(action1)StartService(action1)readPermission()…

Attribute Reference Attribute Definition

com.package.pkg1com.package.pkg1Actions…

com.package.pkg1com.package.pkg1Content Providers…

com.package.pkg1com.package.pkg1Permissions…

com.package.pkg1com.package.pkg1Package Names…

Page 49: Google Email App
Page 50: Google Email App
Page 51: Google Email App
Page 52: Google Email App
Page 53: Google Email App
Page 54: Google Email App

Vendor # of Images # of System AppsAvg # of System Apps Per Images

# of Countries # of Carriers# of OS Versions

A 83 21733 261 36 23 10

B 7 1561 223 1 1 4

C 1 174 174 1 1 1

D 4 398 99 1 1 3

E 2 319 159 2 1 2

Total 97 24185 183 36 23 10

Page 55: Google Email App

VendorHares in Android 4.X Hares in Android 5.X Avg Hares

per DeviceMin Hares per Device

Max Hares per Device# of Hares # of Vulnerable Apps # of Hares # of Vulnerable Apps

A 19279 3045 (18%) 608 99 (6%) 239 23 598

B 679 121 (13.3%) 425 85 (15.5%) 157 100 224

C N/A N/A 248 33 (21.5%) 248 248 248

D 107 31 (12.4%) 8 5 (5%) 29 8 45

E 187 23 (15.6%) 16 8 (12.1%) 101 16 187

Total 20252 3220 (14.3%) 1305 230 (11.7%) 153 8 598

Page 56: Google Email App
Page 57: Google Email App
Page 58: Google Email App

* Co-first Author

Page 59: Google Email App
Page 60: Google Email App