NightEagle APT targets Russian organizationsNightEagle APT 以俄罗斯组织为目标
Kaspersky GERT experts have uncovered a new campaign by the NightEagle APT, featuring the GhostContainer backdoor and tools hosted on GitHub. The group is also exploiting vulnerabilities in Active Directory and RDP.

GhostContainer on Microsoft Exchange
Detection by Kaspersky solutions
Indicators of compromise
Over the past year, our Global Emergency Response Team (GERT) has investigated several incidents involving the NightEagle group (APT-Q-95). This group has been active since at least 2023 and originally focused on organizations in Asia, as we reported previously . We have now identified attacks by the group targeting businesses in Russia. This post examines both known and new tools NightEagle used in its latest campaign.
In most incidents, the attackers used compromised valid credentials to gain access to corporate VPNs. VPN connections originated from IP addresses in the Russian segment linked to Cloudflare WARP tunnels, as well as from IP addresses associated with European virtual infrastructure providers.
Both during the initial access stage and as the attack progressed, the attackers deployed the GhostContainer backdoor on Microsoft Exchange servers. It incorporates components from several open-source projects, including the Neo-reGeorg tunnel, an exploit for the CVE-2020-0688 vulnerability, and the GhostWebShell class from the ysoserial utility. All of these components are publicly available on GitHub.
We were unable to determine the exact method the attackers used to deliver the backdoor to Microsoft Exchange servers. We believe with a high degree of confidence that they applied a technique already familiar to us : extracting the cryptographic keys used by Microsoft Exchange from the ASP.NET configuration, overwriting the VIEWSTATE framework parameter, and injecting a payload into it, which then launched the GhostContainer backdoor in memory.
The backdoor is a .NET assembly containing three classes that implement its core functionality:
Stub : processes C2 commands delivered to the infected system through the x-owa-urlpostdata headers and evades detection by the Antimalware Scan Interface (AMSI) and Windows Event Log mechanisms by overwriting addresses in amsi.dll and ntdll.dll .
App_Web_843e75cf5b63 : accepts the fakePath and fakePageName parameters and creates virtual paths that redirect requests to the App_Web_8c9b251fb5b3 class.
App_Web_8c9b251fb5b3 : implements network traffic redirection (proxying) and socket forwarding functionality.
Kaspersky products detect the GhostContainer backdoor as Trojan.MSIL.GhostContainer.gen.
GhostContainer samples identified by the Similarity technology from Kaspersky Threat Analysis
Once the attackers gain sufficient privileges during an attack, they leverage RDP to move laterally within the internal network segment. To do this, they download and run tools for tunneling and redirecting network traffic.
The attackers used GitHub repositories to host their archived tools. The names of the repositories and archives were disguised to look legitimate:
https : //github[.]com/mirror-js/mirror-js/refs/heads/main/js/js-webpack.zip
https : //github[.]com/mirror-js/mirror-js/refs/heads/main/js/jsonp-pack.zip
https : //github[.]com/browserthemes/resourcepack/releases/download/main/resource-pack.zip
One of the repositories used for storing network tools
The files contained within the archives were also given names mimicking known legitimate software, though unrelated to the archive names:
1c-office-plugin.exe ;
trueconf-broker.exe .
Across the incidents we investigated, we found two tools that the attackers combined for traffic tunneling.
Microsoft dev tunnels This is a legitimate Microsoft mechanism that allows local web services to be published for internet access on *.*.devtunnels.ms domains. The attackers used this tunneling capability to expose port 3389 (RDP) on the compromised system. Execution graph of adobe_32.exe in Kaspersky Research Sandbox
Execution graph of adobe_32.exe in Kaspersky Research Sandbox
rdp2tcp This is a publicly available tool for tunneling TCP traffic over an established RDP connection. It includes a server component that runs on the target system and a client component that runs on the attacker’s side. When virtual channels are opened and closed, corresponding events with IDs 132 (channel opened) and 148 (channel closed) are logged in the Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational.evtx Windows log. These events contain the names of the channels (such as XPSRD, cliprdr, Microsoft::Windows::RDS::DisplayControl, and others) used by the RemoteFX module, which extends the capabilities of the RDP protocol. When the rdp2tcp tool is used, events with IDs 132 and 148 will contain the channel name rdp2tcp or other random alphanumeric combinations chosen by the attackers. Creation event for a channel named rdp2tcp (server component startup)
When virtual channels are opened and closed, corresponding events with IDs 132 (channel opened) and 148 (channel closed) are logged in the Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational.evtx Windows log. These events contain the names of the channels (such as XPSRD, cliprdr, Microsoft::Windows::RDS::DisplayControl, and others) used by the RemoteFX module, which extends the capabilities of the RDP protocol.
When the rdp2tcp tool is used, events with IDs 132 and 148 will contain the channel name rdp2tcp or other random alphanumeric combinations chosen by the attackers.
Creation event for a channel named rdp2tcp (server component startup)
The combination of Microsoft dev tunnels and rdp2tcp allows the attackers to maintain network access by using legitimate services without opening additional suspicious ports. The attackers also used the atexec utility from the Impacket toolkit to create scheduled tasks on target systems. These tasks enabled network port forwarding through standard Windows functionality: netsh interface portproxy add v4tov4 listenport=443 connectaddress=10.0.12.101 connectport=445 1 netsh interface portproxy add v4tov4 listenport = 443 connectaddress = 10.0.12.101 connectport = 445 Lateral movement To obtain elevated privileges and move laterally through the network, NightEagle exploited various vulnerabilities in Active Directory. The attackers used previously established tunnels to connect to internal infrastructure systems. In one incident, they exploited a well-known RDP implementation vulnerability, CVE-2019-0708 (BlueKeep). They used the vulnerable mechanism to create a local account on the system and add it to the Administrators and Remote Desktop Users groups. Contents of a system memory dump showing artifacts of the CVE-2019-0708 exploit The attackers also requested Kerberos tickets with a non-standard combination of flags ( Forwardable , Proxiable , Renewable ) and attempted to replicate the Domain-Password object from the Active Directory database to impersonate the domain controller (a technique known as DCSync) after obtaining an account with sufficient privileges. Through these methods, the attackers establish persistence in the infrastructure, obtain password hashes for domain accounts, use long-lived Kerberos tickets to gain legitimate access to target resources, and ultimately compromise domain controllers and the victim’s entire Active Directory infrastructure. Takeaways To expand the geographic scope of its targets, NightEagle is updating its methods and adopting new techniques for persistence and lateral movement. Despite the group’s efforts to stay hidden, timely detection of anomalies combined with a comprehensive approach to infrastructure protection can significantly hinder the attackers from achieving their goals. Since the attackers rely on known legitimate tools and infrastructure vulnerabilities, well-configured monitoring can help detect NightEagle’s presence on the network. Detection by Kaspersky solutions Kaspersky solutions reliably identify the malicious activity described above at various stages of the attack. We showed examples above of how Kaspersky Threat Analysis detects samples of the GhostContainer backdoor and the tunneling utility. This toolkit also includes the analytical solution Kaspersky Threat Attribution Engine (KTAE), which helps SOC analysts and incident responders determine which APT groups malware can be attributed to. The solution uses a proprietary comparison method that measures the similarity between analyzed samples of suspicious files and known malicious samples in Kaspersky’s collection. The backdoor we discovered showed similarity to previously analyzed GhostContainer samples and a connection to the NightEagle APT group: Backdoor analysis with KTAE However, detection scenarios for this kind of attacks are not limited to file analysis. Deploying a backdoor on a target host produces numerous characteristic artifacts, which allow Kaspersky Endpoint Detection and Response Expert to alert users to anomalies in the infrastructure in a timely manner. This malicious activity is detected by the following rules, available in the repository: Initial detection of the malicious signature occurs through the generic_ransomware_related_detection rule, based on EPP module events Detection of a malicious DLL’s .NET assembly being loaded via PowerShell: suspicious_assembly_loading_into_powershell_via_reflection Activity of tunneling and traffic redirection tools: detection_of_access_to_tunnel_domains_dns Use of tools from the Impacket toolkit, such as atexec: impacket_possible_activity attempt_to_download_hacktool_or_risktool_by_non_browser credentials_dumping_tools_file_artifacts_creation Attempts to replicate an Active Directory database object to impersonate a domain controller: potential_dcsync_via_startupparameters Process tree in KEDR Expert Kaspersky Anti Targeted Attack (KATA) detects this malicious activity in network traffic. For example, the Exploit.CVE-2019-0708.TCP.C&C signature allows detecting attempts to exploit the CVE-2019-0708 (BlueKeep) vulnerability. Alert card for the BlueKeep vulnerability exploitation Beyond this activity, KATA also detects other NightEagle actions in network traffic, such as the following: Traffic redirection and tunneling variations Attacks on Active Directory (DCSync, attempts to compromise AD CS, and others) Lateral movement across the network Indicators of compromise 1dcafb7f8448683281106b06dd22409a AdobeSync.exe 1f3034b706c78b35d8e34044e68c693a adobe_32.exe 3ecd1cd627d0340c92901a478a7caad8 631fb131a56caf4ca0f287ed73e876ab App_Web_Container_1.dll 4aa9fb1bf9223dfcdac920759bc7a3c7 1c-office-plugin.exe, 1cbroker.exe, trueconf.exe https://github[.]com/mirror-js/mirror-js https://github[.]com/browserthemes/resourcepack
The attackers also used the atexec utility from the Impacket toolkit to create scheduled tasks on target systems. These tasks enabled network port forwarding through standard Windows functionality:
To obtain elevated privileges and move laterally through the network, NightEagle exploited various vulnerabilities in Active Directory. The attackers used previously established tunnels to connect to internal infrastructure systems.
In one incident, they exploited a well-known RDP implementation vulnerability, CVE-2019-0708 (BlueKeep). They used the vulnerable mechanism to create a local account on the system and add it to the Administrators and Remote Desktop Users groups.
Contents of a system memory dump showing artifacts of the CVE-2019-0708 exploit
The attackers also requested Kerberos tickets with a non-standard combination of flags ( Forwardable , Proxiable , Renewable ) and attempted to replicate the Domain-Password object from the Active Directory database to impersonate the domain controller (a technique known as DCSync) after obtaining an account with sufficient privileges.
Through these methods, the attackers establish persistence in the infrastructure, obtain password hashes for domain accounts, use long-lived Kerberos tickets to gain legitimate access to target resources, and ultimately compromise domain controllers and the victim’s entire Active Directory infrastructure.
To expand the geographic scope of its targets, NightEagle is updating its methods and adopting new techniques for persistence and lateral movement. Despite the group’s efforts to stay hidden, timely detection of anomalies combined with a comprehensive approach to infrastructure protection can significantly hinder the attackers from achieving their goals. Since the attackers rely on known legitimate tools and infrastructure vulnerabilities, well-configured monitoring can help detect NightEagle’s presence on the network.
Kaspersky solutions reliably identify the malicious activity described above at various stages of the attack. We showed examples above of how Kaspersky Threat Analysis detects samples of the GhostContainer backdoor and the tunneling utility. This toolkit also includes the analytical solution Kaspersky Threat Attribution Engine (KTAE), which helps SOC analysts and incident responders determine which APT groups malware can be attributed to. The solution uses a proprietary comparison method that measures the similarity between analyzed samples of suspicious files and known malicious samples in Kaspersky’s collection.
The backdoor we discovered showed similarity to previously analyzed GhostContainer samples and a connection to the NightEagle APT group:
Backdoor analysis with KTAE
However, detection scenarios for this kind of attacks are not limited to file analysis. Deploying a backdoor on a target host produces numerous characteristic artifacts, which allow Kaspersky Endpoint Detection and Response Expert to alert users to anomalies in the infrastructure in a timely manner.
This malicious activity is detected by the following rules, available in the repository:
Initial detection of the malicious signature occurs through the generic_ransomware_related_detection rule, based on EPP module events
Detection of a malicious DLL’s .NET assembly being loaded via PowerShell: suspicious_assembly_loading_into_powershell_via_reflection
Activity of tunneling and traffic redirection tools: detection_of_access_to_tunnel_domains_dns
Use of tools from the Impacket toolkit, such as atexec: impacket_possible_activity attempt_to_download_hacktool_or_risktool_by_non_browser credentials_dumping_tools_file_artifacts_creation
impacket_possible_activity
attempt_to_download_hacktool_or_risktool_by_non_browser
credentials_dumping_tools_file_artifacts_creation
Attempts to replicate an Active Directory database object to impersonate a domain controller: potential_dcsync_via_startupparameters
Process tree in KEDR Expert
Kaspersky Anti Targeted Attack (KATA) detects this malicious activity in network traffic. For example, the Exploit.CVE-2019-0708.TCP.C&C signature allows detecting attempts to exploit the CVE-2019-0708 (BlueKeep) vulnerability.
Alert card for the BlueKeep vulnerability exploitation
Beyond this activity, KATA also detects other NightEagle actions in network traffic, such as the following:
Traffic redirection and tunneling variations
Attacks on Active Directory (DCSync, attempts to compromise AD CS, and others)
Lateral movement across the network
Kaspersky Security Services
NightEagle targets Russian companies
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Microsoft Exchange 上的 GhostContainer
卡巴斯基解决方案的检测
妥协的迹象
过去一年,我们的全球应急响应小组 (GERT) 调查了多起涉及 NightEagle 组织 (APT-Q-95) 的事件。该组织至少从 2023 年就开始活跃,最初主要攻击亚洲地区的组织,正如我们之前报道的那样。现在,我们发现该组织已将攻击目标转向俄罗斯的企业。本文将分析 NightEagle 在最近一次攻击活动中使用的已知和新型工具。
在大多数事件中,攻击者使用被盗取的有效凭证访问企业VPN。VPN连接源自与Cloudflare WARP隧道相连的俄罗斯IP地址,以及与欧洲虚拟基础设施提供商相关的IP地址。
在初始访问阶段以及攻击进行过程中,攻击者在 Microsoft Exchange 服务器上部署了 GhostContainer 后门。该后门整合了多个开源项目的组件,包括 Neo-reGeorg 隧道(用于利用 CVE-2020-0688 漏洞)以及 ysoserial 工具中的 GhostWebShell 类。所有这些组件均可在 GitHub 上公开获取。
我们无法确定攻击者向 Microsoft Exchange 服务器植入后门的确切方法。但我们高度确信,他们采用了我们熟悉的攻击技术:从 ASP.NET 配置中提取 Microsoft Exchange 使用的加密密钥,覆盖 VIEWSTATE 框架参数,并将恶意代码注入其中,从而在内存中启动 GhostContainer 后门。
后门是一个 .NET 程序集,其中包含三个类,分别实现了其核心功能:
Stub:处理通过 x-owa-urlpostdata 标头传递到受感染系统的 C2 命令,并通过覆盖 amsi.dll 和 ntdll.dll 中的地址来逃避反恶意软件扫描接口 (AMSI) 和 Windows 事件日志机制的检测。
App_Web_843e75cf5b63:接受 fakePath 和 fakePageName 参数,并创建虚拟路径,将请求重定向到 App_Web_8c9b251fb5b3 类。
App_Web_8c9b251fb5b3:实现网络流量重定向(代理)和套接字转发功能。
卡巴斯基产品将 GhostContainer 后门检测为 Trojan.MSIL.GhostContainer.gen。
卡巴斯基威胁分析的相似性技术识别出了 GhostContainer 样本
攻击者一旦在攻击过程中获得足够的权限,就会利用远程桌面协议 (RDP) 在内部网络段内横向移动。为此,他们会下载并运行用于建立隧道和重定向网络流量的工具。
攻击者利用 GitHub 代码仓库托管其归档工具。代码仓库和归档文件的名称都经过伪装,使其看起来合法:
https://github[.]com/mirror-js/mirror-js/refs/heads/main/js/js-webpack.zip
https://github[.]com/mirror-js/mirror-js/refs/heads/main/js/jsonp-pack.zip
https://github[.]com/browserthemes/resourcepack/releases/download/main/resource-pack.zip
用于存储网络工具的存储库之一
归档文件中的文件也被赋予了模仿已知合法软件的名称,但这些名称与归档文件的名称无关:
1c-office-plugin.exe;
trueconf-broker.exe。
在我们调查的事件中,我们发现攻击者结合使用了两种工具进行流量隧道攻击。
微软开发隧道是微软提供的合法机制,允许将本地 Web 服务发布到 *.*.devtunnels.ms 域以供互联网访问。攻击者利用此隧道功能暴露了受感染系统上的 3389 端口(远程桌面协议)。卡巴斯基研究沙箱中 adobe_32.exe 的执行图。
adobe_32.exe 在卡巴斯基研究沙箱中的执行图
rdp2tcp 是一个公开可用的工具,用于通过已建立的 RDP 连接建立 TCP 流量隧道。它包含一个运行在目标系统上的服务器组件和一个运行在攻击者端的客户端组件。当虚拟通道打开和关闭时,ID 分别为 132(通道打开)和 148(通道关闭)的相应事件会被记录在 Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational.evtx Windows 日志中。这些事件包含 RemoteFX 模块使用的通道名称(例如 XPSRD、cliprdr、Microsoft::Windows::RDS::DisplayControl 等),RemoteFX 模块扩展了 RDP 协议的功能。使用 rdp2tcp 工具时,ID 为 132 和 148 的事件将包含通道名称 rdp2tcp 或攻击者选择的其他随机字母数字组合。创建名为 rdp2tcp 的通道的事件(服务器组件启动)
当虚拟通道打开和关闭时,系统会在 Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational.evtx Windows 日志中记录 ID 分别为 132(通道打开)和 148(通道关闭)的相应事件。这些事件包含 RemoteFX 模块使用的通道名称(例如 XPSRD、cliprdr、Microsoft::Windows::RDS::DisplayControl 等),RemoteFX 模块扩展了 RDP 协议的功能。
使用 rdp2tcp 工具时,ID 为 132 和 148 的事件将包含通道名称 rdp2tcp 或攻击者选择的其他随机字母数字组合。
创建名为 rdp2tcp 的通道的事件(服务器组件启动)
攻击者利用微软开发隧道和 rdp2tcp 的组合,无需打开额外的可疑端口,即可通过合法服务维持网络访问。攻击者还使用 Impacket 工具包中的 atexec 工具在目标系统上创建计划任务。这些任务通过标准的 Windows 功能启用网络端口转发:netsh interface portproxy add v4tov4 listenport=443 connectaddress=10.0.12.101 connectport=445 1 netsh interface portproxy add v4tov4 listenport = 443 connectaddress = 10.0.12.101 connectport = 445 横向移动 为了获得提升的权限并在网络中横向移动,NightEagle 利用了 Active Directory 中的各种漏洞。攻击者使用先前建立的隧道连接到内部基础架构系统。在一次事件中,他们利用了一个众所周知的 RDP 实现漏洞 CVE-2019-0708 (BlueKeep)。他们利用漏洞机制在系统上创建了一个本地帐户,并将其添加到“管理员”和“远程桌面用户”组。系统内存转储的内容显示了 CVE-2019-0708 漏洞利用的痕迹。攻击者还请求了带有非标准标志组合(可转发、可代理、可续期)的 Kerberos 票据,并在获得具有足够权限的帐户后,尝试从 Active Directory 数据库复制 Domain-Password 对象以冒充域控制器(一种称为 DCSync 的技术)。通过这些方法,攻击者在基础架构中建立了持久性,获取了域帐户的密码哈希值,利用长期有效的 Kerberos 票据获得了对目标资源的合法访问权限,并最终攻破了域控制器和受害者的整个 Active Directory 基础架构。结论:为了扩大攻击目标的地理范围,NightEagle 正在更新其方法并采用新的持久性和横向移动技术。尽管该组织竭力隐藏自身,但及时检测异常情况并结合全面的基础设施保护措施,可以显著阻碍攻击者达成目标。由于攻击者依赖于已知的合法工具和基础设施漏洞,因此配置完善的监控有助于检测 NightEagle 在网络中的存在。卡巴斯基解决方案的检测能力:卡巴斯基解决方案能够可靠地识别上述攻击各个阶段的恶意活动。我们已在上文中展示了卡巴斯基威胁分析如何检测 GhostContainer 后门和隧道工具的样本。该工具包还包含分析解决方案卡巴斯基威胁归因引擎 (KTAE),可帮助安全运营中心 (SOC) 分析师和事件响应人员确定恶意软件的来源。该解决方案采用专有的比较方法,衡量分析的可疑文件样本与卡巴斯基库中已知恶意样本之间的相似度。我们发现的后门与之前分析过的 GhostContainer 样本相似,并且与 NightEagle APT 组织有关联:使用 KTAE 进行后门分析。然而,此类攻击的检测方法并不局限于文件分析。在目标主机上部署后门会产生许多特征性痕迹,卡巴斯基端点检测与响应专家 (KTAE) 可以利用这些痕迹及时向用户发出基础设施异常警报。以下规则可在存储库中检测到此恶意活动:恶意签名的初始检测是通过基于 EPP 模块事件的 generic_ransomware_related_detection 规则进行的;检测到通过 PowerShell 加载的恶意 DLL 的 .NET 程序集:spirisupd_assembly_loading_into_powershell_via_reflection;隧道和流量重定向工具的活动:detection_of_access_to_tunnel_domains_dns;使用 Impacket 工具包中的工具,例如 atexec:impacket_possible_activity attempt_to_download_hacktool_or_risktool_by_non_browser credentials_dumping_tools_file_artifacts_creation;尝试复制 Active Directory 数据库对象以模拟域控制器:potential_dcsync_via_startupparameters;KEDR Expert 中的进程树;卡巴斯基反定向攻击 (KATA) 可检测到网络流量中的此恶意活动。例如,Exploit.CVE-2019-0708.TCP.C&C 签名可以检测利用 CVE-2019-0708 (BlueKeep) 漏洞的尝试。 BlueKeep漏洞利用警报卡 除了此活动外,KATA还会在网络流量中检测到其他NightEagle操作,例如:流量重定向和隧道变体;对Active Directory的攻击(DCSync、试图入侵AD CS等);跨网络横向移动;入侵指标:1dcafb7f8448683281106b06dd22409a AdobeSync.exe;1f3034b706c78b35d8e34044e68c693a adobe_32.exe;3ecd1cd627d0340c92901a478a7caad8;631fb131a56caf4ca0f287ed73e876ab App_Web_Container_1.dll;4aa9fb1bf9223dfcdac920759bc7a3c7 1c-office-plugin.exe、1cbroker.exe、trueconf.exe https://github[.]com/mirror-js/mirror-js https://github[.]com/browserthemes/resourcepack
攻击者还利用 Impacket 工具包中的 atexec 工具在目标系统上创建计划任务。这些任务通过标准的 Windows 功能启用网络端口转发:
为了获取更高的权限并在网络中横向移动,NightEagle 利用了 Active Directory 中的各种漏洞。攻击者使用先前建立的隧道连接到内部基础设施系统。
在一次事件中,他们利用了一个众所周知的远程桌面协议 (RDP) 实现漏洞,即 CVE-2019-0708 (BlueKeep)。他们利用该漏洞在系统上创建了一个本地帐户,并将其添加到管理员和远程桌面用户组。
系统内存转储的内容显示了 CVE-2019-0708 漏洞利用的痕迹
攻击者还请求了带有非标准标志组合(可转发、可代理、可续期)的 Kerberos 票据,并在获得具有足够权限的帐户后,尝试从 Active Directory 数据库复制 Domain-Password 对象以冒充域控制器(一种称为 DCSync 的技术)。
通过这些方法,攻击者在基础设施中建立持久性,获取域帐户的密码哈希值,使用长期有效的 Kerberos 票据获得对目标资源的合法访问权限,并最终破坏域控制器和受害者的整个 Active Directory 基础设施。
为了扩大攻击目标的地理范围,NightEagle 正在更新其攻击方法,并采用新的技术来实现持久化和横向移动。尽管该组织竭力隐藏自身,但及时发现异常情况并结合全面的基础设施保护措施,可以显著阻碍攻击者达成目标。由于攻击者依赖于已知的合法工具和基础设施漏洞,因此配置完善的监控系统有助于检测 NightEagle 在网络中的活动。
卡巴斯基解决方案能够可靠地识别上述攻击各个阶段的恶意活动。上文已展示了卡巴斯基威胁分析如何检测 GhostContainer 后门和隧道工具的样本。该工具包还包含卡巴斯基威胁归因引擎 (KTAE) 分析解决方案,可帮助安全运营中心 (SOC) 分析师和事件响应人员确定恶意软件的来源。该解决方案采用专有的比较方法,衡量分析的可疑文件样本与卡巴斯基库中已知恶意样本之间的相似度。
我们发现的后门与之前分析过的 GhostContainer 样本相似,并且与 NightEagle APT 组织有关联:
使用 KTAE 进行后门分析
然而,此类攻击的检测方案并不局限于文件分析。在目标主机上部署后门会产生大量特征性痕迹,卡巴斯基端点检测与响应专家 (Kaspersky Endpoint Detection and Response Expert) 可以利用这些痕迹及时向用户发出基础设施异常警报。
以下规则可在存储库中找到,用于检测此恶意活动:
恶意特征的初步检测是通过基于 EPP 模块事件的 generic_ransomware_related_detection 规则实现的。
检测到恶意 DLL 的 .NET 程序集正在通过 PowerShell 加载:spicy_assembly_loading_into_powershell_via_reflection
隧道和流量重定向工具的活动:检测对隧道域 DNS 的访问
使用 Impacket 工具包中的工具,例如 atexec:impacket_possible_activity attempt_to_download_hacktool_or_risktool_by_non_browser credentials_dumping_tools_file_artifacts_creation
impacket_possible_activity
尝试通过非浏览器下载黑客工具或风险工具
credentials_dumping_tools_file_artifacts_creation
尝试复制 Active Directory 数据库对象以模拟域控制器:潜在 DC 同步通过启动参数
KEDR Expert 中的流程树
卡巴斯基反定向攻击工具 (KATA) 可以检测网络流量中的此类恶意活动。例如,Exploit.CVE-2019-0708.TCP.C&C 签名可以检测利用 CVE-2019-0708 (BlueKeep) 漏洞的尝试。
BlueKeep漏洞利用警报卡
除了上述活动外,KATA 还能在网络流量中检测到其他 NightEagle 操作,例如:
交通改道和隧道变化
针对 Active Directory 的攻击(DCSync、试图入侵 AD CS 等)
网络横向移动
卡巴斯基安全服务
NightEagle瞄准俄罗斯公司
本网站使用 Akismet 来减少垃圾邮件。了解您的评论数据如何处理。