Note: articles are for educational purposes and are not professional security advice — consult an expert for your specific needs.

Understanding the HelloKitty Ransomware and Apache ActiveMQ Vulnerability

In short

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.

Understanding the HelloKitty Ransomware and Apache ActiveMQ Vulnerability

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.

Severity9.8 Critical (CVSS 3.1, NVD) · 10.0 Critical (CVSS 3.1, Apache)
Fixed inApache activemq 5.15.16, 5.16.7, 5.17.6, 5.18.3
AffectedApache 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
ExploitedYes: in CISA's Known Exploited Vulnerabilities catalog since November 2, 2023
EPSS99.8% chance of exploitation in the next 30 days (FIRST, October 27, 2026)
Public exploitpacketstormsecurity.com, packetstormsecurity.com · 42 GitHub repositories name it: proofs of concept, scanners, detections. Unverified: some are fake or malicious.
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
WeaknessCWE-502 Deserialization of Untrusted Data
UbuntuNot tracked yet
Debianbookworm, bookworm activemq: Fixed (5.17.2+dfsg-2+deb12u1) · sid, trixie activemq: Fixed (5.17.6+dfsg-2)
Red HatSeverity Critical, no package status yet
Also inApache 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.

From NVD, Debian, Red Hat · checked October 28, 2026

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.

Quick revision

Interview flashcards

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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

  1. CVE recordCVE-2023-46604 in the National Vulnerability Database · nvd.nist.gov
Vishal

About the author

· Software & security engineer

GitHub · LinkedIn · X

Vishal writes Trickyworld's tutorials and interview-preparation guides on programming, databases, cyber security and AI. Vishal has been shipping production software long enough to have firm opinions about Python, PHP, Node.js, and JavaScript, and to have been wrong about each of them at least once. The work has run the whole stack: Drupal and Laravel applications, React front ends, MySQL and MongoDB underneath, Redis and Memcached for the things that had to be fast, Apache Solr for the things that had to be findable. That last part turned out to matter more than anyone expected. Tune a Solr index for a season, then watch a language model confidently retrieve the wrong document, and you recognise an old problem wearing new clothes. Most of what is hard about AI systems is not the model. It is retrieval, caching, latency budgets, and deciding what the system does when the answer comes back wrong — which is work he has been doing since well before anyone called it AI engineering. He plays a lot of games, which is less a hobby disclosure than an admission of where a good share of his engineering instinct came from. Real-time systems with a frame budget. State that has to stay coherent while a player does something no designer anticipated. The permanent question of what happens when the frame cannot finish in time. Those habits carry over more directly than they have any right to. He has written several books on programming, all built on the same conviction: most technical writing is unclear because the author never decided what to leave out. More from Vishal → · Editorial policy

#remote code execution#HelloKitty Ransomware#Apache ActiveMQ Vulnerability#CVE-2023-46604#cybersecurity#network security#ransomware protection

More on Computer Tricks.

Latest articles

$ subscribe --weekly

Get the next tutorial in your inbox.

Programming, security and AI — the practical bits, no spam. Unsubscribe any time.