NightEagle targets Russian companies
NightEagle APT targets Russian companies using compromised VPN credentials, GhostContainer backdoor on Exchange, and legitimate tunneling tools for lateral movement. NightEagle uses compromised VPN credentials for initial access and deploys the GhostContainer .NET backdoor on Exchange servers via VIEWSTATE manipulation. The group leverages Microsoft dev tunnels and rdp2tcp for covert RDP tunneling, and exploits Active Directory vulnerabilities including BlueKeep for privilege escalation and lateral movement.
Detection / Hunteropenrouter
Immediate Actions
- Enforce MFA on all VPN connections to prevent credential abuse
- Block DNS resolution to *.devtunnels.ms domains on internal servers
- Hunt for RDP channels named 'rdp2tcp' in RdpCoreTS operational logs
Key Takeaways
- NightEagle (APT-Q-95) expanded targeting from Asia to Russian businesses.
- GhostContainer backdoor uses Neo-reGeorg tunnel, CVE-2020-0688 exploit, and GhostWebShell from ysoserial.
- Attackers abuse Microsoft dev tunnels (*.devtunnels.ms) to expose RDP port 3389 externally.
- rdp2tcp tool creates RDP virtual channels named 'rdp2tcp' or random alphanumeric strings, logged in Event IDs 132 and 148.
- Attackers exploit CVE-2019-0708 (BlueKeep) to create local admin accounts for lateral movement.
Attack Chain
- Initial Access: Attackers use compromised VPN credentials to access corporate networks
- Persistence: GhostContainer backdoor deployed on Microsoft Exchange via VIEWSTATE injection
- Defense Evasion: Backdoor evades AMSI and Windows Event Log by patching amsi.dll and ntdll.dll
- Lateral Movement: RDP used with Microsoft dev tunnels and rdp2tcp for covert network tunneling
- Privilege Escalation: CVE-2019-0708 (BlueKeep) exploited to create local admin accounts
- Credential Access: DCSync and Kerberos ticket requests with non-standard flags for domain compromise
Affected Systems
- Microsoft Exchange servers
- Windows systems with RDP enabled
- Active Directory infrastructure
- Corporate VPN gateways
Vulnerabilities (CVEs)
| CVE | Product | Severity | Description |
|---|---|---|---|
| CVE-2020-0688 | Microsoft Exchange | High | Exploit used by GhostContainer backdoor components for server compromise. |
| CVE-2019-0708 | Microsoft Windows Remote Desktop Services | Critical | BlueKeep RDP vulnerability exploited to create local admin accounts. |
Detection Availability
- Published: Other detection logic
- Platforms: Kaspersky EDR Expert, Kaspersky Anti Targeted Attack (KATA), Kaspersky Threat Analysis
Kaspersky detection rules available for GhostContainer, tunneling, Impacket, and BlueKeep activity.
Detection Engineering Assessment
Hypotheses are starting points derived from the article, not findings about your environment; validate against your own telemetry.
| Dimension | Rating | Rationale |
|---|---|---|
| EDR Visibility | High | Process execution, PowerShell reflection loading, and AMSI patching are visible to EDR sensors. |
| Network Visibility | Medium | Dev tunnels and rdp2tcp traffic over legitimate services may blend with normal traffic. |
| Detection Difficulty | Moderate | Legitimate tool abuse requires behavioral detection, but specific artifacts like rdp2tcp channels aid identification. |
Hunting Hypotheses
| Hypothesis | Telemetry | Stage | FP Risk |
|---|---|---|---|
| Hunt for RDP virtual channels with non-standard names in Event IDs 132 and 148 (T1021.001) | RdpCoreTS/Operational event logs | Lateral Movement | Low — custom channel names are rare in normal RDP sessions |
| Hunt for DNS queries to *.devtunnels.ms domains from server systems (T1572) | DNS resolution logs | Command and Control | Medium — legitimate developers may use dev tunnels |
| Hunt for PowerShell loading .NET assemblies via reflection from Exchange process context (T1059.001) | PowerShell Script Block Logging, EDR process events | Execution | Low — Exchange spawning PowerShell with reflection is anomalous |
| Hunt for netsh portproxy commands creating forwarding rules on endpoints (T1090) | Process command line logging, EDR events | Lateral Movement | Medium — administrators may use portproxy for legitimate purposes |
Required Log Sources
- Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational
- PowerShell Script Block Logging
- AMSI event logs
- DNS resolution logs
- VPN authentication logs
- Windows Event Logs (Security)
Key Behavioral Indicators
- RDP channel named 'rdp2tcp' in Event ID 132/148
- PowerShell loading .NET assembly via reflection in Exchange context
- DNS queries to *.devtunnels.ms from internal servers
- netsh portproxy commands creating v4tov4 forwarding rules
- AMSI and ntdll.dll memory patching from .NET assemblies
- Scheduled tasks created via Impacket atexec.py
Control Gaps
- VPN credential-based access lacks MFA enforcement
- Signature-based AV may miss .NET reflection loading
- Legitimate dev tunnel traffic may not be blocked by default
- AMSI patching may not alert without memory scanning
False Positive Assessment
Medium — Attackers abuse legitimate services like Microsoft dev tunnels and GitHub, requiring behavioral analysis to distinguish from benign use.
Recommendations
Suggestions to evaluate against your own environment, tooling, and incident-response procedures — not directives.
Infrastructure Hardening
- Patch Microsoft Exchange for CVE-2020-0688 and secure VIEWSTATE configuration
- Disable unnecessary RDP services and restrict access via network segmentation
- Monitor and alert on DCSync replication requests and anomalous Kerberos ticket flags
- Block known GitHub repositories hosting attacker tools
User Protection
- Deploy EDR with behavioral detection for AMSI patching and .NET reflection loading
- Monitor for masqueraded executables with legitimate software names in unusual paths
- Enable PowerShell Script Block Logging and AMSI logging on all endpoints
Security Awareness
- Train employees on credential hygiene and phishing-resistant MFA adoption
- Review VPN access logs for connections from Cloudflare WARP and European VPS IPs
MITRE ATT&CK Mapping
Initial Access
Persistence
Stealth
Credential Access
Lateral Movement
Command and Control
Plain-Language Summary
A hacker group called NightEagle has been breaking into Russian company networks using stolen VPN login details. They install a hidden backdoor program on Microsoft Exchange email servers to maintain access. The attackers use legitimate Microsoft tunneling tools and other software to secretly connect to internal systems and move through the network. They exploit known software vulnerabilities to gain administrator privileges and steal password information from the organization's central directory.
Additional IOCs
- Urls:
hxxps://github[.]com/mirror-js/mirror-js- GitHub repository hosting attacker toolshxxps://github[.]com/browserthemes/resourcepack- GitHub repository hosting attacker tools
- File Hashes:
01d98380dfb9211251c75c87ddb3c79c(MD5) - Similar GhostContainer sample identified by KTAE0e55330ab871209ccd7b2249147a20a8(MD5) - Similar GhostContainer sample identified by KTAE69560ddf46e7267df623ead5769fa25c(MD5) - Similar GhostContainer sample identified by KTAEc9f5837fd275648991b74c17f62cf186(MD5) - Similar GhostContainer sample identified by KTAE
- File Paths:
App_Web_Container_1.dll- GhostContainer backdoor DLL filenameadobe_32.exe- Masqueraded tunneling tool filenameAdobeSync.exe- Masqueraded tunneling tool filenametrueconf.exe- Masqueraded tunneling tool filename1cbroker.exe- Masqueraded tunneling tool filename1c-office-plugin.exe- Masqueraded tunneling tool filenametrueconf-broker.exe- Masqueraded tunneling tool filename
- Command Lines:
- Purpose: Network port forwarding via netsh portproxy | Tools:
netsh.exe| Stage: Lateral Movement |netsh interface portproxy add v4tov4 listenport= connectaddress= connectport= - Purpose: Create local account and add to admin/RDP groups via BlueKeep shellcode | Tools:
net.exe| Stage: Privilege Escalation - Purpose: Scheduled task creation for lateral movement via Impacket atexec | Tools:
atexec.py,python.exe| Stage: Execution |atexec.py
- Purpose: Network port forwarding via netsh portproxy | Tools:
- Other:
rdp2tcp- RDP virtual channel name used by rdp2tcp tunneling tool
- cveCVE-2019-0708BlueKeep RDP vulnerability exploited to create local admin accounts.
- cveCVE-2020-0688Exploit used by GhostContainer backdoor components for server compromise.
- domaintfgwd1nc-8443[.]euw[.]devtunnels[.]msMicrosoft dev tunnel domain used for RDP exposure
- filename1cbroker.exeMasqueraded tunneling tool filename
- filename1c-office-plugin.exeMasqueraded tunneling tool filename
- filenameadobe_32.exeMasqueraded tunneling tool filename
- filenameAdobeSync.exeMasqueraded tunneling tool filename
- filenameApp_Web_Container_1.dllGhostContainer backdoor DLL filename
- filenametrueconf-broker.exeMasqueraded tunneling tool filename
- filenametrueconf.exeMasqueraded tunneling tool filename
- md501d98380dfb9211251c75c87ddb3c79cSimilar GhostContainer sample identified by KTAE
- md50e55330ab871209ccd7b2249147a20a8Similar GhostContainer sample identified by KTAE
- md51dcafb7f8448683281106b06dd22409aMD5 hash of AdobeSync.exe tunneling tool
- md51f3034b706c78b35d8e34044e68c693aMD5 hash of adobe_32.exe tunneling tool
- md53ecd1cd627d0340c92901a478a7caad8MD5 hash of GhostContainer backdoor sample
- md54aa9fb1bf9223dfcdac920759bc7a3c7MD5 hash of 1c-office-plugin.exe, 1cbroker.exe, trueconf.exe
- md5631fb131a56caf4ca0f287ed73e876abMD5 hash of App_Web_Container_1.dll GhostContainer backdoor
- md569560ddf46e7267df623ead5769fa25cSimilar GhostContainer sample identified by KTAE
- md5c9f5837fd275648991b74c17f62cf186Similar GhostContainer sample identified by KTAE
- urlhxxps://github[.]com/browserthemes/resourcepackGitHub repository hosting attacker tools
- urlhxxps://github[.]com/browserthemes/resourcepack/releases/download/main/resource-pack[.]zipGitHub repo hosting archived tunneling tools
- urlhxxps://github[.]com/mirror-js/mirror-jsGitHub repository hosting attacker tools
- urlhxxps://github[.]com/mirror-js/mirror-js/refs/heads/main/js/jsonp-pack[.]zipGitHub repo hosting archived tunneling tools
- urlhxxps://github[.]com/mirror-js/mirror-js/refs/heads/main/js/js-webpack[.]zipGitHub repo hosting archived tunneling tools