Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
MalwareUsed by 4 actorsExploits 10 CVEs

MOONSHINE

MOONSHINE is an Android exploit-and-spyware framework/spyware family first publicly reported by Citizen Lab in 2019 in campaigns targeting Tibetan groups, with subsequent reporting linking it to targeting of Uyghur and Taiwanese communities and related civil society organizations. It has been described as Android spyware embedded in legitimate-looking or trojanized mobile applications, and also as an exploit kit used in the wild to compromise Android devices via malicious links distributed through instant messaging and social platforms, especially WhatsApp, WeChat, Telegram, and links sent through chat groups. Reported lures included government announcements, COVID-19 news, religion-related content, travel information, Tibetan or Uyghur music and dance videos, and an Uyghur-language “Audio Quran” app. Some malicious apps impersonated trusted services such as WhatsApp, Skype, Signal, Telegram, Adobe Acrobat, prayer apps, and utilities.

MOONSHINE targets Android devices and has been observed exploiting vulnerabilities in Chromium-based browsers and Tencent Browser Server components embedded in Android apps. Reported targeted vulnerabilities include CVE-2016-1646, CVE-2016-5198, CVE-2017-5030, CVE-2017-5070, CVE-2018-6065, CVE-2018-17463, CVE-2018-17480, CVE-2019-5825, CVE-2020-6418, and reporting indicates an exploit for CVE-2023-3420 targeting WeChat is believed to be part of the framework. The framework validates request headers and serves exploit code only to targeted vulnerable app/browser versions, can masquerade malicious links as legitimate content, redirect victims back to benign content after exploitation, and can present a fake browser-engine update page that actually downgrades the engine to a vulnerable version. Earlier reporting described MOONSHINE forcing malicious URLs to open inside Facebook’s built-in Chrome-based webview and using a multi-stage chain that downloaded loaders into Facebook or Messenger directories and achieved persistence by overwriting shared libraries in legitimate apps.

The spyware payload associated with MOONSHINE has been referred to as Scotch in Citizen Lab reporting, described as a modular Java application with plugins such as Bourbon.jar and IceCube.jar. Capabilities directly reported across sources include collection of SMS messages, contacts, call logs/history, GPS/location data, device information, installed apps, clipboard data, browser bookmarks, files, screenshots, photos, microphone audio/recordings, camera images, notifications, chats/conversations, and shell command execution. Government advisory reporting states MOONSHINE can access cameras, microphones, messages/chats, photos, and location data, enabling real-time surveillance. NCSC-related reporting also states MOONSHINE management interfaces exposed file exfiltration, live audio capture, and screen recording, and that victim devices may pass a score value to C2 based on granted permissions.

Recent reporting from Trend Micro and Cisco Talos links MOONSHINE to the Android backdoor DarkNimbus, which has also been called DarkNights in some reporting. Trend Micro reported that successful exploitation in one observed chain replaced WeChat’s XWalk browser core with a trojanized APK containing DarkNimbus. DarkNimbus was described as actively developed since 2018, using XMPP via the Smack library for command-and-control and HTTPS for file transfer, and capable on Android of collecting device information, installed apps, contacts, SMS, call history, GPS data, clipboard data, browser bookmarks, files, screenshots, photos, and recordings, including theft of instant-messaging conversations via Android Accessibility Service. Cisco Talos also reported MOONSHINE and DarkNimbus in connection with the Earth Minotaur cluster and with DKnife traffic-hijacking activity.

Threat-actor associations in the content include POISON CARP, Earth Minotaur, and broader China-aligned activity. Citizen Lab and TibCERT attributed the 2018-2019 Tibetan targeting campaign using MOONSHINE to an operator they named POISON CARP. Trend Micro investigated Earth Minotaur using the MOONSHINE exploit kit in the wild and assessed MOONSHINE is likely shared among multiple threat actors, including Earth Minotaur, POISON CARP, UNC5221, and others. Multiple government and industry reports describe MOONSHINE as part of surveillance activity aligned with Chinese state interests and targeting communities considered politically sensitive, especially Tibetans and Uyghurs, with additional targeting of Taiwanese-linked communities and civil society. Some reporting also notes prior association of Moonshine with APT15 tooling lists.

Infrastructure and operational details directly mentioned include at least 55 MOONSHINE exploit-kit servers identified by 2024; management panels titled SCOTCH ADMIN or LOGIN; infrastructure overlap with UPSEC-associated login panels; virtually hosted management interfaces; and links between MOONSHINE exploit-kit infrastructure and DarkNimbus C2 infrastructure. Reported indicators and artifacts include the string DKNS in some DarkNimbus versions, the domain ansec[.]com as a DarkNimbus C2, WebSocket C2 on port 10011 for Scotch in earlier reporting, and observed malicious URL patterns such as /web/info with Base64-encoded decoy URLs in older Citizen Lab reporting.

