Home

Awesome

bankbot-mazain

In recent years we've struggled against different types of malware that targeting Turkish banking and financial institution's apps. It has been observed that malicious banking applications have increased over the last two years. Especially on the mobile side, many new types of malicious software has spread via phishing, smishing etc.

As the spread of Zeus botnet's source code, Bankbot or Maza-in bot and C&C source code is also open sourced and different variants of this bots are spread in underground portals. Entire code of the Android application, as well as the complete C&C panel in PHP is available in different forums

Some of them:

nora-biz

hxxps://forum.exploit.in/index.php?s=52f9e19ea5173f0ea43855edabafff41&showtopic=113555 exploit-in

hxxp://a0007517.xsph.ru/threads/pishem-svoj-android-botnet-s-nulja.6/ Darklub

the software that used in C&C servers has small PHP code. C&C portal is managing android bots via commands. And it is stealing SMS messages to get OTP.

Botnet C&C Source Code

This C&C server basically add bots to panel and catch SMS messages from android phones. There are lots of active C&C servers in the wild

screenshot of C&C server

Almost all C&C servers are served on domain with .gdn TLD https://en.wikipedia.org/wiki/.gdn & some of them are served on domain with .pw TLD other domains of C&C domain owner

Observed domains are:

The person who owns these domains has previously used different domains as serving phishing sites and C&C servers.

enter image description here

old ones are: C&C servers search engine result

C&C server google cache

C&C server google cache

When you visited the following Turkish sites with mobile devices, the site helped spread mentioned android bot.

IRC forumlari

FilmIndirsene

If you visit sites mentioned above with mobile devices or browser with the user-agent strings set as one of the android browsers, site offers to install android application via shortened link.

You need to install Flash Player for Android from the link below so you can visit the site.

FilmIndirseneSource hxxp://dogrulama.link site which is serving URL shortening service is hosting fake flash player application.

SHA256 hashes of FlashPlayer.apk and its variants.

It seems that some of the class names are written in Turkish. Decompiled APK

and some also Russian (original ones are already found on the Russian forums).

enter image description here ПРОВЕРКА! & Запрос USSD выполнен

After installing the flashplayer.apk to phone the malware asks the user to give the device admin privileges for the first time.

Device Admin Privileges Device Admin

the other permissions that malware want to use are: permissions enter image description here

Malware has some services to run. enter image description here

The Trojan can receive the following commands from the C&C:

enter image description here

Malware scans all running process defined in statham class. getting running process list

enter image description here

After it has received the all running process list, It Compares to its own list of mobile banking applications. enter image description here

Almost all of the Turkish Mobile Banking and Financial applications are affected by BankBot malware right now:

And also The phone numbers in the source code are blocked by Bankbot.

Toast.makeText((Context)context, (CharSequence)"Giden Aramalar Engellendi.", (int)0).show();

Each of these phone numbers is used to access the related bank's phone banking system.

this.b = arrayList.getStringExtra("incoming_number");

The person who developed the malware is likely to be a bit lazy or have little experience in programming. Various sources on Internet shows that same string used for intercept/blocking outgoing calls. callblocking

Also C&C server has special login pages for getting credentials from user. enter image description here

display phishing window WebView with content downloaded from the link specified in a command. credentialgrab

We are likely to face many cases this year with the spread of open source malicious mobile banking application.