An OpenBTS GSM Replication Jail for Mobile Malware

Axelle Apvrille. Virus Bulletin Conference, October 2011 ... Hardware exploits/ VM detection. VirusBulletin Conference 2011 - A. Apvrille 4/11 ... Build your own operator network! VirusBulletin ... Part 2. ... with an OpenBTS-based jail.
3MB taille 2 téléchargements 183 vues
An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Malware Jail

Thou Shalt Not Spread (Nor Leak)

VirusBulletin Conference 2011 - A. Apvrille

2/11

Jail 1. Remove SIM/ Oine/ Flight mode I I

Malware Name

SymbOS/Album SymbOS/Acallno SymbOS/Feixiang Java/Konov, SymbOS/ZoomSms

Secure... probably Behaviour: changed!

Online

Sends 2 SMS Trojan spyware Sends 2 SMS Sends SMS

VirusBulletin Conference 2011 - A. Apvrille

3/11

Oine

Can't be activated Sends 1 SMS System lag

Jail 2. Use an emulator

I

I I

Good Android emulator, but other OS? Same behaviour change problem Hardware exploits/ VM detection

VirusBulletin Conference 2011 - A. Apvrille

4/11

Jail 3. Faraday cage

Not that easy to build...

VirusBulletin Conference 2011 - A. Apvrille

5/11

Jail 3. Faraday cage

Not that easy to build...

I

How to see the screen?

Courtesy of J. Daniels

http://www.jeddaniels. com/2007/ faraday-cage-part-1/

VirusBulletin Conference 2011 - A. Apvrille

5/11

Jail 3. Faraday cage

Not that easy to build...

I I

How to see the screen? Access to keyboard?

Courtesy of J. Daniels

http://www.jeddaniels. com/2007/ faraday-cage-part-1/

VirusBulletin Conference 2011 - A. Apvrille

5/11

Jail 3. Faraday cage

Not that easy to build...

I I

Courtesy of J. Daniels

http://www.jeddaniels. com/2007/ faraday-cage-part-1/

How to see the screen? Access to keyboard?

Large Faraday cages

Expensive + Weight

VirusBulletin Conference 2011 - A. Apvrille

5/11

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille

6/11

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille

6/11

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille

6/11

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille

6/11

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille

6/11

What's OpenBTS? OpenBTS

I I

I

Open source project Local GSM operator = USRP + accurate clock + host running OpenBTS / Asterix No GPRS, EDGE, UMTS...

OpenBTS is a registered trademark of Range Networks, Inc.

And nanoBTS-OpenBSC?

Good (perhaps better?)... but 6 times more expensive

VirusBulletin Conference 2011 - A. Apvrille

7/11

Jail Architecture

VirusBulletin Conference 2011 - A. Apvrille

8/11

Video: Using an OpenBTS Jail for Malware Analysis

What the analyst sees...

Part 1. ... when the phone is oine Part 2. ... with an OpenBTS-based jail VirusBulletin Conference 2011 - A. Apvrille

9/11

Results

Blue: oine, Red: with GSM jail, Yellow: +GPRS jail. Full results: see paper.

Main Advantages

I

I I I

Behaviour similar to real conditions See SMS contents and details No leak to real networks Low cost

Limitations

VirusBulletin Conference 2011 - A. Apvrille

I

I I

Sample requires a WCDMA bearer MMS not handled Dynamic analysis limitations

10/11

Thank You ! Follow us on http://blog.fortinet.com or twitter: @FortiGuardLabs Axelle Apvrille

aka Crypto Girl /mobile malware reverse engineering/ [email protected]

Slides edited with LOBSTER

VirusBulletin Conference 2011 - A. Apvrille

11/11