Kaspersky’s Global Emergency Response Team (GERT) has uncovered a new campaign by the NightEagle APT group, also tracked as APT-Q-95, deploying a stealthy backdoor called GhostContainer against Microsoft Exchange servers belonging to Russian organizations.
The group, active since at least 2023, originally focused on targets in Asia but has now expanded its geographic scope to Russian businesses, signaling a broadening threat surface for enterprise mail infrastructure.
NightEagle GhostContainer Backdoor
According to research published by Kaspersky, in most observed incidents, NightEagle gained entry using compromised valid credentials to access corporate VPNs, with connections originating from Russian IP addresses linked to Cloudflare WARP tunnels and from European virtual infrastructure providers.
Kaspersky could not conclusively determine the exact delivery mechanism for GhostContainer but assesses with high confidence that attackers extracted cryptographic keys from Exchange’s ASP.NET configuration, then overwrote the VIEWSTATE parameter to inject a payload that launched the backdoor directly in memory a technique that leaves minimal disk artifacts.
GhostContainer is a .NET assembly built by repurposing components from public open-source projects, including the Neo-reGeorg tunneling tool, an exploit for CVE-2020-0688, and the GhostWebShell class lifted from the ysoserial utility.
Its functionality is split across three classes: Stub processes command-and-control instructions delivered via the x-owa-urlpostdata HTTP header, and evades detection by patching addresses in amsi.dll and ntdll.dll to blind AMSI and Windows Event Logging; App_Web_843e75cf5b63 accepts fakePath and fakePageName parameters to create virtual paths that redirect requests internally; and App_Web_8c9b251fb5b3 handles network traffic redirection and socket forwarding, effectively turning the compromised Exchange server into a pivot point.
Kaspersky products detect the implant as Trojan.MSIL.GhostContainer.gen.

After establishing a foothold, NightEagle used RDP for lateral movement, staging tools disguised as legitimate software including files named AdobeSync.exe, trueconf.exe, and 1cbroker.exe hosted in GitHub repositories masquerading as unrelated projects like “mirror-js”.
The group combined Microsoft’s legitimate dev tunnels service (exposing RDP port 3389 via *.devtunnels.ms domains) with rdp2tcp, a public tool for tunneling TCP traffic over RDP connections, allowing covert access without opening new ports.
Attackers also used Impacket’s atexec utility to create scheduled tasks that configured netsh portproxy rules for further traffic forwarding.
For privilege escalation within Active Directory, NightEagle exploited the BlueKeep RDP vulnerability (CVE-2019-0708) to create and elevate a local administrator account, and separately performed DCSync attacks by requesting non-standard Kerberos tickets to replicate the Domain-Password object and impersonate a domain controller.

Kaspersky’s Threat Attribution Engine confirmed the samples’ similarity to prior GhostContainer variants, cementing the NightEagle attribution.
Detection is available through EPP-based signature rules, PowerShell reflection-loading alerts, tunnel-domain DNS monitoring, Impacket activity signatures, and DCSync detection rules, alongside network-layer detection of BlueKeep exploitation via Kaspersky Anti Targeted Attack.
Organizations running on-premises Exchange should prioritize patching CVE-2020-0688 and CVE-2019-0708, monitor RDP channel event IDs 132/148 for anomalous names like “rdp2tcp,” and restrict outbound access to devtunnels.ms domains.