Skip to main content
Mallory
Malware2 associated actors

MQsTTang

Tracked since Dec 12, 2025 · Updated 25 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK23Techniques
IOCs1Tracked
Type
Backdoor
Capabilities
PersistencePost exploitationDefense evasion
Delivery
Lure
Platforms
Windows

MQsTTang, also known as QMAGENT, is a custom, single-stage Windows backdoor observed in campaigns beginning in January 2023. It enables operators to execute arbitrary commands on compromised hosts and retrieve standard output. Originally attributed to Mustang Panda, it was reassigned by ESET to CeranaKeeper in July 2025 following refinements to threat-cluster definitions and analysis of operational linkages. Observed targeting includes individuals involved with government entities and a governmental institution in Taiwan, with additional telemetry in Bulgaria and Australia.

MQsTTang uses the MQTT publish/subscribe protocol for command-and-control through a legitimate public broker, separating infected systems from direct connections to attacker-controlled infrastructure. It incorporates the QMQTT library and statically linked Qt components, executes commands through Qt process functionality, and encodes communications using Base64 and XOR transformations. It periodically transmits keepalive messages and returns command standard output rather than standard error.

The malware is distributed in RAR archives containing a single executable with diplomacy- or passport-themed decoy names. It copies itself into a public user directory and establishes persistence through a per-user Windows Run entry masquerading as a VLC-related component. Later versions detect common debugging and monitoring tools by enumerating processes and checking window classes, then switch MQTT communication topics when analysis tools are detected.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Mustang Panda

Beginning in January 2023, researchers observed MQsTTang in campaigns targeting individuals involved with government entities; ESET published a technical report in March 2023.

via trendai security blogtrendaisecurity.com
CeranaKeeper

ESET researchers have analyzed MQsTTang, a new custom backdoor... MQsTTang is a barebones backdoor that allows the attacker to execute arbitrary commands on a victim’s machine and get the output... its use of the MQTT protocol for C&C communication.

via eset welivesecurity blogwelivesecurity.com
MITRE ATT&CK

Techniques & procedures

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

Resource Development

6 techniques
T1583.003Virtual Private ServerEvidence1

“Some servers used in the campaign are on shared hosting.”

T1583.004ServerEvidence1

“Some servers used in the campaign seem to be exclusive to Mustang Panda.”

T1587.001MalwareEvidence1

“MQsTTang is a new custom backdoor…”

T1588.002ToolEvidence1

“Multiple legitimate and open-source tools, including psexec, ps, curl, and plink, were found on the staging server.”

T1608.001Upload MalwareEvidence2

The user's repositories host various malware, including the latest versions of TONEINS, TONESHELL, and a new tool, QMAGENT.

T1608.002Upload ToolEvidence1

“Multiple tools were uploaded to an FTP server.”

Initial Access

2 techniques
T1566.001Spearphishing AttachmentEvidence1

The backdoor ... are executables with names related to foreign affairs, such as PDF_ Contacts List Of Invitated Deplomatic Members and Note_Documents_No.14-Tokyo-__From___Embassy___of___Russia_ . ... samples also contain folder icon in an attempt to deceive victims about their real purpose.

T1566.002Spearphishing LinkEvidence1

“This fact, along with the filenames, leads us to believe that the malware is spread via spearphishing.” / “distributed via spearphishing links to a malicious file on an attacker-controlled web server.”

Execution

2 techniques
T1106Native APIEvidence1

“MQsTTang uses the QProcess class from the Qt framework to execute commands.”

T1204.002Malicious FileEvidence2

The files can then be extracted inside via the password provided in the document.

Persistence

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence1

“creates a new value qvlc … under the HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry key.”

Privilege Escalation

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence1

“creates a new value qvlc … under the HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry key.”

Stealth

5 techniques
T1036MasqueradingEvidence1

Similar to MQsTTang, the TinyNote backdoor samples also contain folder icon in an attempt to deceive victims about their real purpose.

T1036.004Masquerade Task or ServiceEvidence1

“the registry key is created with the name qvlc. This matches the name of a legitimate executable used by VLC.”

T1036.005Match Legitimate Resource Name or LocationEvidence1

“When creating copies, MQsTTang uses filenames of legitimate programs.”

T1480Execution GuardrailsEvidence1

“MQsTTang checks the paths it is executed from to determine which tasks to execute.”

T1622Debugger EvasionEvidence1

“iterate through running processes and look for… debuggers and monitoring tools” / “uses the FindWindowW Windows API to look for… analysis tools.”

Discovery

1 technique
T1622Debugger EvasionEvidence1

“iterate through running processes and look for… debuggers and monitoring tools” / “uses the FindWindowW Windows API to look for… analysis tools.”

Command and Control

6 techniques
T1071Application Layer ProtocolEvidence2

BambooToken го користи протоколот Message Queuing Telemetry Transport (MQTT) како комуникациски канал за контрола на Windows и Linux системи... се влегува во команден циклус што користи MQTT за C2 комуникација.

T1071.001Web ProtocolsEvidence1

The malware samples also communicate with other known C&C servers... constructs a GET request: http://5.188.33.190/api.php ... The encoded enumeration data is stored in a cookie called SSN ... expected result ... JSON ... {"msg":"[BASE64-ENCODED COMMAND]"}

T1095Non-Application Layer ProtocolEvidence1

This backdoor is unique because it communicates to its C&C servers over the MQTT protocol

T1102.002Bidirectional CommunicationEvidence1

“MQsTTang uses a legitimate public MQTT broker… broker.emqx.io”

T1132.001Standard EncodingEvidence1

“The content of the messages… is base64 encoded… and base64 encoded again.”

T1573.001Symmetric CryptographyEvidence1

“then XORed with the hardcoded string nasa”

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

“The output… is then sent back… { "ret" : "<Command output>" }”

Indicators of compromise

Observables

1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+6 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

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 matching1Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping23Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.