26

An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

  • Upload
    others

  • View
    7

  • Download
    0

Embed Size (px)

Citation preview

Page 1: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

An OpenBTS GSM Replication Jail for

Mobile Malware

Axelle Apvrille

Virus Bulletin Conference, October 2011

Page 2: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 3: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 4: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 5: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 6: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 7: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 8: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 9: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 10: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · 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

Page 11: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Jail 1. Remove SIM/ O�ine/ Flight mode

I Secure... probably

I Behaviour: changed!

Malware Name Online O�ine

SymbOS/Album Sends 2 SMS -SymbOS/Acallno Trojan spyware Can't be activatedSymbOS/Feixiang Sends 2 SMS Sends 1 SMSJava/Konov, SymbOS/-ZoomSms

Sends SMS System lag

VirusBulletin Conference 2011 - A. Apvrille 3/11

Page 12: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Jail 2. Use an emulator

I Good Android emulator, butother OS?

I Same behaviour change problem

I Hardware exploits/ VMdetection

VirusBulletin Conference 2011 - A. Apvrille 4/11

Page 13: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Jail 3. Faraday cage

Courtesy of J. Danielshttp://www.jeddaniels.

com/2007/

faraday-cage-part-1/

Not that easy to build...

I How to see the screen?

I Access to keyboard?

Large Faraday cages

Expensive + Weight

VirusBulletin Conference 2011 - A. Apvrille 5/11

Page 14: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Jail 3. Faraday cage

Courtesy of J. Danielshttp://www.jeddaniels.

com/2007/

faraday-cage-part-1/

Not that easy to build...

I How to see the screen?

I Access to keyboard?

Large Faraday cages

Expensive + Weight

VirusBulletin Conference 2011 - A. Apvrille 5/11

Page 15: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Jail 3. Faraday cage

Courtesy of J. Danielshttp://www.jeddaniels.

com/2007/

faraday-cage-part-1/

Not that easy to build...

I How to see the screen?

I Access to keyboard?

Large Faraday cages

Expensive + Weight

VirusBulletin Conference 2011 - A. Apvrille 5/11

Page 16: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Jail 3. Faraday cage

Courtesy of J. Danielshttp://www.jeddaniels.

com/2007/

faraday-cage-part-1/

Not that easy to build...

I How to see the screen?

I Access to keyboard?

Large Faraday cages

Expensive + Weight

VirusBulletin Conference 2011 - A. Apvrille 5/11

Page 17: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille 6/11

Page 18: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille 6/11

Page 19: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille 6/11

Page 20: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille 6/11

Page 21: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Build your own operator network!

VirusBulletin Conference 2011 - A. Apvrille 6/11

Page 22: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

What's OpenBTS?

OpenBTS

I Open source project

I Local GSM operator = USRP + accurate clock + hostrunning OpenBTS / Asterix

I 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

Page 23: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Jail Architecture

VirusBulletin Conference 2011 - A. Apvrille 8/11

Page 24: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Video: Using an OpenBTS Jail for Malware Analysis

What the analyst sees...

Part 1. ... when the phone is o�inePart 2. ... with an OpenBTS-based jail

VirusBulletin Conference 2011 - A. Apvrille 9/11

Page 25: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

Results

Blue: o�ine, Red: with GSM jail, Yellow: +GPRS jail.Full results: see paper.

Main Advantages

I Behaviour similar to realconditions

I See SMS contents and details

I No leak to real networks

I Low cost

Limitations

I Sample requires a WCDMAbearer

I MMS not handled

I Dynamic analysis limitations

VirusBulletin Conference 2011 - A. Apvrille 10/11

Page 26: An OpenBTS GSM Replication Jail for Mobile Malware · 2011-10-12 · An OpenBTS GSM Replication Jail for Mobile Malware Axelle Apvrille Virus Bulletin Conference, October 2011

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