Kaspersky uncovers new HiveMind backdoor targeting Russia and Belarus

Pierluigi Paganini December 04, 2026

Kaspersky uncovers HiveMind and links three backdoors to an espionage campaign targeting organizations in Russia and Belarus.

HiveMind is a previously unknown plugin discovered by Kaspersky researchers while investigating EAGERBEE, a modular backdoor used by Chinese-speaking groups such as CoughingDown, Worok, and Obstinate Mogwai for cyber espionage. During routine threat hunting, researchers found the new tool in data collected from dozens of infected systems in Russia and Belarus.

The initial infection method remains unknown. However, attackers install EAGERBEE as a DLL file (zomnet.dll or imsman.dll) and register it as a service running under svchost. The imsman.dll sample was compiled in May 2023 but was first found on infected systems in November 2025. It uses VMProtect to make analysis harder and communicates with the domain top.argshipgis[.]com.

Solar 4RAYS had already documented this persistence technique in May 2025, suggesting that this part of the attack is not new.

HiveMind is the new part. It lives only in memory, and the researchers spotted it inside the svchost process that hosts EAGERBEE. Its build timestamp says April 2022, and it has no VMProtect and no control flow obfuscation.

“The plugin is a DLL that exports the b and Transfile functions. The b function takes two arguments, which initialize two global variables that the main code does not use.” reads the report published by Kaspersky. “The plugin’s main code is in the Transfile function, which also takes two arguments:

  1. 1 The data buffer received from the EAGERBEE C2 server
  2. 2 The length of this buffer

The Transfile function implements a full-featured, previously undocumented backdoor that supports more than 50 commands, most of which have three or four subcommands each.”

The delivery process is quite complex. The C2 server sends the plugin over TLS, but the data is also encrypted with a custom XOR method and compressed with zlib. EAGERBEE then loads the plugin directly into memory using the open-source MemoryModule project and runs its exported Transfile function. A special command with a length value of -2 tells the plugin to start and send information about the infected system to the attackers. A command with a zero-length value stops the process.

The plugin offers 49 main commands, or 52 when additional commands are included. Its features resemble a complete penetration testing toolkit. Three commands help attackers move across a network using WMI, Task Scheduler, the older AT mechanism, and a temporary service created through direct RPC calls. Another command collects digital certificate information from the MY, CA, ROOT, and SPC stores.

Other commands give attackers several ways to control compromised systems. They can open a simple command shell, upload or load DLL files, inject code into svchost, or start a hidden cmd.exe process using the security token of explorer.exe. The plugin also supports SOCKS proxy connections and slow data theft. When normal file access is blocked, it can read raw disk clusters instead, leaving a temporary file behind. Attackers can also load additional plugins.

The remaining commands support system reconnaissance, file operations, timestamp changes, password-protected CAB archives, file downloads, and power management.

This version differs from the EAGERBEE variant that Kaspersky reported in the Middle East in January 2025. That version used a small central component to load separate modules for file operations, processes, services, remote access, and network activity. The version found in Russia combines these capabilities into one large plugin, while still allowing attackers to load additional modules when needed.

The oldest known sample, dating back to April 2022, already included the Transfile function. Elastic’s first public analysis, published in September 2022, linked the backdoor to a campaign targeting Mongolia.

“This timeline confirms that the attacks on Russia began before EAGERBEE was first publicly reported, and that the backdoor version used in these attacks evolved in parallel with the versions used in the campaigns abroad.” states the report. “Our telemetry shows that the EAGERBEE HiveMind plugin has been used in attacks on Russian organizations since at least July 2024 and is still in use today – the attackers continue to actively use and improve this tool.”

HiveMind has hit Russian organizations since at least July 2024, and the attackers still use it.

In about a third of cases, another implant sat next to EAGERBEE. ShadowRelay, which Solar 4RAYS described in January 2026, can load plugins, run as client or server, inject into processes, reuse network ports and relay traffic between infected machines without internet access. Nobody had tied it to a known group. In July 2025 the researchers found a loader that ran as a service called AppMgmt and kept restarting ShadowRelay if its process, CryptoAxw.exe, disappeared.

The configuration they pulled out is telling. It points to 5.39.253[.]206 on port 443, uses AES, reconnects every 456 seconds and calls itself “OneDrive client application”. Two plugins turned up. The shell plugin runs several channels over cmd, PowerShell, Python, SSH, FTP or telnet, and the file plugin lists drives, moves files in chunks, packs directories into tar archives and launches files through a temporary batch script. The developers even misspelled “drives” as “drivers” in the JSON, which is oddly reassuring.

