An APT campaign with a China connection is targeting several government entities on a global basis, with a strong focus in Southeast Asia, but also Europe, America, and Africa, a new report found.

The threat actor exploits public-facing servers and sends spear phishing emails to deliver previously unseen backdoors, according to Trend Micro threat researchers, Joseph C Chen and Daniel Lunghi.

Their research found connections with a China-nexus threat actor they are calling Earth Lusca. However, the researchers said, since the campaign employs independent infrastructure and unique backdoors, they believe it to be a separate intrusion set they named Earth Krahang.

“One of the threat actor’s favorite tactics involves using its malicious access to government infrastructure to attack other government entities, abusing the infrastructure to host malicious payloads, proxy attack traffic, and send spear-phishing emails to government-related targets using compromised government email accounts,” Chen and Lunghi said in their advisory.

Attacker’s Tactics
“Earth Krahang also uses other tactics, such as building VPN servers on compromised public-facing servers to establish access into the private network of victims and performing brute-force attacks to obtain email credentials,” they said.

Schneider Bold

These credentials then end up used to exfiltrate victim emails, with the group’s ultimate goal being cyberespionage, they added.

Because the attackers made some mistakes, the researchers were able to retrieve multiple Earth Krahang files from servers, including samples, configuration files, and log files from its attack tools.

By combining that data with their own telemetry helped glean information about Earth Krahang.

One of the infection vectors used by the attacks involves the scanning of public-facing servers. Earth Krahang heavily employs open-source scanning tools that perform recursive searches of folders such as .git or .idea.

Brute Force Attacks
The threat actor also resorts to simply brute-forcing directories to help identify files what may contain sensitive information such as file paths or passwords on the victim’s servers, the researchers said. They also tend to examine the subdomains of their targets to find interesting and possible unmaintained servers.

Earth Krahang also conducts vulnerability scanning with tools like sqlmap, nuclei, xray, vscan, pocsuite, and wordpressscan to find web server vulnerabilities that will allow them to access the server, drop web shells, and install backdoors, the researchers said.

The threat actor took advantage of the following vulnerabilities multiple times:

  • CVE-2023-32315: Command execution on OpenFire
  • CVE-2022-21587: Command execution on Oracle Web Applications Desktop Integrator

Earth Krahang also makes use of spear phishing email to attack its targets, Chen and Lunghi said. Like most spear phishing attacks, 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.

Their information and some of the group’s backdoors uploaded on VirusTotal revealed the backdoor filenames usually relate to geopolitical topics, they said.

“We noticed that Earth Krahang retrieves hundreds of email addresses from their targets during the reconnaissance phase. In one case, the actor used a compromised mailbox from a government entity to send a malicious attachment to 796 email addresses belonging to the same entity,” Chen and Lunghi said. “The malicious attachment was a RAR archive containing an LNK file that deployed the Xdealer malware and opened a decoy document related to the governmental entity. It is likely the actor discovered the weak credentials of the compromised mailbox using brute-forcing tools.

Earth Krahang abuses the trust between governments to conduct their attacks, the researchers said.

Backdoors Send Links
The group uses compromised government webservers to host their backdoors and send download links to other government entities via spear phishing emails, they said. 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.

In addition, the actor used a compromised government email account to send email to other governments.

“Given the importance of Earth Krahang’s targets and their preference of using compromised government email accounts, we strongly advise organizations to adhere to security best practices, including educating employees and other individuals involved with the organization on how to avoid social engineering attacks, such as developing a healthy skepticism when it involves potential security issues, and developing habits such as refraining from clicking on links or opening attachments without verification from the sender,” Chen and Lunghi said.

“Given the threat actor’s exploitation of vulnerabilities in its attacks, we also encourage organizations to update their software and systems with the latest security patches to avoid any potential compromise,” they said.

Click here for the full report.

Pin It on Pinterest

Share This