Tuesday, July 23, 2024
EHA

Cynet Publishes Review of HAFNIUM APT Attack on Microsoft Exchange

On Monday, March 2, 2021, Microsoft publicly announced that the HAFNIUM APT group (a state-sponsored attack group operating out of China) was actively exploiting on-premises versions of Microsoft Exchange Server in limited and targeted attacks by utilizing zero-day vulnerabilities, exposing Microsoft’s customers to remote code execution attackswithout authentication.

Initial analysis indicates that the impact is relevant to Exchange 2013, 2016, and 2019. It is important to note that an Exchange 2010 security update has also been issued, though the CVEs do not reference that version as being vulnerable.Cynet’s investigation of customer environment activities and alerts have identified indicators that suggest other players are actively exploiting the CVEs in addition to the HAFNIUM group.The vulnerabilities being exploited are CVE-2021-26855, CVE-2021-26857, CVE-2021-26858, and CVE-2021-27065.

China Chopper

Over the last week, Cynet identified a large number of China Chopper related web-shell attacks, which can be tied to the zero-day attack posted by Microsoft on March 2nd.China Chopper is a web shell backdoor that allows threat groups to remotely access an enterprise network by abusing the client-side application to gain remote control of the compromised system.

The threat group gains an initial foothold on the compromised machine for further post-exploitation activities such as persistence, privilege escalation, lateral movement and impact.

China Chopper contains a GUI interface allowing the threat groups to manage and control the web-shell attack commands.Threat groups identified using China Chopper backdoor include Leviathan, Threat Group-3390, Soft Cell and APT41.

Cynet 360 detected and prevented China Chopper web shell activity on several customers’ Exchange Servers. In all cases, the compromised servers were Internet Information Services (IIS), which potentially means that these attacks are related to the Microsoft vulnerabilities just published.The fact that China Chopper is a tool used by certain APT groups and the fact that China Chopper was specifically used to attack the vulnerable Microsoft services leads us to believe that additional APT groups are targeting these vulnerabilities.

Additional Details

Earlier, on February 9th, another Microsoft CVE was released concerning a Microsoft Exchange Server Spoofing Vulnerability which is termed as CVE-2021-24085 that could be related to the new CVEs that were published:

  • CVE-2021-26855 – Microsoft Exchange Server Remote Code Execution Vulnerability
  • CVE-2021-26857 – Microsoft Exchange Server Remote Code Execution Vulnerability

We have detected that all China Chopper remote commands have a unique pattern that can help identify the execution of the malicious commands.

  • &echo [S]&cd&echo [E]
  • Cmd /c cd /d
  • “&[MalciousCommands]&

In addition, all the malicious commands are executed via the parent process w3wp.exe (IIS Worker). The IIS Worker is responsible for handling the web requests sent to the IIS web server.

With this information, we created a process execution policy that monitors the w3wp.exe and checks the child processes’ command lines with the above patterns.

Since the malicious commands execute via the w3wp.exe, the attackers automatically gain system privileges (\nt authority – system).

Cynet Protection

Cynet works around the clock to provide its customers with the best protection possible and to ensure that every aspect of this attack scenario is covered. The platform’s core capabilities incorporate detection mechanisms which prevent threat actors from performing malicious activities. Therefore, allowing for the protection of Microsoft Exchange Servers.

Cynet users are encouraged to assure that the ADT and Memory protection preventive measures are enabled in the Cynet 360 console to enable protections against this scenario.
Additionally, Cynet 24×7 MDR team (CyOps) actively monitors any suspicious activities related to Microsoft Exchange servers across our clients’ environments.

It is also recommended that the latest patches from Microsoft are applied and that the administrator keeps the environment up-to date in accordance with Microsoft’s recent recommendations.

Additional information related to the threat group HAFNIUM and tools identified as part of their exploitation of the newly published CVE’s can be found in this article.

Website

Latest articles

SonicOS IPSec VPN Vulnerability Let Attackers Cause Dos Condition

SonicWall has disclosed a critical heap-based buffer overflow vulnerability in its SonicOS IPSec VPN....

Hackers Registered 500k+ Domains Using Algorithms For Extensive Cyber Attack

Hackers often register new domains for phishing attacks, spreading malware, and other deceitful activities. Such...

Hackers Claim Breach of Daikin: 40 GB of Confidential Data Exposed

Daikin, the world's largest air conditioner manufacturer, has become the latest target of the...

Emojis Are To Express Emotions, But CyberCriminals For Attacks

There are 3,664 emojis that can be used to express emotions, ideas, or objects...

Beware Of Fake Browser Updates That Installs Malicious BOINC Infrastructre

SocGholish malware, also known as FakeUpdates, has exhibited new behavior since July 4th, 2024,...

Data Breach Increases by Over 1,000% Annually

The Identity Theft Resource Center® (ITRC), a nationally recognized nonprofit organization established to support...

UK Police Arrested 17-year-old Boy Responsible for MGM Resorts Hack

UK police have arrested a 17-year-old boy from Walsall in connection with a notorious...

Free Webinar

Low Rate DDoS Attack

9 of 10 sites on the AppTrana network have faced a DDoS attack in the last 30 days.
Some DDoS attacks could readily be blocked by rate-limiting, IP reputation checks and other basic mitigation methods.
More than 50% of the DDoS attacks are employing botnets to send slow DDoS attacks where millions of IPs are being employed to send one or two requests per minute..
Key takeaways include:

  • The mechanics of a low-DDoS attack
  • Fundamentals of behavioural AI and rate-limiting
  • Surgical mitigation actions to minimize false positives
  • Role of managed services in DDoS monitoring

Related Articles