According to reports, a new Android malware is circulating under the guise of a fake chat application that is being distributed through WhatsApp.
This malware is discovered to belong to the APT Bahamut and has some footprints of tactics used by the DoNot APT.
This malicious Android application is initially termed “Coverlm” which is installed under the name “SafeChat” on Android devices.
This application’s user interface seems to be deceiving and would convince any Android user that it is a legitimate chat application.
However, once installed, the malware exploits unsuspected Android libraries for extracting and transmitting the data to a C&C (Command and Control) server.
This android malware seems to be targeting individuals in the South Asian region.
Android Malware Via WhatsApp
As previously stated, the app appears as a chat app and requests permission upon opening.
It asks for the “ignore battery optimization” permission which lets the application run on the backend and communicate with the C&C smoothly.
Upon providing the permission, the signup page appears. Proceeding further, the application asks for another permission under the question, “This permission is required to function properly,” which, when “allowed,” takes the victim to the Accessibility settings.
This permission pops up again and again until the permission is enabled. Once the user allows this permission, the application takes the user to the dashboard, which looks like a legitimate chat application.
Android Malware Behaviour
Reviewing the code in the Android Manifest file of this application showed that the threat actor declared many permissions to perform malicious behaviors with this application.
Some of the dangerous permissions include,
|ACESS_FINE_LOCATION||Allows the threat actor to fetch precise locations and track the live movement of mobile phones.|
|READ_CONTACTS||This permission allows TA to read and fetch contacts.|
|READ_EXTERNAL_STORAGE||This permission allows the threat actor to access the file storage of the mobile.|
|READ_SMS||This allows the threat actor to read all the SMSs of the device.|
|READ_CALL_LOG||This permission allows the threat actor to read call logs.|
|READ_CONTACTS||This permission allows the threat actor to read all the saved contacts in the device.|
Furthermore, the application used port 2053 for communicating with the C&C server.
Modules of the application represented the use of the Ktor framework developed with Kotlin which was used for communicating with command and control servers.
Previously, DoNot APT deployed the retrofit library for communication.
The application is capable of collecting information like IMEI, device ID, SIM details, and location.
One Nation State Interest
Analyzing further, this attack by APT Bahamut and their previous attack indicated that they have been part of one nation-state government’s interest.
In addition, it is suspected that these threat actors are based out of India as most of their targets pose an external threat to India.
Nevertheless, the facts are yet to be confirmed about their whereabouts. A complete report about the malware’s operation was published by Cyfirma which shows the source code, operation, and other detailed information about this malware and the APT group.
Indicators of Compromise
|https://laborer-posted[.]nl:2053||Domain and port||Command and control|