Loading date…
LinkedIn Twitter Instagram YouTube WhatsApp

Hackers Hide Windows Backdoor Inside HiveMQ and Element Chat

Diagram-style illustration showing a Windows backdoor communicating with attackers through HiveMQ MQTT broker and Element Matrix messenger for C2

Toy Ghouls' New Windows Backdoors Turn HiveMQ and Element Into Stealth C2 Channels

Quick Answer: The Toy Ghouls group is running two new Windows backdoors that hide command-and-control traffic inside legitimate HiveMQ MQTT and Element/Matrix messaging services. Defenders should watch WinRM activity, unfamiliar Windows services, and outbound traffic to those platforms.

Last verified: September 8, 2026

A SOC analyst scrolling through a Windows host's outbound connections in most environments would skip right past traffic to broker.hivemq.com. It's a legitimate IoT messaging broker, the kind of infrastructure that shows up in smart building systems, telemetry pipelines, and dev environments every day. That's exactly the assumption a financially motivated group called Toy Ghouls is now betting on — and according to Kaspersky's GERT researchers, it's paying off.

For the first time since it started targeting Russian organizations in 2025, Toy Ghouls has swapped its usual playbook of public GitHub tools and leaked ransomware builders for two purpose-built Windows backdoors. One talks to its operators over an MQTT broker. The other rides inside an Element/Matrix chat room. Neither service is compromised — they're being used exactly as designed, just by the wrong people.

Table of Contents

What Happened: Toy Ghouls' Shift to Custom Malware

Timeline graphic showing Toy Ghouls threat group evolving from public GitHub tools and leaked Babuk and LockBit builders to custom GenieLocker ransomware and a new Windows backdoor in 2026

Toy Ghouls — also tracked under the aliases Bearlyfy, Laboo.boo, and Feral Wolf — is a financially motivated threat group that has been active against Russian organizations since 2025. Kaspersky's Global Emergency Response Team (GERT) reports that the group initially relied almost entirely on tools pulled from public repositories, plus leaked Babuk and LockBit ransomware builders, before rolling out its own ransomware family, GenieLocker.

In early July 2026, researchers observed something new: a custom backdoor, deployed in two separate builds, appearing on already-compromised Windows hosts. According to Securelist's writeup, this marks a deliberate move toward more sophisticated, harder-to-detect tooling rather than a one-off experiment.

Inside the Backdoors: mqtt-bird-agent and matrix-bird-agent

Side-by-side diagram comparing mqtt-bird-agent connecting to the HiveMQ MQTT broker and matrix-bird-agent connecting to an attacker-controlled Element server, both executing commands on a compromised Windows machine

Kaspersky identified the two builds as mqtt-bird-agent 0.1.0 and matrix-bird-agent 0.1.0. Despite the different transport mechanisms, they share a common design lineage — both are "bird" tools built to phone home, report status, and execute operator commands on a compromised Windows machine.

  • mqtt-bird-agent connects to the public HiveMQ MQTT broker at broker.hivemq.com. It reports whether the device is online, sends system metrics such as CPU usage and free memory, and pulls down instructions that get executed through a hidden PowerShell process.
  • matrix-bird-agent connects to an attacker-controlled Element server running on the Matrix protocol. It posts device status to a designated chat room and receives commands from an account named panel-bot, executing them through the Windows command line.

Both variants give the operator full functional control over the infected machine, and both can run interactively in memory or install themselves as a persistent Windows service — a detail that matters a lot for incident response, covered below.

This isn't a brand-new idea — researchers note the approach echoes an earlier MQTT-based command channel used by the WailingCrab malware family. What's notable here is how deliberately Toy Ghouls picked infrastructure that blends into ordinary enterprise and IoT network noise.

How the Malware Gets In: WinRM Abuse

Diagram showing attackers using Evil-WinRM and WinRM-fs over Windows Remote Management to deliver backdoor binaries and configuration files onto an already-compromised Windows host

These backdoors aren't the initial foothold — they're a second-stage tool dropped after attackers already have a way into the network. Kaspersky's analysis shows Toy Ghouls pushing the backdoor binaries and their configuration files onto compromised systems using Windows Remote Management (WinRM), via the open-source utilities Evil-WinRM and WinRM-fs.

This is a familiar problem for defenders: WinRM is a legitimate, widely used administration protocol, which means malicious use can easily hide in the noise of normal sysadmin activity. Security teams have seen this pattern before in other WinRM-abuse campaigns, where valid credentials and remote sessions become the bridge to deeper network access.

Persistence: Disguised as Everyday Windows Services

Windows services.msc screenshot-style graphic highlighting two disguised malicious services, cplsupport labeled Problem Reports Control Panel and wtas labeled Windows Telemetry Aggregator Service, used to survive reboots

