ZxShell is a Windows remote access trojan and backdoor used in cyberespionage operations, including activity associated with Axiom (Group 72), APT27 (Emissary Panda), PoisonVine (APT-C-01), and GreenSpot. Its publicly available source code has enabled operators to develop customized variants. Campaigns using ZxShell have employed spearphishing and watering-hole attacks, with targeting that includes government, military, defense, aviation, and research organizations, particularly in China.
ZxShell provides remote desktop access, screenshot capture, keylogging, process enumeration, file deletion, and collection of workstation owner and organization information. It can create local user accounts to support continued access. Customized variants used by GreenSpot add targeted document theft and collection of saved email-account passwords from Internet Explorer, including document selection based on file type, modification time, and military or aviation-related keywords.
ZxShell has been injected into a shared Windows Service Host process and has used the Windows Rundll32 utility to execute DLL components. A rootkit module associated with APT27 conceals network connections and redirects access to malicious files so that applications receive handles to benign files instead. A signed version examined in 2019 functioned on Windows 10. Updates to that module retained its core capabilities while introducing string and API-name obfuscation and restructuring code to reduce detection.
4 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
8 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Axiom Derusbi 9002 RAT BLACKCOFFEE Derusbi Ghost RAT HiKit PlugX ZXShell APT17
First variant of ZxShell was found. Several military and government targets was attacked.
APT27 ... Examples of associated tools: Ghost, ASPXSpy, ZxShell RAT, HyperBro, PlugX RAT...
该组织擅长对目标实施鱼叉攻击和水坑攻击,植入修改后的ZXShell、Poison Ivy、XRAT商业木马,并使用动态域名作为其控制基础设施。
+2 more in the app. View in Mallory
50 distinct techniques documented for this family, organized by ATT&CK tactic.
该组织擅长对目标实施鱼叉攻击和水坑攻击,植入修改后的ZXShell、Poison Ivy、XRAT商业木马,并使用动态域名作为其控制基础设施。
[ZxShell](https://attack.mitre.org/software/S0412) has been dropped through exploitation of CVE-2011-2462, CVE-2013-3163, and CVE-2014-0322.(Citation: Talos ZxShell Oct 2014)
该组织通过鱼叉式钓鱼邮件附加漏洞文档或捆绑可执行文件进行传播。
[ZxShell](https://attack.mitre.org/software/S0412) can launch a reverse command shell.(Citation: FireEye APT41 Aug 2019)(Citation: Talos ZxShell Oct 2014)(Citation: Secureworks BRONZEUNION Feb 2019)
[ZxShell](https://attack.mitre.org/software/S0412) can leverage native API including <code>RegisterServiceCtrlHandler </code> to register a service.RegisterServiceCtrlHandler
另一种是格式攻击文档,利用漏洞CVE-2012-0158来释放并执行可执行文件。
Tactics, techniques and procedures • ATT&CK Matrix • T1204 User Execution
[ZxShell](https://attack.mitre.org/software/S0412) can create a new service for execution.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can create Registry entries to enable services to run.(Citation: Talos ZxShell Oct 2014)
APT3 has been known to create or enable accounts, such as support_388945a0 . ... APT5 has created Local Administrator accounts to maintain access ... DarkGate creates a local user account, SafeMode, via net user commands.
[ZxShell](https://attack.mitre.org/software/S0412) has a feature to create local user accounts.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can create a new service using the service parser function ProcessScCommand.(Citation: Talos ZxShell Oct 2014)
其他均为C:\Documents and Settings\All Users\「开始」菜单\程序\启动\update.exe,来达成开机执行的持久化效果。
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[ZxShell](https://attack.mitre.org/software/S0412) is injected into a shared SVCHOST process.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has a command called RunAs, which creates a new process as another user or process context.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can create a new service using the service parser function ProcessScCommand.(Citation: Talos ZxShell Oct 2014)
其他均为C:\Documents and Settings\All Users\「开始」菜单\程序\启动\update.exe,来达成开机执行的持久化效果。
该组织对这些公开的RAT程序进行修改和加密使用... 样本在其行动的一段时间内的整体检出率不到8%。
Aria-body has the ability to inject itself into another process such as rundll32.exe and dllhost.exe... BlackEnergy injects its DLL component into svchost.exe... ComRAT has injected its orchestrator DLL into explorer.exe... Stuxnet injects an entire DLL into an existing, newly created, or preselected trusted process.
[ZxShell](https://attack.mitre.org/software/S0412) is injected into a shared SVCHOST process.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can delete files from the system.(Citation: FireEye APT41 Aug 2019)(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has a command called RunAs, which creates a new process as another user or process context.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has used rundll32.exe to execute other DLLs and named pipes.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can create Registry entries to enable services to run.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can kill AV products' processes.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has a command to clear system event logs.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can disable the firewall by modifying the registry key <code>HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile</code>.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has a feature to capture a remote computer's keystrokes using a keylogger.(Citation: FireEye APT41 Aug 2019)(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) hooks several API functions to spawn system threads.(Citation: Talos ZxShell Oct 2014)
获取IE自动保存的邮箱账户密码和对应网址。
[ZxShell](https://attack.mitre.org/software/S0412) can check the services on the system.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can query the netsvc group value data located in the svchost group Registry key.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can collect the owner and organization information from the target workstation.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can launch port scans.(Citation: FireEye APT41 Aug 2019)(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has a command, ps, to obtain a listing of processes on the system.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can collect the local hostname, operating system details, CPU speed, and total physical memory.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has a command to open a file manager and explorer on the system.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has remote desktop functionality.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) supports functionality for VNC sessions.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can transfer files from a compromised host.(Citation: Talos ZxShell Oct 2014)
案例6只收集网络磁盘、U盘、CDROM中的文件。
[ZxShell](https://attack.mitre.org/software/S0412) has a feature to capture a remote computer's keystrokes using a keylogger.(Citation: FireEye APT41 Aug 2019)(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) hooks several API functions to spawn system threads.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can capture screenshots.(Citation: FireEye APT41 Aug 2019)
[ZxShell](https://attack.mitre.org/software/S0412) has a command to perform video device spying.(Citation: Talos ZxShell Oct 2014)
通过Rar.exe收集指定的文件并打包... 并使用RAR打包。
svchost.exe 是一个远控木马,其启动后连接myaccount.emailsevr.net 的80 端口,创建C&C 信道
[ZxShell](https://attack.mitre.org/software/S0412) has used HTTP for C2 connections.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) has used FTP for C2 connections.(Citation: Talos ZxShell Oct 2014)
[ZxShell](https://attack.mitre.org/software/S0412) can set up an HTTP or SOCKS proxy.(Citation: FireEye APT41 Aug 2019)(Citation: Talos ZxShell Oct 2014)
"APT41 used a tool called CLASSFON to covertly proxy network communications." / "BADCALL functions as a proxy server between the victim and C2 server." / "Sandworm Team's BCS-server tool can create an internal proxy server to redirect traffic..."
Aria-body has the ability to use a reverse SOCKS proxy module... BADHATCH can use SOCKS4 and SOCKS5 proxies... GoBear implements SOCKS5 proxy functionality... Neo-reGeorg has the ability to establish a SOCKS5 proxy... Remcos uses the infected hosts as SOCKS5 proxies...
[ZxShell](https://attack.mitre.org/software/S0412) has a command to transfer files from a remote host.(Citation: Talos ZxShell Oct 2014)
主要投放RAT(Remote Administration Tool,远程管理工具)程序对目标主机进行控制和信息窃取。
[ZxShell](https://attack.mitre.org/software/S0412) can use ports 1985 and 1986 in HTTP/S communication.(Citation: Talos ZxShell Oct 2014)
自动回传Profiles.log文件和RAR打包文件。
[ZxShell](https://attack.mitre.org/software/S0412) has a feature to perform SYN flood attack on a host.(Citation: FireEye APT41 Aug 2019)(Citation: Talos ZxShell Oct 2014)
15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
80 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.