Clicky

Saturday, July 13, 2013

TRracer - commercial spyware / PUA samples for Android, Blackberry, SymbOS, iOS


Riskware/Killmob!Android 
Riskware/Killmob!Blackberry
Riskware/Killmob!SymbOS
Riskware/Killmob!iOS

Commercial spyware.
Functionality inlcudes (judging by the files - see more
http://killermobile.com/manuals/TRa.pdf

Schedule Days
Schedule Time
Data Setting
Report Call Logs
Report Contacts
Report SMS
Report Gmail
Report Web Browser
Report New Photos
Report New Videos
Call Record
Call Record Strategy
Record Format
Report Whatsapp Chats
Report Viber Chats
Report Skype Chats
Report Facebook Chats
Report Facebook Photos
Spy Call Number(s)
Do not record Spy Calls
Report GPS location
Recover via GMail
Enable GMail recovery

Download all files (Email me if you need the password)


Files included

File: TRa7.0.sis
MD5:  d55c0e339a2cbb91132f53c5ecaf4fd5
Size: 266200

File: Tracer-1.cod
MD5:  df01e4ea2433dc08bce21b7b44a604eb
Size: 43240

File: TRacer.apk.1
MD5:  1c37f184a707d2c7c6d79cabeda2df69
Size: 7938460

File: com.timecompiler.Tracer_0.0.1-958_iphoneos-arm.deb
MD5:  fbb4a02d9921cb303d70c147bd8e270c
Size: 2669126




Thursday, June 6, 2013

Backdoor.AndroidOS.Obad.a

Update Sept 13, 2013 
Sandbox results from Andrototal:
http://andrototal.org/sample-analysis/hash/E1064BFD836E4C895B569B2DE4700284
http://andrototal.org/sample-analysis/hash/F7BE25E4F19A3A82D2E206DE8AC979C8


Research:
Kaspersky: The most sophisticated Android Trojan
Droidnews: Самый сложный вредонос под Android 

Sample credit: Tim Strazzere (Lookout Security)

Size: 84306
MD5:  E1064BFD836E4C895B569B2DE4700284

Size: 85079
MD5:  F7BE25E4F19A3A82D2E206DE8AC979C8



Download. Email me if you need the password


The following analysis was shared by Gunther

If you simply use dex2jar+JD-GUI, you will realised that most of the methods can't be decompiled.
Furthermore, i've realised that the one which it managed to decompiled looked wrong too.
I've attached my manual approach as well

Basically for a start, i would recommend you to use apktool first.
apktool.bat d <filename>

You should see something like this after running the above command.

    C:\Users\Gunther\Desktop\apktool>apktool.bat d F7BE25E4F19A3A82D2E206DE8AC979C8
    I: Baksmaling...
    I: Loading resource table...
    I: Loaded.
    I: Decoding AndroidManifest.xml with resources...
    I: Loading resource table from file: C:\Users\Jacob\apktool\framework\1.apk
    I: Loaded.
    I: Regular manifest package...
    I: Decoding file-resources...
    I: Decoding values */* XMLs...
    I: Done.
    I: Copying assets and libs...
    C:\Users\Gunther\Desktop\apktool>

Now let’s take a look at the AndroidManifest.xml file, you should see the the permissions requested by the APK file.
It's a huge list so i won't paste it here.

From the AndroidManifest.xml, we also know the following
1.) This malware have several "service" entries.
Furthermore, if we look up http://developer.android.com/guide/topics/manifest/intent-filter-element.html we can see that it indicates to have a high priority.
2.) There is an Activity entry and under the “intent” tag of this Activity entry. It indicates to start as the main entry point according to http://developer.android.com/reference/android/content/Intent.html#ACTION_MAIN

According to the official diagram from Android, we should be looking at “OnCreate” function first.

3.) Earlier on, i've written that there are several "Service" being started by this app. According to http://developer.android.com/reference/android/app/Service.html We should be looking at “OnCreate” or “StartService” in that class file.
This “Service” is running in the background even when the user is not directly interacting with the application.

Analysis of Dalvik Code:
Let’s take a look at the onCreate function first. To have a better understanding of Dalvik byte code, it’s probably better to have either of the following 2 links:
http://pallergabor.uw.hu/androidblog/dalvik_opcodes.html
http://source.android.com/tech/dalvik/dalvik-bytecode.html

Now before we go to "OnCreate", earlier on i've mentioned that Dex2Jar screwed it up right. Let's look at "cOIcOOo" in this smali file, "OclIIOlC"

Now look at the original smali code and this one with comments.
.method private static cOIcOOo(III)Ljava/lang/String;
// private static String cOIcOOo(Int paramInt1, Int paramInt2, Int paramInt3){
    .locals 6
    sget-object byteArray1, Lcom/android/system/admin/OclIIOlC;->cOIcOOo:[B
    // byte[] byteArray1 = OclIIOlC.cOIcOOo;
    add-int/lit8 p0, p0, 0x60
    // paramInt1 = paramInt1+0x60
    add-int/lit8 paramInt3, paramInt3, 0x21
    // paramInt3 = paramInt3+0x21;
    const/4 k, 0x0
    // int k = 0;
    new-instance v0, Ljava/lang/String;
    // String v0;
    new-array byteArray2, paramInt3, [B
    // byte[] byteArray2 = new byte[paramInt3];
    if-nez byteArray1, :cond_0
    // if( byteArray1==null ){
    move v2, paramInt3
    // v2 = paramInt3;
    // }
    move v3, paramInt2
    // v3 = paramInt2;
:goto_0
    add-int/lit8 paramInt2, paramInt2, 0x1
    // paramInt2 += 1;
    // or paramInt2++;
    add-int/2addr v2, v3
    // v2 += v3;
    add-int/lit8 paramInt1, v2, -0x2
    // paramInt1 = v2 + (-0x2);
:cond_0
    int-to-byte v2, paramInt1
    aput-byte v2, byteArray2, k
    // Puts the byte value in v2 into an element of a byte array. The element is indexed by k, the array object is referenced by byteArray2.
    // byteArray2[k] = v2;
    add-int/lit8 k, k, 0x1
    // k +=0x1;
    // or k++;
    if-lt k, paramInt3, :cond_1
    // if( k>=paramInt3 ){
    const/4 v2, 0x0
    // v2 = 0x0;
    invoke-direct {v0, byteArray2, v2}, Ljava/lang/String;-><init>([BI)V
    return-object v0
    // return new String(byteArray2, v2);
:cond_1
    move v2, paramInt1
    // v2 = paramInt1;
    aget-byte v3, byteArray1, paramInt2
    // Gets a byte value of a byte array into v3. The array is referenced by byteArray1 and is indexed by paramInt2.
    // v3 = byteArray1[paramInt2];
    goto :goto_0
.end method
}

Now compare it with "HelloWorld", which I've attached here. This should be the way to finally reverse it...i think.

Ok, i've also mentioned before on why AVs and some of the tools don't work.
Most of the better Android malware nowadays uses Reflection API.
Reflection can allow a program to create a "function pointer"  and invoke the target function by using it. You can see it's common usage in ExploitKits or those Java exploits.

You will see it when you start reversing "OnCreate" function.

Wednesday, May 29, 2013

Monday, May 13, 2013

Android Stels


Hello all, sorry for the long outage - been busy :) Here are are 3 posts for Stels, Perkele, and Korean SMSspy (see 2 posts after this one)

Android Stels

File: flashplayer.android.update.apk
Size: 164210
MD5:  B226A66A2796E922302B96AE81540D5C

Research: Stels Android Trojan Malware Analysis - Secure Works Dell
Sample credit: Tim Strazzere Lookout Security



Download (Email me if you need the password)




Android Perkele / Fake Site


com-fake site source

Please see the list of included files below

Sample and screenshot credits: Anonymous
News: Mobile Malcoders Pay to (Google) Play - Brian Krebs




SMS malware bot for sale, created to look like a security certificate with logos of your company
1 app - $1000. Full kit -$15,000



Download. (Email me if you need the password scheme)




Android SMSSpy / SMSSender / Nopoc.A



Sample credit: Jihong Park



Size: 253578
MD5:  74E09C5F57D5A040C86A86CDAD7F04FA



Download:  (Email me if you need the pass scheme for the newer samples)






Friday, April 19, 2013

SMSSilense aka Fake Vertu


File: vertu.jp.apk
Size: 1689220
MD5:  2E88C747D1B96B6ED19D3B66F00C4D98


File: vertu.kr.apk
Size: 581473
MD5:  FD6437199664E097870723F31F81222B


Sample credit: Sanjay Gupta

Research: McAfee Fake Vertu App Infects Korean and Japanese Android Users
A new threat has surfaced targeting users in Korea and Japan, but this attack, unlike others making the news, is not one motivated by political or ideological dogma. Instead, this one is based purely on old-fashioned greed. Vertu phone owners or those looking for a localized Vertu theme in Korean or Japanese for an Android phone had better think twice before downloading something. McAfee Mobile Research has identified a new variant of Android/Smsilence distributed under the guise of a Vertu upgrade/theme that is targeting Japanese and Korean users.





BadNews - Android adware/malware network samples



File: live.photo.savanna.apk
Size: 3354613
MD5:  98CFA989D78EB85B86C497AE5CE8CA19
sample credit: Tim Wyatt -Lookout

File: ru.blogspot.playsib.savageknife.apk
Size: 4124257
MD5:  5B08C96794AD5F95F9B42989F5E767B5
sample credit: Sanjay Gupta


Lookout has discovered BadNews, a new malware family, in 32 apps across four different developer accounts in Google Play. According to Google Play statistics, the combined affected applications have been downloaded between 2,000,000 – 9,000,000 times.

Download. Email me if you need the password





Saturday, April 6, 2013

Chuli.A - Targeted attack Android Trojan


Research: Kaspersky. Android Trojan Found in Targeted Attack
Backdoor:AndroidOS/Chuli.A

Sample credit: Arvind Kumar


File: c4c4077e9449147d754afd972e247efc
Size: 333583
MD5:  C4C4077E9449147D754AFD972E247EFC


File: 0b8806b38b52bebfe39ff585639e2ea2
Size: 334326
MD5:  0B8806B38B52BEBFE39FF585639E2EA2


Download (email me if you need the password)





Monday, March 18, 2013

Android.Uracto - fraud, SMS spam


Research: Symantec. Android.Uracto Used to Trick Mothers, Anime Fans, Gamers, and More
Sample credit: Sanjay Gupta



D09A1FF8A96A6633B3B285F530E2D430 NewsAndroidnocode.apk
4C937667CB23E857D42B664334E1142A NewsAndroidcode03.apk
BA73E96CAA95999321C1CDD766BDF58B NewsAndroidcode02.apk
CF45E1288B47D97326ED279F2EE41E4D NewsAndroidcode01.apk


Download. Email me if you need the password




Friday, March 8, 2013

Android - FakeJobOffer


File: com.saavn.android.apk
Size: 973303
MD5:  9E8FA23DFC817BDCAD42B2F6ADA6E658
Sample credit:  Jimmy Shah


Research: Android Malware Goes Bollywood - McAfee

Download. Email me if you need the password





Tuesday, February 26, 2013

Saturday, February 16, 2013

Android Tetus - Infostealer



File: com.stephbriggs5.batteryimprove-2.apk
Size: 293777
MD5:  6408DF6ABA4C7F1803C2AAC8F17C4CA3


File: 85CE55DC130F214B0567987EDFF77DC0
Size: 274999
MD5:  85CE55DC130F214B0567987EDFF77DC0


File: com.droidmojo.awesomejokes.apk
Size: 268360
MD5:  01772AEFE0230C3669E21D79FC920D2E



File: 65C75AF5DE2628BD6215BB99DD76D3AC
MD5:  65c75af5de2628bd6215bb99dd76d3ac
Size: 277644

Research: Symantec. Android Tetus

When the Trojan is executed, it registers an SMS observer to record SMS messages and send them to the following command-and-control (C&C) server:
[http://]android.tetulus.com

The Trojan may delete some SMS messages from the device.

It may also register an SMS receiver to send SMS messages without the user's consent.

The Trojan may send a list of all installed apps on the device to the following remote location:
[http://]fast.app-engines.com

Download. Email me if you need the password





Android SMSSend sample - Package Installer

com.android.packageinstaller
File: install.apk
MD5:  5d9c622b240dab5d6e883e26e9ea0fc0
Size: 261887

credit: anonymous donation





Android Armour sample



File: Scan-For-Viruses-Now.apk
MD5:  084a7b576f5df438abba3131a90af493
Size: 1427490

Sample credit: anonymous donation

Research: A chink in Android Armour - Sophos

It is not malware but a very sketchy app with poor performance and false positives,  extorting money for nothing, considering there are many reputable free AV apps like Lookout or Sophos

Download. Email me if you need the password






Android Plankton / Counterclank sample - Collage Creator


com.changedroid.picture.collage.creator.apk
Size: 9842061
MD5:  DE842DD94324492ACE8C2C8EBD350BC8
sample credit: anonymous donation


Download. Email me if you need the password






Monday, February 4, 2013

Android - Trojan!Extension.A


Update: Feb 16
Added 2nd stage file  Loaded runtime, no need to install - credit Thomas Wang

Feb 4, 2013
Research: Trustgo: Trojan!Extension.A – Complex Malware Escapes AV Detection
Sample credit: Thomas Wang


File: 6d43b3bc85770fafeb598eb5297bc341.apk
Size: 434436
MD5:  6D43B3BC85770FAFEB598EB5297BC341



Download the original (1st stage). Email me if you need the password
2nd stage download Email me if you need the password





Android/Windows Spy:Android/Ssucl - DroidCleaner and Superclean.


Research: Kaspersky: Mobile attacks  - Android with Windows malware downloads



File: smart.apps.superclean-1.apk
Size: 502441
MD5:  2529085824C55DBBAED0B86EDE7B3C60

File: smart.apps.droidcleaner-1.apk
Size: 310274
MD5:  C5A2D14BC52F109A06641C1F15E90985


File: smart.apps.droidcleaner-1.apk 
Size: 330984
MD5:  123478A70219D24A5E5A40074B8775BA


File: SuperClean-11.apk 
Size: 528630
MD5:  B0C28334373332D4677C01BD48EED431


Download 
android files listed above plus




from http://claco.hopto.org 


    Controller.exe
    svchost.exe

plus from claco.kicks-ass.org  

    Extra_Fotos.zip
    Kst.exe
    pwd.exe   


Friday, January 18, 2013

Android Opfake - DevilsCreed.full_1.8_installer.apk



File: com.alioth.imdevil_jp.DevilsCreed.full_1.8_installer.apk
Size: 746430
MD5:  DFB76FE66E90AC0B4DFDC383BB3FBFFF

Sample credit: Many thanks to Hayk



Download. Email me if you need the password