33
Chema Alonso (@chemaalonso)

Can I Play with Madness?!?

Embed Size (px)

Citation preview

Page 1: Can I Play with Madness?!?

Chema Alonso

(@chemaalonso)

Page 2: Can I Play with Madness?!?

Problem: Cybercrime in Android

http://blog.elevenpaths.com/2014/02/el-negocio-de-las-fakeapps-y-el-malware.html

Page 3: Can I Play with Madness?!?

Problem: Cybercrime in Google Play

http://blog.elevenpaths.com/2013/10/fake-whatsapp-adware-in-google-play.html

Page 4: Can I Play with Madness?!?

Intelligence & Security

Page 5: Can I Play with Madness?!?

OSINT (Open Source Intelligence)

• OSINT is the art and science of creating ethical, evidence-based decision support using only open sources and methods, legal and ethical in every respect.

– Big data to store & process

– Analytic toolkits to detect patterns and anomalies

• Beyond that, OSINT is all about humans-analysts who can think, and deciders who can listen.

Robert David Steele on OSINT - 2014

Page 6: Can I Play with Madness?!?

OSINT

• Useful

• Not less powerful than other *INTs*

• Not more powerful than other *INTs*

• Sometimes not that easy to build up

• Not always free

• Not always easy

Page 7: Can I Play with Madness?!?

Tacyt (Codename Path 5)

• Goal: Build an OSINT platform

–Android Markets

•Google Play Included

• Process all data related to apps &

markets

–Build up a Big Data

–Build a real time processing tool for analyst

–Create connections to other security tools

Page 8: Can I Play with Madness?!?

PlayDrone

http://www.elladodelmal.com/2014/06/playdrone-tokens-de-autenticacion-en.html

Page 9: Can I Play with Madness?!?

Tacyt (Codename Path 5)

• Real Time integration of apps

• Real Time processing of filters

• Interactive Console

• Cross-Market analysis

• Cross-Time results (Dead apps)

• API

Page 10: Can I Play with Madness?!?

Tacyt Demo 1:

Fake Apps + Fake Devs

http://www.elladodelmal.com/2013/11/cuidado-con-los-fake-av-y-los-rogue-av.htmlhttp://www.elladodelmal.com/2015/01/instalar-un-antivirus-en-android-puede.htmlhttp://www.elladodelmal.com/2014/12/en-apps-de-android-en-google-play-te.html

Page 11: Can I Play with Madness?!?

Shuaban Botnet

Page 12: Can I Play with Madness?!?
Page 13: Can I Play with Madness?!?

Shuaban Botnet

Page 14: Can I Play with Madness?!?

Tacyt Demo 2:

Shuabang Botnet

http://blog.elevenpaths.com/2014/11/shuabang-botnet-blackhat-app-store_25.html

Page 15: Can I Play with Madness?!?

Security Solutions

• Antivirus

– They do work, but are

good detecting, not

discovering

• Reputation

– Voting, users, opinions

• Automatic Report

– False positives

– False negatives

• Sandboxes

– Slow, bypass, Slow

Page 16: Can I Play with Madness?!?

Reputation Report

Page 17: Can I Play with Madness?!?

Reputation Report

Page 18: Can I Play with Madness?!?

Tacyt (Codename Path 5)

• Apply some intelligence to the way attackers work

on Google Play. Anomalies & Singularities.

• Do not concentrate on DETECTING, but on

CORRELATING data. Detecting is difficult, but once

you know your enemy and with the right amount of

information and data, correlating is easy.

• We try to find singularities

• Avoid code. Code is a wall you go against again

and again. Attackers know how to avoid being

detected.

Page 19: Can I Play with Madness?!?

Tacyt (Codename Path 5)

• We need to know our enemies and what

makes them singular.

• Android apps are APK, which are just Java files, which

are just ZIP files signed with a selfsigned certificate. We

have identified and dissected most of the technical

characteristics.

• Android apps are hosted in Google Play, with a

developer, comments, descriptions, images, versions,

categories…

• There is plenty of information. Almost 50

“checkpoints”.

Page 20: Can I Play with Madness?!?

Mutant Apps

Page 21: Can I Play with Madness?!?

Tacyt Demo 3:

Profiling Attack - Clicker

http://blog.elevenpaths.com/2015/02/detectados-un-cut-rope-y-talking-tom.html

Page 22: Can I Play with Madness?!?

Examples: Research and clusterization

• We can correlate data and cluster apps:

– From an app, we can include the person or

company who made it and correlate it with

other developers in which account they hide.

– We can detect anomalies: developers

uploading 50 apps in a row? Developers

sharing exactly the same files in their APK?

Developers sharing images? APKs with just a

second of developing time?...

Page 23: Can I Play with Madness?!?

Tacyt Demo 4:

AppGeyser + JSDialers

http://blog.elevenpaths.com/2014/12/5500-apps-potentially-vulnerable-to-man.htmlhttp://www.elladodelmal.com/2014/12/navegadores-de-android-que-no-debes.htmlhttp://blog.elevenpaths.com/2015/02/jsdialers-apps-que-llaman-numeros.html

Page 24: Can I Play with Madness?!?

Tacyt (Codename Path 5)

• Allows to correlate data and detect

–Anomalies

–Singularities

• Helps to search quickly in a Big Data of apps

• Helps to avoid code in detecting cybercrime

• Provides an API to be an OSINT and

integrate with other tools.

Page 25: Can I Play with Madness?!?

“Apache Storm is a free and open source distributed

realtime computation system. Storm makes it easy to

reliably process unbounded streams of data, doing

for realtime processing what Hadoop did for batch

processing. Storm is simple, can be used with any

programming language, and is a lot of fun to use! “

Sinfonier

Page 26: Can I Play with Madness?!?

Sinfonier

Page 27: Can I Play with Madness?!?

DRAIN

BOLT

SPOUT

BOLT

DRAIN

DRAIN

SPOUT

Sinfonier

Page 28: Can I Play with Madness?!?

+ + =Drag & Drop

InterfaceAutomaticDeploy API

(Nightly version)

StormCluster

Sinfonier

How It works

Page 29: Can I Play with Madness?!?

Canvas

User Tools Context Info

Page 30: Can I Play with Madness?!?

Synfonier Demo 5:

Hunting Singularities:

SingularPaths + SingularDomains

http://www.elladodelmal.com/2014/12/investigar-cibercrimen-en-android-con.htmlhttp://www.sinfonier-project.net

Page 31: Can I Play with Madness?!?

Tacyt + Sinfonier

Page 32: Can I Play with Madness?!?

Conclusions

• Cybercrime in Apps is huge

• Research in Google Play is not easy

• Tacyt (Path 5) allows to

– Discover and Investigate anomalies & singularities

– Cross-Market

– Cross-Time

• Synfonier helps to

– integrate other sources

– Automate Intelligence Generation

• Yes, You Can play with madness ( and it is fun)

Page 33: Can I Play with Madness?!?

Credits

• Sinfonier and Tacyt(Path 5) have been created by

Eleven Paths and Telefónica. In order to provide to you

all demos in this talk, more than 30 people have been

working hard to have everything up & running in time to

RootedCON 2015.

• I personally thank to all of them the effort they day by

day do in developing their jobs as they do. I am proud of

been working with them.