Researchers Uncover StingyBasilisk Hackers Hiding Inside Government Networks for Nearly Four Years

Researchers at Positive Technologies have uncovered StingyBasilisk, a stealthy hacking group active since at least April 2022.

Discovered during incident response in early 2026, the operation used custom malware, encrypted communications, and legitimate Windows features to maintain access while avoiding detection.

The investigation revealed a network of malicious agents controlled through Windows named pipes, which let processes exchange data. Attackers disguised components as trusted security software and kept later attack stages inside process memory.

Researchers suspect espionage was the objective, but they could not establish the initial infection method or reliably connect StingyBasilisk to any known advanced persistent threat group.

StingyBasilisk Infiltrates Government Networks

From February 2026, the attackers expanded their presence across compromised infrastructure. They copied malware into C:\Windows\Temp using SMB and launched it remotely through Windows Task Scheduler with Impacket’s atexec tool.

Investigators observed scheduled tasks with GUID-shaped names rather than the naming format normally used by the tool. These tasks helped launch CunningDoor, a loader that delivered additional code.

For persistence, StingyBasilisk used COM hijacking and Windows Time Providers. COM hijacking redirects references to legitimate software components so malicious code runs during normal system activity, a technique documented by MITRE ATT&CK.

StingyBasilisk Infiltrates Government Networks (Source: habr)
StingyBasilisk Infiltrates Government Networks (Source: habr)

The group targeted Network List Manager and Network Configuration objects. Its SilentCOM malware redirected calls through malicious DLLs while forwarding legitimate requests to the original libraries. This preserved normal functions and reduced visible failures that could expose the intrusion.

TediousLoader used a separate route, registering a malicious DLL under the Windows Time service’s TimeProviders registry branch. Windows loads enabled provider libraries when the service starts, making this mechanism suitable for persistent execution.

TediousLoader monitored network traffic through Windows raw sockets. It examined incoming packets for a special signature and extracted hidden connection settings from matching traffic.

Those settings instructed the malware to connect outward, bind to a local address, or wait for an incoming connection. After establishing communication, it received an AES-256-CBC encrypted payload, decrypted it, and executed the code in memory.

CunningDoor used DLL sideloading involving digitally signed SafeNet libraries. In one observed chain, IKEYUI64.dll loaded the malicious iKeyAPI.dll, which decoded shellcode using three successive XOR operations.

That shellcode resolved Windows functions through modified FNV-1a hashing and waited for encrypted instructions over a named pipe. Another variant used an IP address and port instead, habr said.

SilentCOM also received encrypted shellcode through named pipes. Researchers captured this traffic and recovered a loader using direct system calls for memory operations, followed by encrypted communication involving Curve25519 key exchange and ChaCha20.

A modified ChaCha20 constant provided a useful memory indicator for locating the payload.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

Varshini
Varshini
Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies..

Trending News

Related Stories