ZeroHour
Security Affairspublished ()ingested @securityaffairs

Head Mare hacktivist group targets Russia and Belarus

highRansomwareimportance 60CVE-2023-38831

Vulnerabilities mentionedAll →

CVEVulnerabilityCVSSEPSSFlagsAffectedExposurePublished
CVE-2023-38831
Code Execution in RARLAB WinRAR via Crafted ZIP File/Folder Name Confusion

RARLAB WinRAR before 6.23 mishandles ZIP archives that contain a benign file (such as a JPG) alongside a folder with the same name, causing the folder's contents - which can include malicious executable files - to be processed when the user merely attempts to view the benign file. By sending a crafted ZIP archive, an attacker gains arbitrary code execution on the victim's machine with the user's privileges. Because the flaw is local (AV:L) and requires user interaction, risk is limited to Windows systems running an unpatched copy of WinRAR, while machines without the tool are unaffected. The bug was actively exploited in the wild from April through October 2023, including by government-backed actors (APT28), SideCopy attacks on Indian government entities, ransomware operations, and trading-account theft campaigns, and it was added to CISA's Known Exploited Vulnerabilities catalog on 2023-08-24.

Do: Upgrade all Windows systems running WinRAR to version 6.23 or later, which fixes this flaw; if patching is not immediately possible, treat ZIP files from untrusted sources with caution and check archives for duplicate file/folder names before opening. Given KEV listing with known ransomware use and public proof-of-concept exploits, hunt for compromise by reviewing whether unexpected executables or scripts ran when ZIP archives were opened, and apply vendor mitigations per CISA's required action or discontinue use if mitigations are unavailable.

7.898% KEV ransomware PoC ×4
  • RARLAB WinRAR before 6.23
masshundreds of millions of users/installations worldwide (WinRAR is one of the most widely installed Windows archive utilities)
Full article542 words · extracted from securityaffairs.com · click to collapse

Pierluigi Paganini September 04, 2024

A group of hacktivist known as Head Mare took advantage of the recent CVE-2023-38831 WinRAR flaw in attacks against organizations in Russia and Belarus.

Kaspersky researchers reported that a hacktivist group known as Head Mare exploited recently disclosed WinRAR flaw CVE-2023-38831 in attacks against organizations in Russia and Belarus.

Head Mare has been active since at least 2023 exclusively targeting companies in Russia and Belarus. The group announced its victims on X and also leaked internal documents stolen during attacks on the same social network.

The group relies on modern techniques for gaining initial access to systems. Kaspersky reported that they exploited the CVE-2023-38831 WinRAR vulnerability in WinRAR, which could lead to arbitrary code execution by tricking the victims into opening a specially crafted archive.

Head Mare has targeted nine victims across various industries, including government institutions, transportation, energy, manufacturing, and entertainment. Their primary purpose appears to be causing significant damage to companies in Russia and Belarus. Unlike some hacktivist groups, Head Mare also encrypts victim data and demands.

Below is a list of software employed by the group in its attacks:

“In their attacks, Head Mare mainly uses publicly available software, which is typical of most hacktivist groups targeting Russian companies in the context of the Russo-Ukrainian conflict.” reads the report published by Kaspersky. “However, while some hacktivists have no proprietary developments in their toolkit at all, Head Mare uses their custom malware PhantomDL and PhantomCore in phishing emails for initial access and exploitation.”

After execution, the malware tools PhantomDL and PhantomCore connected to the attackers’ C2 servers to identify the domain of the infected host. Attackers distributed the two malware via phishing campaigns in the form of business documents that had double extensions (i.e., решение №201-5_10вэ_001-24 к пив экран-сои-2.pdf.exe).

Dynamic analysis in Kaspersky Sandbox shows that PhantomDL connects to a specific C2 server, while PhantomCore connects to different C2 servers and checks the host’s domain. Although some PhantomDL and PhantomCore samples were found, it’s uncertain if they belong to the same activity cluster as those used in Head Mare’s attacks.

The hacktivists used several methods to maintain persistence in the system, including a Windows registry keys and scheduled tasks. 

The researchers also observed the group using the open-source C2 framework Sliver. The framework was used to manage compromised systems allowing attackers to carry out malicious activities such as executing commands, managing connections, and gathering data.

The last stage of the attacks consist in deploying either LockBit or Babuk depending on the target infrastructure.

“The tactics, methods, procedures, and tools used by the Head Mare group are generally similar to those of other groups associated with clusters targeting organizations in Russia and Belarus within the context of the Russo-Ukrainian conflict.” concludes the report. “However, the group distinguishes itself by using custom-made malware such as PhantomDL and PhantomCore, as well as exploiting a relatively new vulnerability, CVE-2023-38831, to infiltrate the infrastructure of their victims in phishing campaigns. This is an important aspect that Russian and Belarusian organizations should pay attention to: attackers are evolving and improving their TTPs.”

Pierluigi Paganini

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

(SecurityAffairs – hacking, hacktivist)



Text extracted automatically; images, tables and formatting may be missing. Original: https://securityaffairs.com/168030/hacktivism/head-mare-hacktivist-group-winrar.html