MOONSHINE
- Type
- Spyware
- Capabilities
- ExfiltrationPersistenceInitial accessDefense evasionReconnaissance
- Delivery
- SpearphishingLureExploit kitFake updateDrive by
- Platforms
- Android
MOONSHINE is an Android spyware family and the name used for an associated exploit-and-malware framework first publicly documented in 2019. It is used for targeted surveillance of Tibetan and Uyghur communities, with subsequent campaigns also targeting Taiwanese individuals and related civil society organizations. Distribution includes trojanized applications impersonating legitimate messaging, religious, utility, and community-oriented software, promoted through Telegram channels and links sent over WhatsApp.
The spyware supports file exfiltration, device-information collection, real-time location tracking, live microphone capture, photography, and screen recording. Its management interfaces expose access to SMS messages, contacts, call logs, and other device data, depending on granted permissions. The original framework deployed a modular Java implant called Scotch, whose downloadable plugins supplied additional surveillance functions and shell-command execution. Early infection chains established persistence by replacing shared libraries within legitimate applications.
The MOONSHINE exploit kit compromises vulnerable Chromium-based browser components embedded in Android applications. It selects exploits according to the requesting application and browser version and redirects victims to legitimate content after exploitation. Some campaigns present a fake browser-update prompt that instead installs an older, vulnerable browser engine. POISON CARP used the framework in tailored WhatsApp attacks against Tibetan organizations, while Earth Minotaur used the exploit kit against primarily Tibetan and Uyghur targets, including through WeChat. Earth Minotaur's observed infection chain replaced an embedded browser core with a trojanized version that deployed DarkNimbus. DarkNimbus is a separate malware family, not an alias for MOONSHINE.
Associated vulnerabilities
10 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Earth Minotaur, who mainly targets people from Tibetan and Uyghurs communities, used the MOONSHINE exploit kit to compromise their victims’ Android devices and infect them with an undisclosed Android backdoor we called DarkNimbus.
Earth Minotaur, who mainly targets people from Tibetan and Uyghurs communities, used the MOONSHINE exploit kit to compromise their victims’ Android devices and infect them with an undisclosed Android backdoor we called DarkNimbus.
Earth Minotaur, who mainly targets people from Tibetan and Uyghurs communities, used the MOONSHINE exploit kit to compromise their victims’ Android devices and infect them with an undisclosed Android backdoor we called DarkNimbus.
...including RoyalCLI and RoyalDNS, Okrum, Ketrum, and Android spyware named SilkBean and Moonshine.
Techniques & procedures
27 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
Actors find online groups and forums matching their intended victims to share the malware
Resource Development
4 techniques
Resource Development
Actors register domains for their command and control servers
Actors create accounts on websites and social media to share and advertise the malware
Malicious code is written for insertion into trojanised apps
Trojanised apps are uploaded to online platforms including app stores
Initial Access
5 techniques
Initial Access
Malicious scripts are hidden in otherwise legitimate apps and uploaded to app stores
The actors try to make their spyware appear more legitimate by uploading it to official app stores such as the Google Play Store and the Apple App Store or by adding malicious code to previously benign apps.
MOONSHINE masquerades as a legitimate app to lure victims into installing it. It has been shared via Telegram channels and links sent via WhatsApp.
MOONSHINE masquerades as a legitimate app to lure victims into installing it. It has been shared via Telegram channels and links sent via WhatsApp.
Actors send trojanised apps to targeted groups via social media including Telegram
Execution
2 techniques
Execution
MOONSHINE uses multiple Chromium exploits to attack instant messaging apps on Android... This gives attackers a great opportunity to exploit these vulnerabilities and install their backdoors.
Victims have to install the trojanised apps to execute the payload
Privilege Escalation
2 techniques
Privilege Escalation
Once an app is installed, it uses vulnerabilities on the device to perform unauthorised functions, or it may rely on a user granting app permissions to access and download information from the device.
Once an app is installed, it uses vulnerabilities on the device to perform unauthorised functions, or it may rely on a user granting app permissions to access and download information from the device.
Stealth
4 techniques
Stealth
The malicious payload is hidden within otherwise legitimate apps
Examples include ‘Tibet One’ and Audio Quran apps that have supported targets’ native languages and were promoted in online forums frequented by intended users, as well as some apps imitating the likes of legitimate brands such as Whatsapp and Skype.
Trojanised files match the name, appearance and function of legitimate apps.
Actors impersonate trusted individuals by creating cover websites and using usernames associated with target groups
Discovery
1 technique
Discovery
MOONSHINE has extensive surveillance capabilities, such as: > downloading files from device > retrieving device information
Collection
4 techniques
Collection
The trojanised apps may request unnecessary permissions including local files.
The management interface reveals extensive surveillance capabilities, including the ability to exfiltrate files from devices as well as capture live audio and screen recordings.
The trojanised apps may request unnecessary permissions including microphone access
The trojanised apps may request unnecessary permissions including camera access
Command and Control
3 techniques
Command and Control
Once logged in, the actors can access the page shown in the screenshot below. This page would display details of infected devices and the level of access the actor has to infected devices.
Malware connects to C2 using HTTPS and WebSocket’s.
Downloads the trojanized XWalk APK from the remote server... / Downloading the “libwcdb.so” file from a remote server for the backdoor to use
Exfiltration
1 technique
Exfiltration
Malware exfiltrates data using HTTPS and WebSocket connections.
Observables
86 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.