New Malware Found in Google Play Apps, 11 Million Downloads Affected

25 Sep 2024

Five years ago, a troubling discovery shook the tech community when a legitimate Android application on the Google Play Store was found to have been compromised. This breach stemmed from a library utilized by developers for ad revenue generation, which inadvertently introduced malicious code. As a result, the app connected a staggering 100 million devices to servers controlled by hackers, allowing harmful payloads to be secretly downloaded.

In a disconcerting echo of that incident, researchers from a Moscow-based security firm, Kaspersky, recently unveiled that two new applications, collectively downloaded 11 million times from the Google Play Store, were similarly infected with malware. The team suspects that a rogue software development kit (SDK) used for ad integration is once again at the heart of the issue.

Advanced Malware Techniques

SDKs serve as invaluable tools for developers, providing ready-made frameworks that streamline the app development process by managing repetitive tasks. In the case of the infected applications, an unvalidated SDK module was purportedly employed to facilitate ad displays. However, this same module also enabled covert communication with malicious servers, which not only harvested user data but also dispatched harmful code that could be executed and updated remotely at will.

The malware, identified as Necro, exhibited advanced techniques in this latest iteration. Some variants utilized steganography—a method of concealing data that is rarely seen in mobile malware. Furthermore, certain versions introduced sophisticated mechanisms to deliver harmful code capable of executing with elevated system privileges. Once a device fell victim to this malware, it established a connection with a hacker-operated command-and-control server, transmitting encrypted JSON data about the device and the compromised app.

The server would respond with a JSON file containing a link to a PNG image alongside metadata that included the image’s hash. If the hash verification succeeded on the infected device, the image would be downloaded.

According to Kaspersky researchers in a separate report, “The SDK module employs a fairly basic steganographic method. If the MD5 verification passes, it decodes the contents of the PNG file—specifically the pixel values in the ARGB channels—using standard Android tools. The getPixel method then extracts a value, the least significant byte of which contains the blue channel, and code processing starts.”

Viewing the blue channel as a one-dimensional byte array, the first four bytes represent the size of the encoded payload in Little Endian order. Following this, the payload of the stated size is recorded; this is a JAR file encoded with Base64, which is executed after being decoded via DexClassLoader. The Coral SDK then loads the sdk.fkgh.mvp.SdkEntry class from the JAR file using the native libcoral.so library, which has been obscured using the OLLVM tool. The execution starts from the ‘run’ method in the loaded class.

Subsequent payloads install malicious plugins that vary per device, enabling a spectrum of harmful activities. One such plugin allows the execution of code with elevated system privileges. Typically, Android restricts privileged processes from utilizing WebView, a component designed to display web content within apps. To bypass this restriction, Necro employs a hacking technique known as a reflection attack to instantiate a separate WebView factory.

This plugin is also capable of downloading and executing additional executable files that manipulate URL displays in WebView. With elevated privileges, these files can alter URLs to append verification codes for paid subscriptions and initiate downloads and executions of code from attacker-controlled links. Kaspersky's analysis of Necro revealed five distinct payloads.

The modular architecture of Necro presents numerous challenges for cybersecurity experts. Each payload is designed to perform specific tasks, making it difficult to detect and neutralize all components simultaneously. This adaptability underscores the importance of rigorous security measures and continuous monitoring in app development and distribution.

Top charts for Mobile Android

uTorrent

uTorrent

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

5
1032 reviews
5134557
downloads
Zona

Zona

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

4
614 reviews
873563
downloads
Minecraft

Minecraft

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

5
750 reviews
425613
downloads
Geometry Dash

Geometry Dash

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

4
539 reviews
327147
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