During the course of our daily malware hunt, we came across a new mobile ransomware variant that leverages pornography to lure victims into downloading and installing it. We'd
previously blogged about similar Android malware.
App Name: Adult Player
URL:
hxxp://accanalasti247[.]topliberatone[.]pw/video_player.php?s=Zomhj9PlVZc=&name=Mp4TubePlayer_v5.562.apk&type=1&tpl=1&l=EN
MD5: 6ed2451d1300ff75e793744bb3563638
Package Name: content.mercenary.chiffon
Overview:
This ransomware acts as a porn app named "Adult Player" and lures victims who assume it is a pornographic video player. When the victim starts using it, the app silently takes a photo of the victim, which is then displayed on the ransomware screen, along with the ransom message. The app demands a ransom of 500 USD.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-YA57j61ZWl0/Vc2zipgDw-I/AAAAAAAAAKg/Mch8L3AxU-w/s320/mp4tube-app-icon.png) |
Icon |
Admin Activation:
Upon opening the app, it asks for admin rights as shown below :
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-fdBdXCnTO_g/Vc2z84afapI/AAAAAAAAAKo/if8F8JivYR4/s320/mp4tube-Activate.png) |
Admin privilege |
After clicking "Activate", the app shows a fake update page but nothing really happens in terms of an update.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-YxOGWNme3EU/Vc2232wlcEI/AAAAAAAAAK8/7V4u_0QbHsk/s320/mp4tube-systemupdate.png) |
Fake update page |
The malware then loads another APK named test.apk from it's local storage using a technique referred to as a reflection attack - /data/data/content.mercenary.chiffon/app_dex/test.apk.
Reflection is the ability of a program to examine and modify the behavior of an object at run time, instead of compile time.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-R57WEtjbxNY/Vc3H07svXxI/AAAAAAAAAL4/sy8tKxptBqM/s640/mp4tube-test.apk.png) |
APK stored in app's local storage |
The specific reason for using reflection remains unknown but one reason could be to evade static analysis and detection.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-dwV4iBegyQo/VdDIZrz2YTI/AAAAAAAAAM0/ilwpKYd3uiQ/s640/mp4tube-dexOpt-test.apk.png) |
Loading Test.apk |
Personalized Ransom Screen:
The ransomware checks whether front camera is available or not. If available, it clicks photo of the victim while he/she is using the app and displays the image on ransom page.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-5BK_90V2_qQ/Vc27NPFoQII/AAAAAAAAALo/lRgdIrMHsF0/s640/mp4tube-camera.png) |
Camera check |
The majority of the malicious activities are then conducted by the newly loaded test.apk. The malware connects to the following hard-coded domains contained in the app:
- hxxp://directavsecurity[.]com
- hxxp://avsecurityorbit[.]com
- hxxp://protectforavno[.]net
- hxxp://trustedsecurityav[.]net
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-xxO5_55iyyg/Vc238cPqrMI/AAAAAAAAALE/AZgywjrso40/s640/mp4tube-url-list.png) |
Hard-coded Domains |
The malware then sends following details that includes victim's mobile device and operating system information to the remote server:
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-t1uPVP6IIQY/Vc3Uj7-nfVI/AAAAAAAAAMg/QLyOU_XNVTA/s400/mp4tube-request-data.png) |
Data sent in requests |
Ultimately, the malware receives a custom ransom page upon run time in a multi-encoded response from the aforementioned servers.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-KLF79q-I3rQ/Vc25v6xybQI/AAAAAAAAALQ/vRbxThDAMhI/s640/mp4tube-response-decoded.png) |
Decoded Ransom Message |
Once the response is received, the ransomware locks the phone and displays the following ransom screen.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-Dm0aCA-_3Lk/Vc26T9Z_KeI/AAAAAAAAALY/zuwEh4hM4rA/s400/mp4tube-ransom-screen.png) |
Ransom Page 1 (User Image Displayed Here) |
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-dmEJg1HFJks/Vc26gCujPdI/AAAAAAAAALg/mOzXmWIbgL0/s320/mp4tube-money-demand.png) |
Ransom Page 2 |
The ransom screen is designed to stay persistent even at reboot. It does not allow the user to operate the device and keeps the screen active with ransom message.
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-5MMqrGJVPJU/Vc3KSD6vOyI/AAAAAAAAAME/tTi0_hpidLQ/s400/mp4-tube-BroadCast.png) |
Broadcast Receiver acting on particular events |
![Image](/cdn-cgi/image/format=auto/sites/default/files/images/blogs/-HEs73almad4/Vc3MKqDYzpI/AAAAAAAAAMQ/kknEbpygYOI/s400/mp4tube-wakelock.png) |
Preventing device from sleeping |
More variants:
We also encountered additional apps belonging to this ransomware family and exhibiting similar functionality.
Sample MD5s:
- ecd8c9eeae86c0d7d3c433e887fd5d3a
- b544785176ed8152671bac94a18ca9d0
- 9c731690985ce7c13ca9b25b9139d6a3
Mitigation:
The ransomware is designed to stay stagnant on screen and does not allow the the victim to uninstall it. Rebooting the device does not work in such cases as ransomware app becomes active immediately after reboot, which leaves no scope for the victim to get into device "settings" and uninstall the ransomware.
In such scenarios, it can be removed by using the following steps:
- Boot device into safe mode (Please note that entering "safe mode" varies depending on your device). Safe mode boots the device with default settings without running third party apps.
- Uninstalling ransomware from device requires you to first remove administrator privilege. To do the same, go to Settings --> Security --> Device Administrator and select ransomware app, then deactivate.
- Once this is done, you can go to Settings --> Apps --> Uninstall ransomware app.
Prevention:
To avoid being victim of such
ransomware, it is always best to download apps only from trusted app stores, such as Google Play. This can be enforced by unchecking the option of "Unknown Sources" under the "Security" settings of your device.