android commercial spyware disease and medication

23
Android Commercial Spyware Disease and Medication Eng. Mustafa Saad By March 2016 Computer Engineer 2003 Mobile App Developer 2011 Mobile Security Researcher 2012 Udemy Premium Instructor 2014

Upload: trinhdat

Post on 02-Jan-2017

217 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Android Commercial Spyware Disease and Medication

Android Commercial Spyware

Disease and Medication

Eng. Mustafa Saad

By

March 2016

Computer Engineer 2003

Mobile App Developer 2011

Mobile Security Researcher 2012

Udemy Premium Instructor 2014

Page 2: Android Commercial Spyware Disease and Medication

Agenda

How Commercial Spyware Works?

Introduction.

Proposed Approach.

Our Developed Spyware. “Chameleon Spyware Demo”

Our Developed Anti-Spyware. “Droid Smart Fuzzer Demo”

Spyware Dataset & results.

Page 3: Android Commercial Spyware Disease and Medication

Introduction

* Application sold worldwide for the primary purposes of spying on

people, employees or monitoring children’s safety.

What Is Commercial Spyware:

* Usually installed on the cell phone by physical access, direct web link,

or repackaging attack.

* Most of these apps have the ability to hide their launcher icon from

your screen.

* Most of these apps deliver Command and Control web page for

monitoring victims.

* Commercial Spywares are not too expensive.

Page 4: Android Commercial Spyware Disease and Medication

Their Features Are Horrible:

Introduction

Page 5: Android Commercial Spyware Disease and Medication

commercial spywares considered as :

Unofficial markets working out of Google magnifier.

Google Android Security report.

Introduction

As Reported In :

Lacoon research team report.

ALCATEL-LUCENT mobile malware report.

Joshua Dalman briefing on Black Hat USA 2015.

Page 6: Android Commercial Spyware Disease and Medication

* To deeply understand and discover the weak points on

Android application layer, we have to develop a real spy

application “Disease”.

Proposed Approach

* To medicate the previous disease, and stop the commercial

spyware attacks we propose to develop a dynamic fuzz

testing application “Medication”.

Proposed approach to Catch Commercial spies

was divided in to two main parts :

Page 7: Android Commercial Spyware Disease and Medication

Black Hat

White Hat

Page 8: Android Commercial Spyware Disease and Medication

Android OS Architecture:

1-8 Memory Management Process Management Power Management

Hardware Drivers (USB,WiFi,GPS, ..)

Graphics Media Web Kit

LibC SQLite Service

Manager

Android Libraries

Dalvic Virtual Machine

Telephony Manager

Window manager

Package Manager

Content Providers

Activity manager

Resource Manager

Window Manager

Views

Notification Manager

NFC , WiFi , Bluetooth

System Apps Developer Apps Third party Apps

Linux Kernel

Libraries

Application Framework

Application

How The Commercial Spy Works?

Page 9: Android Commercial Spyware Disease and Medication

How The Commercial Spy Works?

Inter Process Communication (IPC) Endpoints:

IPC Endpoints

Activity Manifest

Broadcast Receivers

Service Content Provider

Page 10: Android Commercial Spyware Disease and Medication

Chameleon Spyware

Main Activity

Outgoing Call Registered Receiver

Received SMS Registered Receiver

Incoming Call Registered Receiver

Connect To MySQL

MySQL DB

* The proposed spyware collaboration diagram:

Page 11: Android Commercial Spyware Disease and Medication

Chameleon Spyware

Receivers Registration:

Page 12: Android Commercial Spyware Disease and Medication

Chameleon Spyware

Received SMSs Interception :

Page 13: Android Commercial Spyware Disease and Medication

Chameleon Spyware

Outgoing Calls Interception :

Page 14: Android Commercial Spyware Disease and Medication

Chameleon Spyware

Incoming Calls Interception :

Page 15: Android Commercial Spyware Disease and Medication

Chameleon Spyware Demo

Page 16: Android Commercial Spyware Disease and Medication
Page 17: Android Commercial Spyware Disease and Medication

Droid Smart Fuzzer

1. RECEIVE SMS

2. PROCESS OUTGOING CALLS

3. READ PHONE STATE

4. INTERNET

• The main idea of the Droid Smart Fuzzer is to detect Internet

usage unexpected behavior for the installed applications that

have the next permissions:

Let’s Think Like The Enemy

Page 18: Android Commercial Spyware Disease and Medication

* The proposed anti spyware collaboration diagram:

Filtering this Apps according to our

permissions of interest

Prepare the fuzzing injectors

Monitoring AUT during fuzzing lifecycle

SMS Injector

Outgoing Call Injector

Incoming Call Injector

Reading All Installed App Permissions

Generate the pass/fail report

Droid Smart Fuzzer

Page 19: Android Commercial Spyware Disease and Medication

Let’s “Detect The Undetectable”

Page 20: Android Commercial Spyware Disease and Medication

Droid Smart Fuzzer Demo

Page 21: Android Commercial Spyware Disease and Medication

* We tested DroidSmartFuzzer against top 15 commercial

spyware applications and 4 free spy applications on Google &

Amazon stores.

Spyware Dataset & Results

* Droid Smart Fuzzer succeeded to detect all of them.

Page 22: Android Commercial Spyware Disease and Medication

* Droid Smart Fuzzer succeeded to detect Privacy and Security

Issues in Baidu Map like what mentioned in CITIZEN Lab

report. February 23, 2016

Spyware Dataset & Results

Page 23: Android Commercial Spyware Disease and Medication

Thank you