Original Post from Security Affairs
Author: Pierluigi Paganini
xHelper, a new strain of Android malware is able to re-install itself on infected devices even after victims delete it or force a factory reset.
xHelper is a piece of malware that was first spotted in October 2019 by experts from security firm Symantec, it is a persistent Android dropper app that is able to reinstall itself even after users attempt to uninstall it.
The campaign began months before, the malware infected more than 45,000 Android devices in just six months and continuing to spread at a fast space.
At the time, Symantec estimated that the Xhelper malware was infecting at least 2,400 devices on an average each month, mainly in India, U.S., and Russia.
Now security experts from Kaspersky Lab have provided technical details about the malware shedding lights on its capabilities and the persistence mechanism implemented by the malicious code.
The researchers also provided information on how to remove xHelper from an infected device.
The malware is distributed as a popular cleaner and speed optimization app for mobile devices, most of the infections reported by Kaspersky are in Russia (80.56%), India (3.43%), and Algeria (2.43%).
Once installed on the mobile device, the “cleaner” disappears and remains visible only by inspecting the list of installed apps in the system settings.
Upon the installation, the malicious app registers itself as a foreground service and extracts an encrypted payload that gathers information about the victim’s device (android_id, manufacturer, model, firmware version, etc.) and sends it to a server under the control of the attackers (https://lp.cooktracking[.]com/v1/ls/get).
At this stage, a dropper tracked Trojan-Dropper.AndroidOS.Helper.b, is decrypted and launched, then it executes the Trojan-Downloader.AndroidOS.Leech.p malware that downloads the well known HEUR:Trojan.AndroidOS.Triada.dd with a set of exploits and attempts to obtain root privileges on the victim’s device.
“Malicious files are stored sequentially in the
The malicious code mounts a system partition at system startup in read-only mode. Leveraging the root privileged, it remounts the partition in
Upon installation, the malware waits for commands from the C2, it uses
“Bear in mind too that the firmware of smartphones attacked by
“The malware installs a backdoor with the ability to execute commands as a superuser. It provides the attackers with full access to all app data and can be used by other malware, too, for example, CookieThief.”
The malicious code assigns the immutable attribute for all files in the target
Experts pointed out that xHelper also modifies a system library (libc.so) to prevent infected users from re-mounting system partition in the write mode.
Replacing the modified “libc.so” using one from the original Android firmware users could re-enable mounting system partition in the write-mode and remove xHelper Android malware.
“But if you have Recovery mode set up on your Android smartphone, you can try to extract the libc.so file from the original firmware and replace the infected one with it, before removing all malware from the system partition. However, it’s simpler and more reliable to completely reflash the phone.” concludes Kaspersky.
The post xHelper, the Unkillable Android malware that re-Installs after factory reset appeared first on Security Affairs.
Go to Source
Author: Pierluigi Paganini