VYPR
researchPublished May 25, 2026· 1 source

Cloud Atlas APT Group Modifies termsrv.dll to Enable Multiple RDP Sessions on Victim Hosts

Cloud Atlas APT group modifies termsrv.dll on Windows 10 to enable multiple concurrent RDP sessions, allowing attackers to operate undetected alongside legitimate users.

A well-known advanced persistent threat group called Cloud Atlas has been caught using a dangerous technique to hijack Windows systems without alerting anyone on the network. The group modifies a core Windows file called termsrv.dll to unlock multiple simultaneous Remote Desktop Protocol (RDP) sessions on a victim's computer. This lets attackers work in the background while a legitimate user stays logged in, making detection much harder for security teams.

Cloud Atlas has been active since at least 2014, and over the past year the group ramped up attacks against government agencies and diplomatic organizations, particularly in Russia and Belarus. Campaigns have grown more sophisticated, blending phishing tricks with new tools designed to stay hidden as long as possible. The group combines utilities like Tor, SSH, and RevSocks with custom malware to make detection especially difficult.

Researchers at Securelist identified this latest wave of activity, noting the group's toolkit expanded significantly in the second half of 2025 and into early 2026. Securelist said in a report shared with Cyber Security News (CSN) that the attackers target state institutions and diplomatic bodies, using new and established techniques to maintain persistent access inside compromised networks.

The initial entry point in most cases was a phishing email carrying a ZIP archive with a malicious shortcut file. When a victim opens the shortcut, it quietly runs a PowerShell script pulled from an external server. That script sets up persistence, downloads a decoy PDF to distract the user, removes infection traces, and deploys payloads including a backdoor called VBCloud and a reconnaissance tool called PowerShower.

Once inside a network, the group moves laterally and executes the termsrv.dll modification. This lets them maintain access without forcing any existing user offline, reducing the chance anyone notices something is wrong. The attackers also set up reverse SSH tunnels as backup channels, so even if the main backdoor is found, they can still reach the compromised machine.

The key weapon in this campaign is a PowerShell script named rdp_new.ps1 that directly modifies termsrv.dll in Windows 10. Termsrv.dll controls how the Remote Desktop service behaves, and by default Windows limits the system to a single concurrent RDP session. The script first adds a firewall rule to allow RDP traffic and relaxes remote access security settings before touching the file. The script takes ownership of termsrv.dll, grants itself full access rights, and replaces a specific byte sequence to remove the single-session restriction. After the patch is applied, the RDP service restarts and the change takes effect. Attackers can then connect remotely while the legitimate user continues working, with neither party disrupting the other.

This technique is dangerous because it targets a trusted Windows system file rather than an obviously suspicious third-party tool. Standard monitoring may not flag changes to an existing system DLL, giving attackers a wide window to operate inside an infected host without raising alarms.

Cloud Atlas layers its access by deploying reverse SSH tunnels alongside the RDP manipulation. A compromised machine initiates an outbound SSH connection to an attacker-controlled server, bypassing most firewall rules that block incoming connections. Since the connection starts from inside the network, it appears as normal outbound traffic to many security monitoring systems. To keep tunnels running, the group uses VBS scripts executed through PAExec or PsExec and schedules them as Windows tasks for automatic restarting. In some cases, the group also deployed RevSocks, a Go-based proxy tool, and used Tor to route RDP access through hidden .onion addresses. These layered channels mean removing one access method does not guarantee the attackers are fully evicted.

Security teams should monitor for unexpected changes to termsrv.dll, review Windows Firewall modifications, and audit scheduled tasks for unfamiliar VBS or PowerShell entries. Watching for unusual outbound SSH connections and blocking known malicious domains at the network perimeter are also critical steps in reducing exposure to this ongoing threat.

Synthesized by Vypr AI