Malicious SMS are being sent with a link to a malicious APK. Finally, I got some time to take a look to the APK.
The APK uses an icon very similar to the one used by some valid applications ("Swiss Post" and "Post Finance") to fool the user. The APK requests Admin rights. Once granted the rights, the app is able to erase the device.
On account of the the admin rights, the APK can't be easily uninstalled. Moreover, this APK draw over other apps
If the "Draw over" permission is removed, the app can't be uninstalled and throws an error:
Bad guys are very insistent to keep persistence :)
There is some communication through HTTP with the C&C sending information about the device. For example, some of the apps installed
Also, the malicious APK is able to intercept all the SMS received on the phone and forward to the C&C, which permits for example to steal 2FA tokens
A quick overview to the APK did not give much information.
However, something that brought my attention is that the APK installs another DEX file. This second file is not pulled from Internet
Looking around a bit into the original original APK file I find a suspicious file, which it is likely the second DEX installed.
From the file system, I can pull the DEX file directly :)
Now it is time to take a look into the code of the DEX file
First thing I see is some interesting 'CreditCard' classes / methods:
Digging a bit into the code, I can see the apps which potentially are being 'monitored'
com.whatsapp", "com.android.vending", "com.facebook.orca", "com.facebook.katana", "com.tencent.mm", "com.google.android.youtube", "com.ubercab", "com.viber.voip", "com.eboks.activities", "com.skype.raider", "com.snapchat.android", "com.instagram.android", "com.twitter.android"
But the most interesting part of the code is the one to send credit card data.
The C&C can send several commands.
So basically, the commands are: intercept start, intercept stop, lock, unlock, and hard reset.
Playing a bit with BurpSuite, I can send those commands to the device and see the behavior
The lock command locks totally the device with a System update message, as showed in the image above.
Finally, the 'hard reset' command, is used to erase the device:
So this version of the malware targeting Switzerland 'monitors' a few more apps than the one analysed in FireEye report: com.eboks.activities", "com.skype.raider", "com.snapchat.android", "com.instagram.android", "com.twitter.android.
It also permits to steal received SMS, credit card details and forward to the C&C.
Once the device is compromised and the information is stolen, it can be remotely reset which would make a forensic investigation very hard.