Chinese hackers use new custom backdoor to evade detection


The Chinese cyber espionage hacking group Mustang Panda was seen deploying a new custom backdoor named ‘MQsTTang’ in attacks starting this year.

Mustang Panda is an advanced persistent threat (APT) group known to target organizations worldwide in data theft attacks using customized versions of the PlugX malware. The threat actors are also known as TA416 and Bronze President.

Mustang Panda’s new MQsTTang backdoor malware does not appear to be based on previous malware, indicating the hackers likely developed it to evade detection and make attribution harder.

ESET’s researchers discovered MQsTTang in a campaign that started in January 2023 and is still ongoing. The campaign targets government and political organizations in Europe and Asia, focusing on Taiwan and Ukraine.

Latest campaign targets heatmap
Latest campaign targets heatmap (ESET)

The malware distribution happens through spear-phishing emails, while the payloads are downloaded from GitHub repositories created by a user associated with previous Mustang Panda campaigns.

The malware is an executable compressed inside RAR archives, given names with a diplomacy theme, such as scans of passports of members of diplomatic missions, embassy notes, etc.

The new MQsTTang backdoor

ESET characterizes MQsTTang as a “barebones” backdoor that enables the threat actor to execute commands remotely on the victim’s machine and receive their output.

“This new MQsTTang backdoor provides a kind of remote shell without any of the bells and whistles associated with the group’s other malware families,” reads the ESET report.

Upon launch, the malware creates a copy of itself with a command line argument that performs various tasks, such as starting C2 communications, establishing persistence, etc.

Tasks executed by the malware
Tasks executed by the malware (ESET)

Persistence is established by adding a new registry key under “HKCUSoftwareMicrosoftWindowsCurrentVersionRun,” which launches the malware at system startup. After reboot, only the C2 communication task is executed.

Infection chain
Attack chain (ESET)

An unusual characteristic of the novel backdoor is using the MQTT protocol for command and control server communications.

MQTT gives the malware good resilience to C2 takedowns, hides the attacker’s infrastructure by passing all communications through a broker, and makes it less likely to be detected by defenders looking for more commonly used C2 protocols.

Broker sitting in between the C2 and the victimized machine
Broker sitting in between the C2 and the victimized machine (ESET)

To evade detection, MQsTTang checks for the presence of debuggers or monitoring tools on the host, and if any are found, it changes its behavior accordingly.

Another recent Mustang Panda operation was observed between March and October 2022 by analysts at Trend Micro, who reported seeing heavy targeting against Australian, Japanese, Taiwanese, and Philippine organizations.

In that campaign, the threat group used three malware strains, namely PubLoad, ToneIns, and ToneShell, which aren’t present in the 2023 campaign spotted by ESET.

Whether or not MQsTTang becomes part of the group’s long-term arsenal or if it was specifically developed for a specific operation remains to be seen.



Source link