Skip to main content
Mallory
MalwareUsed by 2 actors

ReShell

ReShell is a previously undocumented .NET backdoor used in China-linked cyber espionage operations. It was first identified by Palo Alto Networks Unit 42 in intrusion cluster CL-STA-0045, which Unit 42 attributed with moderate confidence to Alloy Taurus (aka GALLIUM/Softcell), and it has also been reported by Trend Micro as malware used by the China-nexus actor Earth Krahang. Trend Micro described Earth Krahang as targeting government entities worldwide since early 2022, with a strong focus on Southeast Asia and additional victims in Europe, the Americas, and Africa.

Observed delivery and access paths include exploitation of Microsoft Exchange Server vulnerabilities, deployment via web shells on compromised servers, and spear-phishing. In the CL-STA-0045 activity, attackers attempted to execute ReShell as an undocumented .NET backdoor named windows.exe; Unit 42 named it based on its PDB path. In Earth Krahang operations, ReShell was delivered during the initial stage of attacks alongside Cobalt Strike and XDealer.

High-confidence capabilities directly described in the source material include information collection, file dropping, command execution, and AES-encrypted command-and-control communications. Unit 42 also reported that a ReShell sample was configured to communicate with 23.106.122[.]46 for command execution. Trend Micro further stated that ReShell is packed with ConfuserEX.

ReShell has been observed in long-term espionage intrusions against government-related targets, including a Southeast Asian government environment involving critical infrastructure, public healthcare institutions, public financial administrators, and ministries. In broader Earth Krahang reporting, the malware was associated with campaigns against government ministries and especially foreign affairs organizations. Related tooling observed in the same operations included China Chopper web shells, Cobalt Strike, Quasar RAT, GhostCringe, SoftEther VPN, Kerbrute, Mimikatz, ProcDump, Fscan, PlugX, ShadowPad, and XDealer/DinodasRAT.

Notable indicators and artifacts directly mentioned in the content include the filename windows.exe and C2 IP 23.106.122[.]46.

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.

THREAT ACTORS

Groups observed using it

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

View more details
GALLIUM

Earth Krahang delivers backdoors to establish access to victim machines. Cobalt Strike and two custom backdoors, RESHELL and XDealer, were employed during the initial stage of attack.

via trend micro researchtrendmicro.com
Earth Krahang

Earth Krahang delivers backdoors to establish access to victim machines. Cobalt Strike and two custom backdoors, RESHELL and XDealer, were employed during the initial stage of attack.

via trend micro researchtrendmicro.com
MITRE ATT&CK

Techniques & procedures

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

T1584.004ServerEvidence1

Earth Krahang abuses the trust between governments to conduct their attacks. We found that the group frequently uses compromised government webservers to host their backdoors and send download links to other government entities via spear phishing emails.

T1588.001MalwareEvidence1

Earth Krahang delivers backdoors to establish access to victim machines. Cobalt Strike and two custom backdoors, RESHELL and XDealer, were employed during the initial stage of attack.

T1608.001Upload MalwareEvidence1

the group frequently uses compromised government webservers to host their backdoors and send download links to other government entities via spear phishing emails.

T1608.005Link TargetEvidence1

Since the malicious link uses a legitimate government domain of the compromised server, it will appear less suspicious to targets and may even bypass some domain blacklists.

Initial Access

3 techniques
T1190Exploit Public-Facing ApplicationEvidence2

The threat actor abused the following vulnerabilities multiple times: CVE-2023-32315: command execution on OpenFire; CVE-2022-21587: command execution on Oracle Web Applications Desktop Integrator.

T1566.001Spearphishing AttachmentEvidence2

Earth Krahang also makes use of spear phishing email to attack its targets... In one case, the actor used a compromised mailbox from a government entity to send a malicious attachment to 796 email addresses.

T1566.002Spearphishing LinkEvidence1

the group frequently uses compromised government webservers to host their backdoors and send download links to other government entities via spear phishing emails.

Execution

2 techniques
T1053.005Scheduled TaskEvidence1

Maintaining backdoor persistence with task scheduling

T1203Exploitation for Client ExecutionEvidence1
TacticExecution

the emails are intended trick their targets into opening attachments or embedded URL links that ultimately lead to the execution of a prepared backdoor file on the victim’s machine.

Persistence

1 technique
T1053.005Scheduled TaskEvidence1

Maintaining backdoor persistence with task scheduling

T1053.005Scheduled TaskEvidence1

Maintaining backdoor persistence with task scheduling

Stealth

1 technique
T1036.007Double File ExtensionEvidence1
TacticStealth

backdoor filenames are usually related to geopolitical topics... 'Plan of Action (POA) - TH-VN - TH_Counterdraft_as of Feb 2022.doc.exe'

T1071.001Web ProtocolsEvidence1

Its binaries are packed with ConfuserEX and its command-and-control (C&C) communication is encrypted with the AES algorithm.

T1105Ingress Tool TransferEvidence1

uses certutil commands to download and install the SoftEther VPN server.

T1573Encrypted ChannelEvidence1

its command-and-control (C&C) communication is encrypted with the AES algorithm.

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
1 tracked

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

Hashes
1 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
ip.v4●●●●●●●●●●●●View more in app3 years ago
hash.sha256●●●●●●●●●●●●View more in app3 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 attribution2

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

Exploited vulnerabilities

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 mapping13

Every documented technique, ranked by evidence weight.

Researcher chatter

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