Overall, MOONSHINE is best characterized from the provided content as an actively developed Android-focused exploit and surveillance platform used in targeted espionage and monitoring operations against Tibetan, Uyghur, Taiwanese, and related civil society targets, delivered through socially engineered links and trojanized apps, with extensive device surveillance and data-theft capabilities and recurring links to China-aligned threat activity.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

10 CVEs Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

10 CVES
CVE-2020-6418Type Confusion in Google Chrome V8 Turbofan

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2018-17480V8 out-of-bounds write in Google Chrome array deserialization

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2017-5030Remote Code Execution in Google Chrome V8 complex species handling

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2016-5198Type confusion in V8 in Google Chrome

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2016-1646Out-of-bounds read in Google V8 Array.prototype.concat

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2017-5070Type Confusion RCE in Google Chrome V8

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2018-17463Type Confusion RCE in Google Chrome V8

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2018-6065Integer overflow in V8 object instantiation in Google Chrome

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2023-3420Type Confusion in V8 (Google Chrome <114.0.5735.198)

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
CVE-2019-5825Out-of-bounds write in Google Chrome JavaScriptExploited in the wild

Exploit #8: Appears to be CVE-2019-5825 ... The specific exploit used here was written and published by Exodus Intelligence after they examined the git log for Chrome’s JavaScript engine, and found a vulnerability that had been fixed in source code, but whose patch had not yet shipped to Chrome users. | We refer to the Android exploit and malware kit as MOONSHINE, given a number of Alcohol-related strings included by the developer. This kit has not been publicly described previous to this report.

via citizenlabcitizenlab.ca
THREAT ACTORS

Groups observed using it

4 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
UNC5221

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
POISON CARP

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
Earth Minotaur

Trend Micro researchers investigated a group named Earth Minotaur that used the MOONSHINE exploit kit in the wild. MOONSHINE exploit kit targets vulnerabilities in instant messaging apps on Android devices, primarily affecting Tibetan and Uyghur communities.

via trend micro researchtrendmicro.com
Ke3chang

...including RoyalCLI and RoyalDNS, Okrum, Ketrum, and Android spyware named SilkBean and Moonshine.

via bleeping computerbleepingcomputer.com
MITRE ATT&CK

Techniques & procedures

12 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

4 techniques
T1189Drive-by CompromiseEvidence2

The malicious links led victims to MOONSHINE exploit kit servers, which install backdoors on the victims’ devices.

T1566PhishingEvidence1

When the server detects a version of TBS that is not vulnerable to the exploits supported in MOONSHINE, it doesn’t deliver the exploit code. Instead, the server returns a phishing page informing the victim that the version of browser engine used in the app is outdated and needs to be upgraded with a provided download link... However, the actual download browser engine is older and contains vulnerabilities.

T1566.002Spearphishing LinkEvidence2

Earth Minotaur sends carefully crafted messages via instant messaging apps to entice victims to click an embedded malicious link. They disguise themselves as different characters on chats to increase the success of their social engineering attacks.

T1566.003Spearphishing via ServiceEvidence1

"senior members of Tibetan groups received malicious links in individually tailored WhatsApp text exchanges with operators posing as NGO workers, journalists, and other fake personas."

Execution

1 technique
T1203Exploitation for Client ExecutionEvidence3

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.

Stealth

1 technique
T1036MasqueradingEvidence3

Some infected apps mimic popular platforms like WhatsApp or Skype, while others are standalone applications designed to appear trustworthy, especially to users from the affected regions.

Collection

3 techniques
T1005Data from Local SystemEvidence2

These two spywares hid inside legitimate-looking Android apps, acting essentially as “Trojan” malware, with surveillance capabilities such as the ability to access the phone’s cameras, microphone, chats, photos, and location data...

T1113Screen CaptureEvidence1

The management interface reveals extensive surveillance capabilities, including the ability to exfiltrate files from devices as well as capture live audio and screen recordings.

T1123Audio CaptureEvidence1

The management interface reveals extensive surveillance capabilities, including the ability to exfiltrate files from devices as well as capture live audio and screen recordings.

Command and Control

2 techniques
T1071Application Layer ProtocolEvidence1

"Scotch... uses the WebSocket protocol to communicate with its C2 server"; "ws://[MoonshineSite]:10011/ws?whisky_id=..."

T1105Ingress Tool TransferEvidence3

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
T1041Exfiltration Over C2 ChannelEvidence1

The management interface reveals extensive surveillance capabilities, including the ability to exfiltrate files from devices as well as capture live audio and screen recordings.

INDICATORS OF COMPROMISE

IOCs tracked for this family

2 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
2 tracked

IPs, domains, and DNS infrastructure linked to this family.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app2 years ago
domain●●●●●●●●●●●●View more in app2 years ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching2

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution4

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities10

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping12

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.