+ All Categories
Home > Documents > Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry...

Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry...

Date post: 14-Jul-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
51
Mobile Malware .. In Practice or Once bitten, twice shy... and third stolen Chat ´ echaud´ e craint l’eau froide Axelle Apvrille Fortinet, AV Lab Insomni’Hack, March 4 2011
Transcript
Page 1: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Mobile Malware .. In Practiceor Once bitten, twice shy... and third stolen

Chat echaude craint l’eau froide

Axelle ApvrilleFortinet, AV Lab

Insomni’Hack, March 4 2011

Page 2: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Summary

Would you install this?Once bittenTwice shy...Third stolen

ConclusionMobile Malware StatusInfection SymptomsSolutions

Mobile malware in practice - A. Apvrille 2/18

Page 3: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 4: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 5: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 6: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 7: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 8: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 9: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 10: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 11: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [EASY]

Imagine you want to date or divination services,would you use this Opera add-on application?

• Security warning for all unsigned midlets(common!)

• Lengthy security text :(

• Standard Opera splash screen

• Send SMS to short code, not so surprisingfor dating/ divination services

Meet Java/GameSat.A!tr

This is a malicious midlet! Do not use!Risks are difficult to understand for anend-user

Mobile malware in practice - A. Apvrille 3/18

Page 12: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Java/GameSat.A!tr: Sending SMS

A few lines of code - Simple!import javax.wireless.messaging.MessageConnection;

import javax.wireless.messaging.TextMessage;

[..]

public final void run() {

try {

String str = "sms://" + this.a; // <- PHONE NUMBER

[..]MessageConnection localMessageConnection =

(MessageConnection)Connector.open(str);

try {

TextMessage localTextMessage;

(localTextMessage = (TextMessage)

localMessageConnection.newMessage("text"))

.setPayloadText(this.b);

localMessageConnection.send(localTextMessage);

[..]

Mobile malware in practice - A. Apvrille 4/18

Page 13: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Java/GameSat.A!tr: Hidden Goal

TRANSFERPULSA 0856xxxxxxxx 20000","151","Game Gratis"...

TRANSFERPULSA 0856xxxxxxxx 20000","151","Mama Lauren"...

Real goal

Sending SMS to a premium number is not the real motivation inthat case!Transfer 20,000 Rp from victim’s account to 0856xxxxxxxxNote: only works if victim has an Indosat prepaid card.

Do not under-estimate simple malicious midlets

Numerous malicious midlets: Java/Konov, Java/Picong,Java/GoSms, Java/RedBrowser, Java/IconSuf, Java/Phonox ...Supported by nearly all mobile platforms (exception: iPhone)

Mobile malware in practice - A. Apvrille 5/18

Page 14: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• You logged on your onlinebank account. URL ok.Asked for phone number andphone model.

• Receiving an SMS requestinginstall of a ”securitycertificate”. Provides link toapplication.

• Valid certificate, appropriatesupplier, signed bySymbian.

• Phone looks fine. No SMS inthe outbox.

Image from s21sec

Meet Zitmo ! :-((

Mobile malware in practice - A. Apvrille 6/18

Page 15: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• You logged on your onlinebank account. URL ok.Asked for phone number andphone model.

• Receiving an SMS requestinginstall of a ”securitycertificate”. Provides link toapplication.

• Valid certificate, appropriatesupplier, signed bySymbian.

• Phone looks fine. No SMS inthe outbox.

Image from s21sec

Meet Zitmo ! :-((

Mobile malware in practice - A. Apvrille 6/18

Page 16: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• You logged on your onlinebank account. URL ok.Asked for phone number andphone model.

• Receiving an SMS requestinginstall of a ”securitycertificate”. Provides link toapplication.

• Valid certificate, appropriatesupplier, signed bySymbian.

• Phone looks fine. No SMS inthe outbox.

Image from s21sec Meet Zitmo ! :-((

Mobile malware in practice - A. Apvrille 6/18

Page 17: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• You logged on your onlinebank account. URL ok.Asked for phone number andphone model.

• Receiving an SMS requestinginstall of a ”securitycertificate”. Provides link toapplication.

• Valid certificate, appropriatesupplier, signed bySymbian.

• Phone looks fine. No SMS inthe outbox.

Image from s21sec Meet Zitmo ! :-((

Mobile malware in practice - A. Apvrille 6/18

Page 18: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• You logged on your onlinebank account. URL ok.Asked for phone number andphone model.

• Receiving an SMS requestinginstall of a ”securitycertificate”. Provides link toapplication.

• Valid certificate, appropriatesupplier, signed bySymbian.

• Phone looks fine. No SMS inthe outbox.

Image from s21sec Meet Zitmo ! :-((

Mobile malware in practice - A. Apvrille 6/18

Page 19: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• You logged on your onlinebank account. URL ok.Asked for phone number andphone model.

• Receiving an SMS requestinginstall of a ”securitycertificate”. Provides link toapplication.

• Valid certificate, appropriatesupplier, signed bySymbian.

• Phone looks fine. No SMS inthe outbox.

Image from s21sec

Meet Zitmo ! :-((

Mobile malware in practice - A. Apvrille 6/18

Page 20: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Meet Zitmo Trojan

Identity card

• SymbOS/Zitmo.A!tr, aka ZeusMitmo, Zbot

• Discovered Sept 2010, new version Feb 2011

• Symbian, Windows Mobile, BlackBerry

• Propagated by Zeus botnets

Goal• Some banks send a second password by SMS to secure their

login procedure

• Zitmo intercepts the SMS and sends it to malware authors.The SMS is never displayed on the victim’s phone.

• 1st password stolen from computer infected by Zeus

• They can access your bank account during your sleep!

• Handles a few remote commands via SMS (ADD SENDER,SET ADMIN...)

Mobile malware in practice - A. Apvrille 7/18

Page 21: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

SymbOS/Zitmo: Silently intercepting all incoming SMS

Assembly code taken from Zitmo

; Open socket RSocket::Open(RSocketServ &,uint,uint,uint)

BL _ZN7RSocket4OpenER11RSocketServjjj

STR R0, [R11,#errcode] ; store the return code

LDR R3, [R11,#errcode]

CMP R3, #0 ; if return code != KErrNone

BNE loc_7C90DAF8 ; jump to this location if error

SUB R0, R11, #0x54

BL _ZN8TSmsAddrC1Ev ; TSmsAddr::TSmsAddr(void)

SUB R0, R11, #0x54

MOV R1, #4 ; ESmsAddrMatchText

; set socket family (SetSmsAddrFamily) to ESmsAddrMatchText

BL _ZN8TSmsAddr16SetSmsAddrFamilyE14TSmsAddrFamily

SUB R0, R11, #0x54

SUB R3, R11, #0x24

MOV R1, R3 ; text to match: _L8("")

BL _ZN8TSmsAddr12SetTextMatchERK6TDesC8

Mobile malware in practice - A. Apvrille 8/18

Page 22: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Own the malware adm1ns :D

• Install Zitmo on lab phone 1

• Send SET ADMIN command bySMS with phone number of labphone 2

• Done! Control the malwareremotely.

Alternative: craft settings2.dat

Enabled (00), Monitor all numbers(01), do not block calls (00) + labphone 2 phone number

C:\private\20022B8E\settings2.dat00 01 00 xx xx xx xx xx

Mobile malware in practice - A. Apvrille 9/18

Page 23: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Own the malware adm1ns :D

• Install Zitmo on lab phone 1

• Send SET ADMIN command bySMS with phone number of labphone 2

• Done! Control the malwareremotely.

Alternative: craft settings2.dat

Enabled (00), Monitor all numbers(01), do not block calls (00) + labphone 2 phone number

C:\private\20022B8E\settings2.dat00 01 00 xx xx xx xx xx

Mobile malware in practice - A. Apvrille 9/18

Page 24: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Own the malware adm1ns :D

• Install Zitmo on lab phone 1

• Send SET ADMIN command bySMS with phone number of labphone 2

• Done! Control the malwareremotely.

Alternative: craft settings2.dat

Enabled (00), Monitor all numbers(01), do not block calls (00) + labphone 2 phone number

C:\private\20022B8E\settings2.dat00 01 00 xx xx xx xx xx

Mobile malware in practice - A. Apvrille 9/18

Page 25: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Own the malware adm1ns :D

• Install Zitmo on lab phone 1

• Send SET ADMIN command bySMS with phone number of labphone 2

• Done! Control the malwareremotely.

Alternative: craft settings2.dat

Enabled (00), Monitor all numbers(01), do not block calls (00) + labphone 2 phone number

C:\private\20022B8E\settings2.dat00 01 00 xx xx xx xx xx

Mobile malware in practice - A. Apvrille 9/18

Page 26: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Own the malware adm1ns :D

• Install Zitmo on lab phone 1

• Send SET ADMIN command bySMS with phone number of labphone 2

• Done! Control the malwareremotely.

Alternative: craft settings2.dat

Enabled (00), Monitor all numbers(01), do not block calls (00) + labphone 2 phone number

C:\private\20022B8E\settings2.dat00 01 00 xx xx xx xx xx

Mobile malware in practice - A. Apvrille 9/18

Page 27: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Inside the UNINSTALL command of Zitmo.B (1/2)MOVS R0, R5

MOV R1, R10

MOVS R2, #9 ; get 9 left most chars of SMS body

BLX _ZNK7TDesC164LeftEi ; TDesC16::Left(int)

LDR R1, =aUninstall ; "UNINSTALL"

MOVS R0, R4

BLX _ZN7TPtrC16C1EPKt ; make TPtrC16 for UNINSTALL

MOVS R0, R5

MOVS R1, R4

BLX _ZNK7TDesC167CompareERKS_ ; compare strings

CMP R0, #0

BEQ compareCode

compareCodeLDR R1, =a45930 ; "45930"

MOVS R0, R6

BLX _ZN7TPtrC16C1EPKt ; TPtrC16::TPtrC16(ushort const*)

MOVS R1, R6

MOVS R0, R5 ; compare rest of SMS with 5-digit code

BLX _ZNK7TDesC167CompareERKS_ ; TDesC16::Compare(TDesC16 const&)

SUBS R6, R0, #0

BNE loc_7CA2A0C8

B installUsisx

Mobile malware in practice - A. Apvrille 10/18

Page 28: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Inside the UNINSTALL command of Zitmo.B (2/2)..

MOVS R1, R3

MOVS R0, R7

MOV R2, R10

BLX SWInstCli_8 ; what is this? see below

CMP R0, #0

BEQ createCertifUpdate ; create CertificateUpdate.exe process

Find out what is SWInstCli 8 in the SWInstallerLauncher API$ objdump --syms swinstcli\{000a0000\}.lib | grep -A 8 -E "}-8\.o"

SWInstCli{000a0000}-8.o: file format elf32-little

SYMBOL TABLE:

00000000 l F StubCode 00000000 $a

00000004 l O StubCode 00000000 $d

00000000 l d StubCode 00000008 StubCode

00000000 l d *ABS* 00000000 .directive

00000004 l F StubCode 00000000 theImportedSymbol

00000000 g F StubCode 00000000 _ZN5SwiUI15RSWInstLauncher

13SilentInstallERK7TDesC16RK6TDesC8

IMPORT_C TInt SwiUI::RSWInstLauncher::SilentInstall (

const TDesC & aFileName,

const TDesC8 & aOptions )

Mobile malware in practice - A. Apvrille 11/18

Page 29: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 30: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 31: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 32: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 33: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 34: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 35: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 36: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 37: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 38: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Would you install this? [HARD]

• Advanced Device Locks isa legitimate application

• Valid certificate,appropriate supplier,signed by Symbian

• Looks fine: icon,installation information,menu

• Mild suspicions: subjectname and fonts.

MeetSymbOS/Yxes.E!worm

Trojaned application!

Mobile malware in practice - A. Apvrille 12/18

Page 39: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

SymbOS/Yxes: Stealth Behaviour

Automatically downloads another variant and installs it

Stealth IAP selection; ECommDbDialogPrefDoNotPrompt

MOV R1, #3

; TCommDbConnPref::SetDialogPreference(TCommDbDialogPref)

; Arg1 = object, Arg2 = DoNotPrompt

BL _ZN15TCommDbConnPref19SetDialog

PreferenceE17TCommDbDialogPref

Stealth installationLDR R0, [R11,#installerobj]

MOV R1, R3 ; request status

LDR R2, [R11,#filename] ; e.g c:\data\kel.sisx

MOV R3, R12 ; install options

; SwiUI::RSWInstSilentLauncher::SilentInstall

BL SWInstCli_4

Mobile malware in practice - A. Apvrille 13/18

Page 40: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Mobile Malware Status - 2011

Hackers focus on technical exploits and geeky platforms butmalware authors focus on...

$$$ M O N E Y $$$

Not for fun, but for money !No new annoyware since 2008-2009approx. 1 malware family in 2 sends SMS messages using socialengineering or silent send.25% of malware families access InternetZitmo first case of organized crime

KISS - Keep It Simple, Stupid

Very simple code most of the timeNo need to use vulnerabilities / exploits.Use of public or undocumented APIs

Mobile malware in practice - A. Apvrille 14/18

Page 41: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Mobile Malware Status - 2011

Hackers focus on technical exploits and geeky platforms butmalware authors focus on...

$$$ M O N E Y $$$

Not for fun, but for money !No new annoyware since 2008-2009approx. 1 malware family in 2 sends SMS messages using socialengineering or silent send.25% of malware families access InternetZitmo first case of organized crime

KISS - Keep It Simple, Stupid

Very simple code most of the timeNo need to use vulnerabilities / exploits.Use of public or undocumented APIs

Mobile malware in practice - A. Apvrille 14/18

Page 42: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Mobile Malware Status - 2011

Hackers focus on technical exploits and geeky platforms butmalware authors focus on...

$$$ M O N E Y $$$

Not for fun, but for money !No new annoyware since 2008-2009approx. 1 malware family in 2 sends SMS messages using socialengineering or silent send.25% of malware families access InternetZitmo first case of organized crime

KISS - Keep It Simple, Stupid

Very simple code most of the timeNo need to use vulnerabilities / exploits.Use of public or undocumented APIs

Mobile malware in practice - A. Apvrille 14/18

Page 43: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Want to read more about it?

SMS Trojans - such as Java/GameSat.A!tr

D. Maslennikov, Russian Cybercriminals on the move: profiting from mobilemalware, Virus Bulletin Conference, September 2010A. Apvrille, J. Zhang, The Four Horsemen, 7th CONFidence 2010 conference,Krakow, Poland, May 24-26, 2010

Zitmo and YxesA. Apvrille, K. Yang, Defeating mTANs for profit, ShmooCon 2011,Washington DC, USA, January 28-30 2011A. Apvrille, Symbian Worm Yxes: Towards Mobile Botnets?, in Proceedings ofthe 19th EICAR Annual Conference, pp. 31-54, Paris, France, May 8-11, 2010

Cyber-criminalityG. Lovet, Fighting cybercrime: technical, juridical, and ethical challenges, VirusBulletin Conference, September 2009

Mobile malware in practice - A. Apvrille 15/18

Page 44: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Suspicious Symptoms

The following symptoms may indicateinfection (or may not):

• No app icon

• Suspicious SMS link

• Security certificate sent as a Symbianpackage (.sis, .sisx) not .p12 or.pfx

• Unknown application is listed on thephone

• Phone sends SMS, MMS, connects toInternet, calls unknown or premiumphone numbers / Phone bill rockets

• After installation, an unknown daemonis running on the phone / Phonebattery drains

Mobile malware in practice - A. Apvrille 16/18

Page 45: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Suspicious Symptoms

The following symptoms may indicateinfection (or may not):

• No app icon

• Suspicious SMS link

• Security certificate sent as a Symbianpackage (.sis, .sisx) not .p12 or.pfx

• Unknown application is listed on thephone

• Phone sends SMS, MMS, connects toInternet, calls unknown or premiumphone numbers / Phone bill rockets

• After installation, an unknown daemonis running on the phone / Phonebattery drains

Mobile malware in practice - A. Apvrille 16/18

Page 46: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Suspicious Symptoms

The following symptoms may indicateinfection (or may not):

• No app icon

• Suspicious SMS link

• Security certificate sent as a Symbianpackage (.sis, .sisx) not .p12 or.pfx

• Unknown application is listed on thephone

• Phone sends SMS, MMS, connects toInternet, calls unknown or premiumphone numbers / Phone bill rockets

• After installation, an unknown daemonis running on the phone / Phonebattery drains

Mobile malware in practice - A. Apvrille 16/18

Page 47: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Suspicious Symptoms

The following symptoms may indicateinfection (or may not):

• No app icon

• Suspicious SMS link

• Security certificate sent as a Symbianpackage (.sis, .sisx) not .p12 or.pfx

• Unknown application is listed on thephone

• Phone sends SMS, MMS, connects toInternet, calls unknown or premiumphone numbers / Phone bill rockets

• After installation, an unknown daemonis running on the phone / Phonebattery drains

Mobile malware in practice - A. Apvrille 16/18

Page 48: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Suspicious Symptoms

The following symptoms may indicateinfection (or may not):

• No app icon

• Suspicious SMS link

• Security certificate sent as a Symbianpackage (.sis, .sisx) not .p12 or.pfx

• Unknown application is listed on thephone

• Phone sends SMS, MMS, connects toInternet, calls unknown or premiumphone numbers / Phone bill rockets

• After installation, an unknown daemonis running on the phone / Phonebattery drains

Mobile malware in practice - A. Apvrille 16/18

Page 49: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Suspicious Symptoms

The following symptoms may indicateinfection (or may not):

• No app icon

• Suspicious SMS link

• Security certificate sent as a Symbianpackage (.sis, .sisx) not .p12 or.pfx

• Unknown application is listed on thephone

• Phone sends SMS, MMS, connects toInternet, calls unknown or premiumphone numbers / Phone bill rockets

• After installation, an unknown daemonis running on the phone / Phonebattery drains

Mobile malware in practice - A. Apvrille 16/18

Page 50: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Securing Mobile Phones

Tools

• Phone logs (LogExport),

• Packet sniffers (EzSniffer)...

Research Papers• Behaviour analysis: Liang Xie and Xinwen Zhang and Jean-Pierre Seifert and

Sencun Zhu. pBMDS: A Behavior-based Malware Detection System forCellphone Devices. In WiSec’10, March 2010.

• SMS sending profiles: Guanhua Yan, Stephan Eidenbenz, and Emanuele Galli.Sms-watchdog: Profiling social behaviors of sms users for anomaly detection. InRAID, volume 5758 of Lecture Notes in Computer Science, 2009.

• Rules combining security capabilities: William Enck, Machigar Ongtang, andPatrick McDaniel. On Lightweight Mobile Phone Application Certifi- cation. InCCS’09, November 2009.

Anything else?

Hackers welcome to help !

Mobile malware in practice - A. Apvrille 17/18

Page 51: Mobile Malware .. In Practice or Once bitten, twice …...Symbian, Windows Mobile, BlackBerry Propagated by Zeus botnets Goal Some banks send a second password by SMS to secure their

Thank You !

Contacts

Corporate research blog: http://blog.fortinet.com

Axelle Apvrille /mobile malware/ : [email protected] Aumoine /challenge/ : [email protected]

Want hints for the Insomni’Hack challenge?Bribe Alexandre Aumoine or me ;)

No, just kidding. We don’t accept bribes :=)

Slides edited with LOBSTER

Mobile malware in practice - A. Apvrille 18/18


Recommended