The C2 address is the first real link. That same server appeared in Kaspersky’s earlier HelloNet investigation, where the attackers used it to build a reverse SSH tunnel into the victim’s network. A ShadowRelay sample active from January to May 2026 talked to it, and in May the operators used a ShadowRelay session to install EAGERBEE. They registered it as “Network Monitor Serial Service” and described it as a tool that “retrieves the serial number of any portable music player connected to your computer”. Few servers in Russian government networks have ever met a portable music player.

The attackers used standard Windows tools such as net, tasklist, and ping for reconnaissance, alongside iplircmd.exe, an internal ViPNet utility for listing network nodes. They used renamed PuTTY plink copies to create tunnels, moved across systems with schtasks and wmic, collected credentials, and dumped process memory. On one machine, they also used WinRAR to steal documentation for specialized Russian software.

The PhantomNet activity began with a compromise of HelloNet. Attackers planted HelloInjector and HelloBackdoor in ViPNet update and CSP folders, using HelloBackdoor to run other tools. They also modified ViPNet Application Control through undocumented COM calls to allow malicious software to run. This highlights their continued efforts to understand and bypass ViPNet security mechanisms.

In May 2026, HelloBackdoor delivered PhantomNet, which attackers used to deploy more tools, including ShadowRelay. They also introduced Typhoon Loader, a VMProtect-protected loader that hides its configuration in a file disguised as a font and communicates with its C2 server through a custom protocol over raw TCP.

PhantomNet has a messy naming history, and Kaspersky decided not to make it worse. NTT Security dates the first samples to March 2017, SManager showed up in December 2020, and ESET kept the older PhantomNet name the same month. Elastic called it DOWNTOWN in 2023, Sophos saw it in Operation Crimson Palace in 2024, and Kaspersky tracks an earlier branch as Core Module, linked to CoughingDown. Debug strings in the new code show the developers still say SManager internally, and sometimes “LZ RAT”.

The 2026 version looks different on disk. Components sit in %PUBLIC%\Libraries, and an AutoIt script decrypts the main shellcode with AES-256-CBC only on the first run. After that, a new loader called WasmLoader (mscoree.dll) takes over and runs WebAssembly bytecode through the open-source Wasm3 library. The configuration supports up to five C2 servers, a working-hours schedule, SOCKS and C2 updates from a web page, and the tested chains used a service named ScNetSvc.

The latest version of PhantomNet includes several changes. Its plugin manager remains largely unchanged, but attackers have added new features, including Cascade mode, which turns infected systems into relays, and HideNet mode, which hides shellcode inside cmd.exe and PowerShell. Neither has been observed in real attacks. Two plugins have been found in incidents: ExplorerManager, a file manager, and an upgraded RemoteShell that supports 22 commands and an interactive shell.

EAGERBEE and ShadowRelay have affected dozens of organizations in Russia and Belarus, across government, education, science and business. PhantomNet has targeted fewer than ten Russian organizations, mainly in government and research.

Attribution remains uncertain. Kaspersky links the tools to CoughingDown, while other researchers associate similar attacks with Obstinate Mogwai, IronHusky, BlueTraveller and Worok. Cooperation between several Chinese-speaking groups cannot be ruled out.

Researchers warn that attacks could expand. The key lesson for defenders is that trusted software update channels such as ViPNet can become delivery paths for multiple malicious tools.

“One of the key outcomes of this research was reconstructing the order in which the tools were deployed. We found that ShadowRelay was used to install EAGERBEE, and that in some HelloNet episodes, the EAGERBEE and ShadowRelay pair appeared on compromised systems after PhantomNet had been used. This allowed us to establish a direct link between tools that other researchers had previously reported finding together.” concludes the report. “That said, the overlaps with CoughingDown apply only to certain HelloNet episodes and are insufficient to extend this attribution to the entire campaign. PhantomNet was present only in some cases, and other HelloNet tools show no convincing technical links to EAGERBEE, ShadowRelay, or PhantomNet.”

Follow me on Twitter: @securityaffairs and Facebook and Mastodon

Pierluigi Paganini

(SecurityAffairs – hacking, HiveMind backdoor)



you might also like

leave a comment