Kaspersky Uncovers New Mandrake Android Spyware Variant on Google Play

29 Jul 2024

Mandrake Malware: A Persistent Threat in the Android Ecosystem

A recent investigation by Kaspersky has unveiled a new variant of the notorious Android spyware known as Mandrake, which has infiltrated five applications available on Google Play. These apps, collectively downloaded over 32,000 times, were present on the platform for at least a year before the last one, AirFS, was removed in March 2024. The original Mandrake malware was first documented by Bitdefender in 2020, showcasing its advanced spying capabilities and active presence since at least 2016.

Kaspersky’s analysis identified the five applications harboring the Mandrake malware as:

  • AirFS – File sharing via Wi-Fi by it9042 (30,305 downloads between April 28, 2022, and March 15, 2024)
  • Astro Explorer by shevabad (718 downloads from May 30, 2022, to June 6, 2023)
  • Amber by kodaslda (19 downloads between February 27, 2022, and August 19, 2023)
  • CryptoPulsing by shevabad (790 downloads from November 2, 2022, to June 6, 2023)
  • Brain Matrix by kodaslda (259 downloads between April 27, 2022, and June 6, 2023)

The majority of downloads originated from countries including Canada, Germany, Italy, Mexico, Spain, Peru, and the UK.

Evading Detection

What sets Mandrake apart from typical Android malware is its cunning approach to concealment. Instead of embedding malicious code directly into the app’s DEX file, Mandrake cleverly hides its initial stage within a native library named ‘libopencv_dnn.so,’ which is heavily obfuscated using OLLVM. Upon installation of the malicious app, this library exports functions designed to decrypt a second-stage loader DEX from its assets folder and subsequently loads it into memory.

The second stage of the malware requests permissions to draw overlays and loads another native library, ‘libopencv_java3.so,’ which is responsible for decrypting a certificate that facilitates secure communication with the command and control (C2) server. Once a connection is established, the app sends a device profile and, if the device meets certain criteria, receives the core Mandrake component (the third stage).

Once activated, the Mandrake spyware is capable of executing a variety of malicious activities, including:

  • Data collection
  • Screen recording and monitoring
  • Command execution
  • Simulation of user swipes and taps
  • File management
  • Installation of additional malicious apps

Notably, the malware can prompt users to install further malicious APKs by displaying notifications that mimic Google Play, thereby tricking users into downloading unsafe files under the guise of a trusted process.

In addition to its stealthy operations, Mandrake employs a session-based installation method to circumvent restrictions imposed by Android 13 and later versions regarding the installation of APKs from unofficial sources. Like many other Android malware variants, Mandrake can request permissions to run in the background and can hide the dropper app’s icon on the victim’s device, allowing it to operate undetected.

The latest iteration of Mandrake has also introduced battery evasion techniques, specifically checking for the presence of Frida, a dynamic instrumentation toolkit favored by security analysts. It further assesses the device’s root status, searches for specific binaries associated with rooting, verifies if the system partition is mounted as read-only, and checks whether development settings and ADB are enabled on the device.

While the five identified apps are no longer available on Google Play, the Mandrake threat persists, with cybercriminals continually evolving their tactics to stay ahead of detection mechanisms. As always, users are advised to exercise caution when downloading apps and to ensure their devices are protected with up-to-date security software.

Top charts for Mobile Android

uTorrent

uTorrent

Latest update uTorrent download for free for Windows PC or Android mobile

5
1032 reviews
5134115
downloads
Zona

Zona

Latest update Zona download for free for Windows PC or Android mobile

4
614 reviews
873427
downloads
Minecraft

Minecraft

Latest update Minecraft download for free for Windows PC or Android mobile

5
750 reviews
425596
downloads
Geometry Dash

Geometry Dash

Latest update Geometry Dash download for free for Windows PC or Android mobile

4
539 reviews
327093
downloads

News and reviews for Mobile Android

XChat Expands Features to Rival Major Messaging Apps

XChat, led by Elon Musk, enhances messaging with encryption, file sharing and more to challenge WhatsApp and iMessage.

Read more

Red Ronin Leads Top Android Game Discounts This Week

Red Ronin, a tactical turn-based game, is featured among top discounted deals on Google Play. Highlights include significant discounts on Galaxy Watch 7 and more.

Read more

Device Security Alert: Concerns Over Android Vulnerabilities

Significant security vulnerabilities in Android phones from Ulefone and Krüger&Matz have been identified by CERT Polska, risking user data. Prompt updates are advised.

Read more

Gmail Embraces Material 3 Design with Latest Android Update

Gmail's latest update unveils a Material 3-inspired UI, following the Android 16 design framework. The card-based changes include a fresh interface with a revised 'Compose' feature and search bar, aiming to bring consistency to Google's app ecosystem.

Read more

New Google App Brings AI Models to Android Devices

Google has unveiled an Android app enabling local use of AI models without internet, including interactive features and image analysis.

Read more

Gemini Introduces Email Summary Cards to Gmail on Mobile

Gemini launches new summary cards for Gmail on Android and iOS. These AI-powered tools offer automatic updates at the top of emails, assisting users in managing long threads effectively. Smart features must be enabled for full functionality.

Read more

Google Photos Enhances Experience with New Features

Marking its 10th anniversary, Google Photos introduces updated editing, AI, and sharing features to enhance user experience.

Read more

Google Enhances Android Phone App for Better User Experience

Google is preparing to release updates to the Android Phone app, improving readability and enhancing the user experience with new design elements.

Read more

Kiosk Software Enhances Business Operations and Security

Kiosk software streamlines business operations by optimizing Android devices for specific tasks. Leading software providers like Scalefusion and KioWare offer crucial features that enhance efficiency and ensure security, making these tools essential for many industries.

Read more

Auto-rotation Innovations Enhance Android Experience

Samsung's One UI and MacroDroid enhance Android's auto-rotation, enabling users to tailor screen rotation for specific apps effortlessly.

Read more