PoisonFrog
- Type
- RAT
- Capabilities
- ExfiltrationPersistenceDefense evasion
- Platforms
- Windows
PoisonFrog is a PowerShell-based remote-access Trojan for Windows associated with the Iranian cyberespionage group OilRig, also known as APT34. It is an older version of BondUpdater and is related to the newer Glimpse variant. Its capabilities include executing remotely supplied PowerShell commands, uploading and downloading files, and returning command results to its controller.
PoisonFrog primarily communicates through DNS tunneling, issuing recursive A-record queries through the .NET GetHostAddresses method rather than connecting directly to its controller. It encodes outbound data into subdomain labels and extracts inbound control information and payload data from resolved addresses. Transfers are divided into small chunks, with larger transfers producing bursts of DNS queries. Custom encoding rearranges byte nibbles before transmission. Its installer also includes an HTTP-based companion script that can run alongside the DNS component.
PoisonFrog maintains persistence through a Windows scheduled task configured to execute every ten minutes. On execution, it registers with its controller, checks for tasking, processes commands, and returns results. It derives an agent identifier from the system UUID and uses local files to stage tasking and transfers. Its covert DNS channel helps conceal command-and-control traffic and exfiltration within ordinary name-resolution activity.
PoisonFrog was included in the OilRig tooling leaked publicly in 2019. Turla has also used OilRig-associated PoisonFrog command-and-control administration panels to deliver its own malware; this infrastructure reuse is distinct from PoisonFrog's original association with OilRig.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
In this blog post, the IronNet Threat Research team examines the PoisonFrog malware that is written in PowerShell and has been associated to OilRig/APT34.
"...used Iranian web shells and COBALT GYPSY's PoisonFrog C2 administration panels to deliver its own malware."
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
5 techniques
Execution
At its core, PoisonFrog is a PowerShell script designed to be invoked every ten minutes by setting itself up as a Windows task.
the attacker will create a scheduled task to execute the PowerShell script regularly... As a scheduled task, the vbs script is set to execute every 10 minutes.
In this blog post, the IronNet Threat Research team examines the PoisonFrog malware that is written in PowerShell.
Reads contents from the command file, executes them as CMD commands
The startup script is runner_.vbs which is used to start the main script of PowerShell... UpdateTask.vbs
Persistence
3 techniques
Persistence
At its core, PoisonFrog is a PowerShell script designed to be invoked every ten minutes by setting itself up as a Windows task.
the attacker will create a scheduled task to execute the PowerShell script regularly... As a scheduled task, the vbs script is set to execute every 10 minutes.
"The NCSC also reported that IRON HUNTER had used Iranian web shells..."
Privilege Escalation
2 techniques
Privilege Escalation
At its core, PoisonFrog is a PowerShell script designed to be invoked every ten minutes by setting itself up as a Windows task.
the attacker will create a scheduled task to execute the PowerShell script regularly... As a scheduled task, the vbs script is set to execute every 10 minutes.
Discovery
1 technique
Discovery
The generation procedure involves using the first ten characters of the string “atag121234567890,” where UUID is obtained from a WMI query for Win32_ComputerSystemProduct’s UUID property, after removing dashes.
Command and Control
4 techniques
Command and Control
Should the malware be unable to communicate over DNS, PoisonFrog comes packaged with an HTTP-based version of itself which runs concurrently with the DNS tunneling PowerShell script.
"...used Iranian web shells and COBALT GYPSY's PoisonFrog C2 administration panels to deliver its own malware."
DNS tunneling is an abuse of the DNS protocol that provides adversaries with a covert communication channel. | PoisonFrog relies solely on DNS A records for communications. These communications are issued via calls to .NET class method [System.Net.Dns]::GetHostAddresses.
The core functionality of PoisonFrog DNS tunneling is to download or upload files and execute PowerShell commands sent as tasking by the controller.
Exfiltration
2 techniques
Exfiltration
In this phase, the Exfiltration Over Command and Control Channel tactic is applied. The attacker sends sensitive data to the controlled server using a DNS protocol through command and control
After processing the tasking, PoisonFrog transmits the results back to the controller by sending the controller DNS requests encoded with the exfiltrated data.
Observables
13 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.