Understanding the HelloKitty Ransomware and Apache ActiveMQ Vulnerability
HelloKitty ransomware actors have exploited Apache ActiveMQ CVE-2023-46604, an OpenWire deserialization flaw allowing remote shell commands. Affected ActiveMQ and Legacy OpenWire Module versions should be updated to 5.15.16, 5.16.7, 5.17.6, or 5.18.3. Network scans for indicators of compromise are also recommended.
Summary written with AI from this article, and checked against it.

At a glanceCVE-2023-46604
CVE-2023-46604 has a CVSS 3.1 base score of 9.8 (Critical) from NVD, and 10.0 (Critical, CVSS 3.1) from Apache. It is fixed in Apache activemq 5.15.16, 5.16.7, 5.17.6 and 5.18.3. Debian bookworm, bookworm fixed it in activemq 5.17.2+dfsg-2+deb12u1.
| Severity | 9.8 Critical (CVSS 3.1, NVD) · 10.0 Critical (CVSS 3.1, Apache) |
|---|---|
| Fixed in | Apache activemq 5.15.16, 5.16.7, 5.17.6, 5.18.3 |
| Affected | Apache activemq before 5.15.16; 5.16.0 – before 5.16.7; 5.17.0 – before 5.17.6; 5.18.0 – before 5.18.3 |
| Exploited | Yes: in CISA's Known Exploited Vulnerabilities catalog since November 2, 2023 |
| EPSS | 99.8% chance of exploitation in the next 30 days (FIRST, October 27, 2026) |
| Public exploit | packetstormsecurity.com, packetstormsecurity.com · 42 GitHub repositories name it: proofs of concept, scanners, detections. Unverified: some are fake or malicious. |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Weakness | CWE-502 Deserialization of Untrusted Data |
| Ubuntu | Not tracked yet |
| Debian | bookworm, bookworm activemq: Fixed (5.17.2+dfsg-2+deb12u1) · sid, trixie activemq: Fixed (5.17.6+dfsg-2) |
| Red Hat | Severity Critical, no package status yet |
| Also in | Apache activemq legacy openwire module, Debian debian linux, Netapp e-series santricity unified manager, Netapp e-series santricity web services proxy, Netapp santricity storage plugin |
Is there a public exploit for CVE-2023-46604?
Yes: CVE-2023-46604 is exploited in the wild. CISA added it to its Known Exploited Vulnerabilities catalog on November 2, 2023. NVD links 2 exploit references and 42 public GitHub repositories name it: proofs of concept, scanners and detections. None of it is verified: some such repositories are fake or carry malware, so read the code before running it, and only against systems you own. FIRST's EPSS puts the chance of exploitation in the next 30 days at 99.8%, higher than 99.9% of scored CVEs.
Recent developments in cybersecurity have brought to light a critical security vulnerability in Apache ActiveMQ, an open-source message broker service. This vulnerability, identified as CVE-2023-46604, has been exploited by threat actors, notably the HelloKitty ransomware group. They have deployed ransomware binaries on targeted systems, leading to a significant risk of extortion for victim organizations. This article delves into the details of the vulnerability, its implications, and the recommended measures for mitigation.
Risk Scoring
The vulnerability in question, CVE-2023-46604, has been assigned a CVSSv3 score of 10, indicating the highest level of severity. Such a score reflects the potential for remote code execution and the serious nature of the threat posed by this security flaw.
Vulnerability Details
CVE-2023-46604 allows a remote attacker to execute arbitrary shell commands. This is achieved through manipulation of serialized class types in the OpenWire protocol, enabling the instantiation of any class on the classpath. Following the vulnerability disclosure, proof-of-concept (PoC) exploit code was released publicly, demonstrating the practicality of exploiting this flaw. Researchers have linked the tactics used in recent attacks to those expected from exploiting CVE-2023-46604, attributing these actions to the HelloKitty ransomware family.
Attack Mechanism
Upon successful exploitation, adversaries load remote binaries disguised as images (M2.png and M4.png) using Windows Installer (msiexec). These files contain a .NET executable (dllloader) that loads a Base64-encoded payload, EncDLL. This payload operates akin to ransomware, terminating specific processes and initiating file encryption, marking affected files with the ".locked" extension.
Affected Products
Several versions of Apache ActiveMQ are affected by this vulnerability, including:
- Apache ActiveMQ 5.18.0 before 5.18.3
- Apache ActiveMQ 5.17.0 before 5.17.6
- Apache ActiveMQ 5.16.0 before 5.16.7
- Apache ActiveMQ before 5.15.16
- Apache ActiveMQ Legacy OpenWire Module versions preceding the fixed releases
Solution
Users are advised to update to the fixed versions of ActiveMQ, specifically versions 5.15.16, 5.16.7, 5.17.6, or 5.18.3, to mitigate this vulnerability.
Recommendations
It is crucial for users to update their ActiveMQ implementations immediately and perform network scans for any indicators of compromise. Apache also provides additional guidance for securing ActiveMQ implementations, which should be consulted for comprehensive protection measures.
Ending Note
The Shadowserver Foundation has reported a significant number of internet-accessible ActiveMQ instances vulnerable to CVE-2023-46604. The majority of these servers are located in key regions such as China, the U.S., Germany, South Korea, and India, highlighting the global impact of this security issue.
In conclusion, the exploitation of the Apache ActiveMQ vulnerability by the HelloKitty ransomware group underscores the critical need for vigilant cybersecurity practices. Organizations must stay informed about such vulnerabilities, promptly implement recommended updates, and continually monitor their networks to safeguard against these evolving threats.
Final Thoughts
This article provides an in-depth analysis of a significant cybersecurity threat involving the Apache ActiveMQ vulnerability and its exploitation by the HelloKitty ransomware group. By understanding the details of the vulnerability, the affected systems, and the recommended solutions, organizations can better prepare themselves against similar threats. Continuous vigilance and adherence to cybersecurity best practices are crucial in this ever-evolving digital landscape.
Interview flashcards
What does CVE-2023-46604 allow an attacker to do in Apache ActiveMQ?
CVE-2023-46604 allows a remote attacker to execute arbitrary shell commands. Manipulating serialized class types in the OpenWire protocol enables the instantiation of any class on the classpath.
What is the CVSSv3 score of CVE-2023-46604, and what does it indicate?
CVE-2023-46604 has a CVSSv3 score of 10, the highest level of severity. This reflects its potential for remote code execution and the serious nature of the threat.
Which ActiveMQ versions fix CVE-2023-46604?
ActiveMQ versions 5.15.16, 5.16.7, 5.17.6, and 5.18.3 fix the vulnerability. Users should update to these fixed versions to mitigate the threat.
How do attackers load remote binaries after exploiting CVE-2023-46604?
Attackers use Windows Installer (msiexec) to load remote binaries disguised as images named M2.png and M4.png. These files contain a .NET executable named dllloader that loads the Base64-encoded payload EncDLL.
What does the EncDLL payload do to a compromised system?
EncDLL terminates specific processes and initiates file encryption. It operates akin to ransomware, marking affected files with the .locked extension.
Which ransomware group has exploited CVE-2023-46604, and what risk does it pose?
The HelloKitty ransomware group has exploited CVE-2023-46604 to deploy ransomware binaries on targeted systems. This creates a significant risk of extortion for victim organizations.
What security measures are recommended beyond updating ActiveMQ?
Users should perform network scans for indicators of compromise and consult Apache's additional guidance for securing ActiveMQ implementations. Continual network monitoring is also recommended.
Written with AI from this article, and checked against it.
Source
- CVE recordCVE-2023-46604 in the National Vulnerability Database · nvd.nist.gov
