Poison (Trojan.PoisonIvy)
Table of Contents
Overview
Poison Ivy (widely known across threat intelligence teams as PIVY) is one of the most historically significant and enduring Remote Access Trojans (RATs) in cyber warfare history, originally created in 2005 by Chinese software developer Song Shenghua (operating under the handle 'Shapeless'). Built in Delphi with a compact client payload (often under 10 KB in shellcode stub form), Poison Ivy offered comprehensive remote execution, process injection, audio surveillance, screen capture, file exfiltration, and password dumping. Between 2008 and 2014, Poison Ivy became the primary cyber espionage workhorse for numerous Chinese military and intelligence units, most famously People's Liberation Army (PLA) General Staff Department Third Department Unit 61398 (APT1), as well as APT2, APT3, APT10, and APT17. The malware gained worldwide notoriety when it was deployed as the post-exploitation payload in the historic 2011 RSA SecurID breach, as well as the compromise of dozens of Fortune 500 chemical, defense, and aerospace corporations in Operation Nitro. The tool employs a distinctive password handshake and custom binary protocol protected by Camellia or 256-bit AES encryption.
Known aliases
Threat reports may refer to this family under multiple names:
Threat Actor Attribution
Attribution is probabilistic, not a science. Each link below states its confidence level and the evidence behind it.
- Song Shenghua ('Shapeless') / Chinese Military & Intelligence Units (PLA Unit 61398 / APT1) High confidence
Basis: Authored by Chinese developer 'Shapeless' in 2005. Extensively documented by Mandiant, CISA, and the FBI as the central tactical RAT weaponized by PLA Unit 61398 (APT1) during intrusions against over 141 international enterprises. [source]
Family Pedigree & Lineage
Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:
Known Derivatives & Downstream Variants: Poison Ivy V2.0.0 · Poison Ivy V2.1.4 · Poison Ivy V2.3.2 (Flagship) · Poison Ivy 2014 Custom Apt Fork
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to our technical analysis hubs and the official MITRE ATT&CK framework:
| Technique | Name | Tactic | Official Spec |
|---|---|---|---|
T1055 | Process Injection | Defense Evasion | ATT&CK ↗ |
T1056.001 | Input Capture: Keylogging | Collection | ATT&CK ↗ |
T1125 | Video Capture | Collection | ATT&CK ↗ |
T1059.003 | Command and Scripting Interpreter: Windows Command Shell | Execution | ATT&CK ↗ |
T1573 | Encrypted Channel | Command and Control | ATT&CK ↗ |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.001: Implement Endpoint Detection and Response (EDR) to monitor for suspicious API calls related to keystroke interception. Enforce Multi-Factor Authentication (MFA) to render stolen passwords useless.
- T1059.003: Restrict execution of Windows Command Shell (cmd.exe) and block unauthorized batch scripts.
- T1125: Restrict access to local camera or microphone APIs. Utilize endpoint protection that monitors hardware access.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-PIAD | Process Injection Analysis & Detection | Detect | T1055 | Monitor cross-process thread creation (CreateRemoteThread) and asynchronous procedure calls (QueueUserAPC). |
D3-MFA | Multi-factor Authentication | Harden | T1056.001 | Enforce FIDO2 / WebAuthn physical tokens to render keystroke-intercepted passwords useless. |
D3-PBA | Process Spawn Analysis | Detect | T1059.003 | Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe. |
D3-HAC | Hardware Device Access Control | Isolate | T1125 | Enforce Group Policy hardware access restrictions on integrated webcams and microphones. |
D3-NTI | Encrypted Traffic Analysis | Detect | T1573 | Inspect TLS handshake metadata (JA3/JA4 fingerprints) to identify malicious encrypted C2 sessions. |
Exploited Vulnerabilities (CVEs)
This malware family is documented weaponizing the following common vulnerabilities and exposures:
- CVE-2010-3333 — In-depth exploitation analysis and catalog intelligence (NIST NVD ↗).
- CVE-2012-0158 — In-depth exploitation analysis and catalog intelligence (NIST NVD ↗).
- CVE-2014-1761 — In-depth exploitation analysis and catalog intelligence (NIST NVD ↗).
Command & Control (C2) and Network Profile
How this family talks to its operators. C2 traffic can often identify a family even when its code and configuration are hard to analyse. Ports and patterns are historical and change between campaigns, so use them as hunting leads rather than block-only rules.
| Protocols | TCP, Custom Binary Protocol, Camellia Encryption, AES-256 |
|---|---|
| Observed ports | 3460, 80, 443, 8080 |
| Infrastructure model | Dynamic DNS domains and dedicated virtual private servers terminating reverse TCP sockets on default port 3460, requiring a mutual cryptographic key exchange before transmitting command streams. |
| Identifiable from traffic alone | Unrated |
Recorded indicators and context
Fields and notes stored in this catalog record may describe historical artifacts, behaviors or general context. Their presence does not establish a current, independently verified indicator. Check sources and evidence limits before operational use.
Recorded file hashes
These are values stored in the record, not a guarantee of specimen identity or current detection coverage. Review their cited provenance before use; this catalog does not distribute malware binaries.
4f23b7e64177d70425a176840d5885cfa169f4ea54753ba01908d095be9eb27d9e49c7161bcf76ee8a20da62fecbf9bb748a31a98059bf4ce126ecba95f002f1
Recorded delivery context
Targeted spear-phishing emails containing weaponized RTF or Microsoft Word attachments exploiting CVE-2012-0158 and CVE-2010-3333Strategic web compromise (watering hole attacks) delivering shellcode via Internet Explorer vulnerabilities
Recorded persistence context
Process injection and API hooking into explorer.exe, svchost.exe, or default browser binariesService creation or HKCU\Software\Microsoft\Windows\CurrentVersion\Run registry persistence
Record export: Categories, original JSON values and notes for review. This is not a verified indicator feed or a ready-to-import SIEM/EDR format. Spreadsheet formula prefixes in record/category cells are protected with a leading apostrophe.
Detection rule examples
These generated examples are starting points for local testing. Their detection rate and false-positive rate have not been measured. Correlate any match with endpoint evidence and the primary reports cited below.
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_POISON_T1_ARTIFACT
{
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Poison (Rat)"
category = "Rat"
tier = "T1 - Primitive Artifact"
confidence = "Medium (Fast Triage)"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/poison"
date = "2026-11-21"
strings:
$fam_name = "poison" ascii wide nocase
$alias_1 = "poison ivy" ascii wide nocase
$alias_2 = "poisonivy" ascii wide nocase
$alias_3 = "pivy" ascii wide nocase
$alias_4 = "trojan.poisonivy" ascii wide nocase
$alias_5 = "win32/poisonivy" ascii wide nocase
$alias_6 = "backdoor.poisonivy" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Looks for selected process and command-line patterns. Validate the fields against your event source and review approved administration activity.
title: SystemHelpDesk Detection - Poison (Rat) Execution & Triage
id: aa56c219-1756-59f0-97f4-4cea51f4d583
status: experimental
description: Experimental process-event hunting example associated with Poison (Trojan.PoisonIvy).
Measure detection and false-positive rates in your own environment. Shared administration
behavior needs additional incident evidence.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/poison
- https://malware-families-catalog.systemhelpdesk.com/defensive/backdoor-rat-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.rat
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1055
- attack.t1056_001
- attack.t1113
- attack.t1071_001
- attack.t1547_001
- attack.t1082
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \reg.exe
- \schtasks.exe
- \cmd.exe
- \powershell.exe
CommandLine|contains:
- \CurrentVersion\Run
- /create /tn
- bypass -enc
- net user /add
- net localgroup administrators
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: high
Tier 3 String and PE-marker example
Combines a family-name string with common PE markers. A match needs investigation before family attribution.
rule MALWARE_WIN_POISON_T3_ATTRIBUTION
{
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Poison tradecraft"
category = "Rat"
tier = "T3 - Attribution Fingerprint"
confidence = "Experimental example; validation pending"
author = "SystemHelpDesk Threat Research Desk"
reference = "https://malware-families-catalog.systemhelpdesk.com/families/poison"
date = "2026-11-21"
strings:
$attrib_str = "poison" ascii wide nocase
$rat_marker1 = "SetWindowsHookEx" ascii
$rat_marker2 = "CurrentVersion\\Run" ascii wide nocase
$shell_marker = "cmd.exe" ascii wide nocase
condition:
uint16(0) == 0x5a4d and $attrib_str and (2 of ($rat_marker*, $shell_marker))
}
Containment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Immediately sever the endpoint from the network to terminate the attacker's interactive, remote-control session.
- Capture a full RAM image of the endpoint; memory forensics is critical for extracting the PoisonIvy configuration and C2 details.
- Identify the specific C2 IP address and implement immediate blocks at the perimeter firewall and proxy servers.
- Assume total endpoint compromise; perform a clean OS rebuild and force password resets for all accounts that accessed the machine.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not leave the machine connected to the network during triage; the attacker has live access and will likely destroy evidence or deploy ransomware.
- Do not assume the infection is isolated; PoisonIvy is frequently used as a beachhead for lateral movement across the domain.
References & External Analysis
- Mandiant - APT1: Exposing One of China's Cyber Espionage Units
- MITRE ATT&CK - PoisonIvy (S0012)
- CISA Advisory - Securing Against Legacy Targeted Espionage Tools
- Search "poison" on VirusTotal (External Analysis)
- Search "poison" on Any.Run (Sandbox Sandbox)
- Search "poison" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
What is Poison Ivy (PIVY)?
Poison Ivy is an iconic Delphi-based Remote Access Trojan created in 2005 that was extensively used by Chinese nation-state APT actors for corporate and defense espionage.
Who created Poison Ivy?
Poison Ivy was created by Chinese programmer Song Shenghua, known online as 'Shapeless', who maintained the tool publicly between 2005 and 2008 before military units adopted it.
What major cyber incidents involved Poison Ivy?
Poison Ivy was the primary backdoor deployed during the landmark 2011 RSA SecurID breach, Operation Nitro targeting the chemical sector, and extensive intrusions documented in Mandiant's APT1 report.
How does Poison Ivy communicate with its C2 servers?
Poison Ivy communicates via a proprietary binary TCP protocol (traditionally over port 3460) protected by a mutual password challenge and Camellia or AES encryption.
How do modern security systems detect Poison Ivy?
Defenders detect Poison Ivy through network signatures matching the 256-byte initial handshake, memory inspection for injected shellcode in explorer.exe, and YARA rules targeting PIVY configuration blocks.
How do I remove the Poison Rat from Windows?
Manual removal of Poison is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Poison a virus or a Rat?
Poison is classified as a Rat. Unlike traditional viruses that infect files, modern malware like Poison typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Poison infection?
Symptoms of Poison can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against RAT & Backdoors
Want to prevent Poison and similar threats from compromising your organization? Read our comprehensive defensive guide: Backdoor & RAT Protection for Businesses.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/poison.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,982 malware families. The catalog is also published across our ecosystem: Hugging Face, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.