Hacking

Nation-state actors target critical sectors by exploiting the CVE-2021-40539 flaw

Experts warn of an ongoing hacking campaign that already compromised at least nine organizations worldwide from critical sectors by exploiting CVE-2021-40539.

Cybersecurity experts from Palo Alto Networks warn of an ongoing cyberespionage campaign that has already compromised at least nine organizations worldwide from critical sectors, including defense, healthcare, and energy.

Threat actors exploited a critical vulnerability, tracked as CVE-2021-40539, in the Zoho ManageEngine ADSelfService Plus software, which is self-service password management and single sign-on solution. The vulnerability resides in the REST API URLs in ADSelfService Plus and could lead to remote code execution (RCE).

In the middle of September, the FBI, CISA, and the Coast Guard Cyber Command (CGCYBER) warned that nation-state APT groups were actively exploiting the CVE-2021-40539 flaw.

Experts also observed a series of unrelated attacks that failed to compromise their targets, these attacks have been attributed to separated threat actors.

“As early as Sept. 17 the actor leveraged leased infrastructure in the United States to scan hundreds of vulnerable organizations across the internet. Subsequently, exploitation attempts began on Sept. 22 and likely continued into early October. During that window, the actor successfully compromised at least nine global entities across the technology, defense, healthcare, energy and education industries.” reads the analysis published by Palo Alto Networks.

“Following initial exploitation, a payload was uploaded to the victim network which installed a Godzilla webshell.”

Palo Alto Networks researchers started observing scans for vulnerable servers on September 17, a few days after the joint alert published by CISA, the FBI, and the CGCYBER, and the first exploitation attempts began on September 22 and likely continued into early October.

The analysis of the global telemetry from Palo Alto Networks revealed that attackers targeted at least 370 Zoho ManageEngine servers in the United States alone.

Upon compromising the target systems by exploiting the CVE-2021-40539 flaw, the threat actors deployed Godzilla web shells on compromised servers to gain persistence to the victims’ networks.

Following the deployment of the webshell, threat actors used additional tools deployed in a subset of compromised networks. The cyberspies also deployed a custom variant of an open-source backdoor written in Go language called NGLite and a credential-harvesting tool tracked as KdcSponge.

The NGLite backdoor allows running commands received through its C2 channel. Experts pointed out that the NGLite backdoor uses a novel C2 channel that leverages a decentralized network based on the legitimate NKN.

“The NKN touts that their decentralized network uses a public blockchain and can support communication between millions of peers, each of which are identified by a unique NKN address instead of the typical network identifiers, such as IP addresses. Therefore, the immediate IP address that the NGLite tool communicates with in its C2 channel is just a peer in the decentralized network and is unlikely to represent the threat actor’s network location.” continues the analysis. “This design makes detection and prevention of the NGLite C2 communication channel difficult.”

Experts also detailed the KdcSponge credential stealer, which hooks into the Windows LSASS API from within the LSASS process to steal credentials from inbound attempts to authenticate via the Kerberos service (“KDC Service”).

KdcSponge allows capturing the domain name, username, and password.

Once inside the target network, threat actors aim at exfiltrating sensitive information from local domain controllers, such as the Active Directory database file (ntds.dit) and the SYSTEM hive from the registry.

While experts have yet to attribute the campaign to a specific threat actor, they observed some similarities between the TTPs associated with Threat Group 3390 (TG-3390Emissary Panda, APT27, Bronze Union, and Lucky Mouse).

The APT group has been active since 2010, targeted organizations worldwide, including U.S. defense contractors, financial services firms, and a national data center in Central Asia.

The group was involved in cyber espionage campaigns aimed at new generation weapons and in surveillance activities on dissidents and other civilian groups. 

The cyber espionage group leverage both readily available tools and custom malware in their operations, many tools are available for years, but in recent attacks, their code was updated.

The recent string of attacks launched by the cyber-espionage group took place in 2020 and aimed at several gambling companies.

The post published by Palo Alto Networks, includes Indicators of Compromise (IoCs) for the recent string of attacks.

Follow me on Twitter: @securityaffairs and Facebook

[adrotate banner=”9″][adrotate banner=”12″]

Pierluigi Paganini

(SecurityAffairs – hacking, CVE-2021-40539)

[adrotate banner=”5″]

[adrotate banner=”13″]

Pierluigi Paganini

Pierluigi Paganini is member of the ENISA (European Union Agency for Network and Information Security) Threat Landscape Stakeholder Group and Cyber G7 Group, he is also a Security Evangelist, Security Analyst and Freelance Writer. Editor-in-Chief at "Cyber Defense Magazine", Pierluigi is a cyber security expert with over 20 years experience in the field, he is Certified Ethical Hacker at EC Council in London. The passion for writing and a strong belief that security is founded on sharing and awareness led Pierluigi to find the security blog "Security Affairs" recently named a Top National Security Resource for US. Pierluigi is a member of the "The Hacker News" team and he is a writer for some major publications in the field such as Cyber War Zone, ICTTF, Infosec Island, Infosec Institute, The Hacker News Magazine and for many other Security magazines. Author of the Books "The Deep Dark Web" and “Digital Virtual Currency and Bitcoin”.

Recent Posts

Operation ENDGAME disrupted global ransomware infrastructure

Operation ENDGAME dismantled key ransomware infrastructure, taking down 300 servers, 650 domains, and seizing €21.2M…

2 hours ago

Silent Ransom Group targeting law firms, the FBI warns

FBI warns Silent Ransom Group has targeted U.S. law firms for 2 years using callback…

20 hours ago

Leader of Qakbot cybercrime network indicted in U.S. crackdown

The U.S. indicted Russian Rustam Gallyamov for leading the Qakbot botnet, which infected 700K+ devices…

1 day ago

Operation RapTor led to the arrest of 270 dark web vendors and buyers

Law enforcement operation codenamed 'Operation RapTor' led to the arrest of 270 dark web vendors…

2 days ago

Chinese threat actors exploited Trimble Cityworks flaw to breach U.S. local government networks

A Chinese threat actor, tracked as UAT-6382, exploited a patched Trimble Cityworks flaw to deploy…

2 days ago

U.S. CISA adds a Samsung MagicINFO 9 Server flaw to its Known Exploited Vulnerabilities catalog

U.S. Cybersecurity and Infrastructure Security Agency (CISA) adds a Samsung MagicINFO 9 Server vulnerability to its…

3 days ago