on lightweight mobile phone application certification

22
William Enck, Machigar Ongtang, and Patrick McDaniel

Upload: uri

Post on 02-Feb-2016

48 views

Category:

Documents


0 download

DESCRIPTION

William Enck, Machigar Ongtang, and Patrick McDaniel. On Lightweight Mobile Phone Application Certification. Mobile Phone Threats. Cabir Used on Symbian platform Did not exploit code Repeatedly request file transfer via Bluetooth Other viruses more malicous. Threat Down. Proof of Concept - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: On Lightweight Mobile Phone Application Certification

William Enck, Machigar Ongtang, and Patrick McDaniel

Page 2: On Lightweight Mobile Phone Application Certification

Mobile Phone Threats

CabirUsed on Symbian platformDid not exploit codeRepeatedly request file transfer via

Bluetooth

Other viruses more malicous

Page 3: On Lightweight Mobile Phone Application Certification

Threat Down

Proof of ConceptNo damage doneProves that attack vector exists

DestructiveDelete dataMostly harmless

SpywareBugging the phone via software

Page 4: On Lightweight Mobile Phone Application Certification

Threat Down II

Direct payoffCalling premium servicesDirectly generate revenue for attacker

Information ScavengersSteal user data like contacts

Ad-ware Botnet

Voice spam

Page 5: On Lightweight Mobile Phone Application Certification

Why Kirin?

Android defines sets of permissions Permissions are static Certain combinations can be used

maliciously

Page 6: On Lightweight Mobile Phone Application Certification

Security requirements engineering Three basic concepts

AssetsFunctional RequirementsSecurity Requirements

Page 7: On Lightweight Mobile Phone Application Certification

Assets

Extracted from Android platformPermissionsIntentsComponents

Example: Microphone Input, call activity

Page 8: On Lightweight Mobile Phone Application Certification

Functional Requirements

Descriptions of how Assets interact with rest of the system

Example:Redirecting international calls to calling card

numberRecording audio using MediaRecorder API

Page 9: On Lightweight Mobile Phone Application Certification

Determine Assets Security Goals and Threats Consider things such as confidentiality,

integrity, and availability. How can functional requirements be

abusedThreat descriptions

Page 10: On Lightweight Mobile Phone Application Certification

Develop Asset’s Security Requirements Define what combination of permissions

might be harmful Example:

Receive phone stateRecord audioAccess the Internet

Page 11: On Lightweight Mobile Phone Application Certification

Determine Security Mechanisms Limited by PackageInstaller Permissions only set at install time Can’t set policies not defined in by

AndroidMonitoring how many SMS messages sent

during a set time period

Page 12: On Lightweight Mobile Phone Application Certification

Kirin Rules

Dangerous combination of permissionsGPS + Internet + Start On BootInstall Shortcut + Uninstall ShortcutDebug

Page 13: On Lightweight Mobile Phone Application Certification

Kirin Rule Syntax

KSL – Kirin Security Language

Page 14: On Lightweight Mobile Phone Application Certification

Kirin Security Service

Three componentsService and ContentProvider that is a

database of rulesPatches to the PackageInstaller applicationActivity to manage the rules

Page 15: On Lightweight Mobile Phone Application Certification
Page 16: On Lightweight Mobile Phone Application Certification
Page 17: On Lightweight Mobile Phone Application Certification

Evaluation

Assumed apps in market do not contain malware

Investigate further apps not passing security rules

Downloaded top 20 apps from each of the 16 categories, 311 total

Page 18: On Lightweight Mobile Phone Application Certification

Empirical Results

12 failed to pass 3 failed Rule 2

Phone State + Record Audio + Internet

9 failed Rules 4 and 5Access {fine, coarse} location + Internet +

Receive Boot Complete

Page 19: On Lightweight Mobile Phone Application Certification
Page 20: On Lightweight Mobile Phone Application Certification
Page 21: On Lightweight Mobile Phone Application Certification

Mitigating Malware

Only protects against complex attacks Useful in stopping some attacks like

SMS spam or information gathering No runtime logic

Limitation of Android, not Kirin

Page 22: On Lightweight Mobile Phone Application Certification