Once deployed, both backdoor variants can install themselves as Windows services so they survive a reboot — turning a single remote session into a standing foothold. The naming choices are deliberately mundane:

  • The HiveMQ variant registers as cplsupport, displayed as "Problem Reports Control Panel."
  • The Element variant registers as wtas, displayed as "Windows Telemetry Aggregator Service."

Neither name is a real default Windows service, but both are close enough to plausible system components that they're easy to overlook during a quick services.msc scan.

Machine-Bound Encryption: ChaCha20-Poly1305

Diagram showing config.toml encrypted with ChaCha20-Poly1305 using the Windows MachineGuid registry key, illustrating how the Element variant deletes the file and moves settings into the registry to evade forensic analysis

Toy Ghouls also took steps to make forensic analysis harder. Sensitive fields in the backdoor's config.toml file are encrypted with ChaCha20-Poly1305, with the decryption key derived from the infected system's MachineGuid registry value. In practice, this ties the configuration to that specific machine — copying the file to an analyst's sandbox won't get you a working decryption without also capturing that registry value.

The Element variant goes a step further: after first use, the config.toml file is deleted from disk entirely, and the settings are moved into the Windows registry — reducing the number of obvious artifacts an incident responder would find sitting in plain sight. Both variants query the legitimate service ip-api.com at startup to identify the victim's public IP address and country, likely for targeting or reporting purposes.

Indicators of Compromise

Table graphic listing Toy Ghouls backdoor IOCs including cplsupport.exe and wtass.exe file hashes, malicious registry keys, service names, and C2 domains broker.hivemq.com and meet.element.tw

Confirmed indicators from Kaspersky's Securelist report are summarized below. As always, treat domains as defanged and re-fang only inside a controlled threat-intel platform such as MISP, VirusTotal, or your SIEM.

TypeIndicatorDescription
File namecplsupport.exeHiveMQ-based backdoor executable
MD5 hashBFADBEEE63A4F0BF19EC9DEB8FA58F58Hash associated with cplsupport.exe
File namewtass.exeElement-based backdoor executable
MD5 hash7916C33688385525078BEE504C90F359Hash associated with wtass.exe
File nameconfig.tomlBackdoor configuration file
Registry keyHKLM\Software\synapse\Config\SealedConfigStores sealed Element backdoor configuration
Registry keyHKLM\Software\SynapseAgent\metrics_intervalStores Element variant metrics reporting interval
Service namecplsupport (Problem Reports Control Panel)Service used by the HiveMQ variant
Service namewtas (Windows Telemetry Aggregator Service)Service used by the Element variant
Domainbroker.hivemq[.]comLegitimate MQTT broker abused for C2
Domainip-api[.]comLegitimate service queried for victim IP/geolocation
Domainmeet.element[.]twAttacker-controlled Element server used for C2

Detection and Prevention Techniques

Checklist graphic for SOC teams covering WinRM access auditing, PowerShell Script Block Logging Event ID 4104, Windows service creation Event ID 7045 monitoring, and outbound MQTT and Matrix traffic detection

None of these indicators are useful sitting in a spreadsheet — they need to turn into monitoring logic. Here's where to focus:

  • Audit WinRM access. Restrict WinRM to a short, approved list of management systems, and alert on WinRM sessions originating from unusual source hosts or accounts.
  • Hunt for hidden PowerShell activity. The HiveMQ variant runs commands through a hidden PowerShell process — enable PowerShell Script Block Logging (Event ID 4104) and look for PowerShell processes with no visible window spawned by unexpected parent processes.
  • Watch service creation events. Monitor Windows Event ID 7045 (a new service was installed) for service names that don't match your organization's known baseline, especially generic-sounding ones like "Problem Reports Control Panel" or "Windows Telemetry Aggregator Service."
  • Flag outbound traffic to messaging/broker infrastructure from servers. A file server or domain controller reaching out to an MQTT broker or a Matrix homeserver is a strong anomaly signal in most enterprise environments — that kind of traffic normally belongs to IoT devices or dev workstations, not core infrastructure.
  • Check ProgramData for unexpected config files. Kaspersky's analysis notes configuration files dropped in ProgramData folders as part of this campaign; a quick sweep for unfamiliar .toml files is low-effort and worthwhile.
  • Treat privileged remote-management credentials as high-value assets. Enforce strong, phishing-resistant authentication for any account with WinRM or remote administration rights.

A simple example of a defensive PowerShell check an incident responder might run during triage — to list recently created, non-standard services on a host — looks like this:

Get-CimInstance -ClassName Win32_Service | Where-Object { $_.PathName -notlike "*Windows*" } | Select-Object Name, DisplayName, PathName, StartMode

This pulls a list of services whose executable path doesn't sit under a typical Windows system directory, which is a fast way to surface anomalies like cplsupport or wtas for closer review. It's a hunting aid, not a silver bullet — always correlate results against your known-good service baseline.

Expert Tips for SOC Teams

Tips graphic for SOC analysts on behavior-based threat detection, covering host traffic baselining, avoiding reliance on domain reputation for MQTT and Matrix C2, and cross-referencing initial-access threat intel
  • Don't rely solely on domain reputation for MQTT or Matrix-related C2 detection — broker.hivemq.com and legitimate Element homeservers will never show up on a malicious-domain blocklist, because they aren't malicious.
  • Baseline "normal" outbound traffic per host role. A workstation talking to Slack or Teams is expected; a backend server doing the same over MQTT is not.
  • Build detection around behavior (WinRM-delivered payloads, disguised service installs, hidden PowerShell) rather than only IOCs, since domains and hashes in a campaign like this can change build to build.
  • Cross-reference this activity with any known Toy Ghouls initial-access patterns your threat intel team tracks, since the backdoors are a second-stage tool, not the point of entry.

FAQ

Is HiveMQ or Element compromised?
No. Researchers are clear that both are legitimate, unaffected platforms. Toy Ghouls is abusing publicly available infrastructure (HiveMQ) and self-hosted Matrix/Element servers to hide C2 traffic, not exploiting a vulnerability in either service.

Who is Toy Ghouls?
A financially motivated threat group, also tracked as Bearlyfy, Laboo.boo, and Feral Wolf, that has targeted Russian organizations since 2025 and previously developed the GenieLocker ransomware.

What is mqtt-bird-agent?
One of two new Toy Ghouls Windows backdoors. It uses the public HiveMQ MQTT broker as its command-and-control channel to receive instructions and report device telemetry.

What is matrix-bird-agent?
The second backdoor variant, which communicates through an attacker-controlled Element server built on the Matrix protocol, receiving commands from an account called panel-bot.

How does the malware get onto a system in the first place?
Per Kaspersky's findings, it's delivered to already-compromised hosts via Windows Remote Management (WinRM), using tools like Evil-WinRM and WinRM-fs — meaning initial access happens through some other means first.

Can this backdoor survive a reboot?
Yes. Both variants can install themselves as a Windows service (cplsupport or wtas), allowing them to persist and restart automatically.

What should organizations do right now?
Audit WinRM access and restrict it to approved systems, hunt for the specific service names and file hashes listed in the IOC table, enable PowerShell logging, and monitor outbound connections to MQTT and Matrix infrastructure from servers that shouldn't be using them.

Conclusion

The Toy Ghouls case is a reminder that the safest-looking traffic on your network — messaging protocols, IoT brokers, chat platforms — can double as a covert command channel in the right attacker's hands. Blocklists built around "known bad" domains won't catch this kind of abuse, because nothing about HiveMQ or Element is inherently malicious. What will catch it is disciplined monitoring of WinRM usage, service creation events, and outbound traffic that doesn't match a host's normal role.

If your SOC hasn't reviewed WinRM access controls or audited for unfamiliar Windows services recently, this campaign is a good reason to move it up the list. Have thoughts on this technique, or seeing similar traffic in your own environment? Drop a comment or share this with your security team.

Analysis based on public threat intelligence review (Kaspersky Securelist/GERT research) and standard SOC detection practices.

Shubham Chaudhary

Welcome to Xpert4Cyber! I’m a passionate Cyber Security Expert and Ethical Hacker dedicated to empowering individuals, students, and professionals through practical knowledge in cybersecurity, ethical hacking, and digital forensics. With years of hands-on experience in penetration testing, malware analysis, threat hunting, and incident response, I created this platform to simplify complex cyber concepts and make security education accessible. Xpert4Cyber is built on the belief that cyber awareness and technical skills are key to protecting today’s digital world. Whether you’re exploring vulnerability assessments, learning mobile or computer forensics, working on bug bounty challenges, or just starting your cyber journey, this blog provides insights, tools, projects, and guidance. From secure coding to cyber law, from Linux hardening to cloud and IoT security, we cover everything real, relevant, and research-backed. Join the mission to defend, educate, and inspire in cyberspace.

Post a Comment

Previous Post Next Post
×

🤖 Welcome to Xpert4Cyber

Xpert4Cyber shares cybersecurity tutorials, ethical hacking guides, tools, and projects for learners and professionals to explore and grow in the field of cyber defense.

🔒 Join Our Cybersecurity Community on WhatsApp

Get exclusive alerts, tools, and guides from Xpert4Cyber.

Join Now