Skip to main content
Mallory
Malware3 associated actors

Pupy RAT

Tracked since Mar 18, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors3Associated
ATT&CK16Techniques
IOCs5Tracked
Type
RAT
Capabilities
ExfiltrationLateral movementPost exploitationDefense evasionReconnaissanceDLL sideloading
Delivery
PhishingLure
Platforms
Windows

Pupy RAT is an open-source, cross-platform remote administration tool used maliciously as a remote access trojan. Also detected as Backdoor.Patpoopy, it incorporates Python and C components and provides remote command execution, data theft, additional module retrieval, and deployment of further malware. Attackers can use it for post-compromise operations and lateral movement. Its reflective-loading functionality supports executing portable executable payloads in memory, helping evade detection. Pupy RAT has also been associated with virtual-machine fingerprinting.

Observed Windows delivery campaigns use phishing emails containing ISO attachments with a malicious shortcut, a legitimate Microsoft-signed Windows Error Reporting executable, an attacker-controlled DLL, and a decoy spreadsheet. The shortcut launches the legitimate executable, which sideloads the malicious DLL. The loader decrypts an embedded payload using RC4, executes Pupy RAT in memory, and opens the spreadsheet to distract the victim while the RAT attempts background command-and-control communication.

Pupy RAT is a commodity tool used by multiple threat actors, including the Iranian espionage groups APT33, APT34, and APT35. Its public availability and use by different operators limit attribution based on the malware alone.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
OilRig

Additionally, both APT34 and APT35 have leveraged Pupy RAT in their campaigns.

via acronis blogacronis.com
Magic Hound

Additionally, both APT34 and APT35 have leveraged Pupy RAT in their campaigns.

via acronis blogacronis.com
APT33

This blog describes how threat actors use the legitimate WerFault.exe to execute Pupy RAT on the victims’ machine.

MITRE ATT&CK

Techniques & procedures

16 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1566.001Spearphishing AttachmentEvidence1

The malware campaign starts with the arrival of an email with an ISO attachment.

Execution

4 techniques
T1059Command and Scripting InterpreterEvidence1

The victim starts the infection chain by clicking on the shortcut file, which uses 'scriptrunner.exe' to execute WerFault.exe.

T1059.001PowerShellEvidence1

This PowerShell script, seen in Figure 5, appears to have been generated by Metasploit’s “web_delivery” module to download and execute a payload from a remote server at 45.76.128[.]71, which we speculate was used to create a meterpreter session on the system.

T1059.003Windows Command ShellEvidence1

When the victim opens that shortcut file, it uses scriptrunner.exe LOLBin via cmd to execute WerFault.exe from the ISO.

T1204.002Malicious FileEvidence2

When the victim opens that shortcut file, it uses scriptrunner.exe LOLBin via cmd to execute WerFault.exe from the ISO.

Persistence

1 technique
T1547.009Shortcut ModificationEvidence1

The victim starts the infection chain by clicking on the shortcut file, which uses 'scriptrunner.exe' to execute WerFault.exe.

Privilege Escalation

2 techniques
T1055Process InjectionEvidence1

This RAT is loaded into the memory and executed while WerFault.exe was executing in the front.

T1547.009Shortcut ModificationEvidence1

The victim starts the infection chain by clicking on the shortcut file, which uses 'scriptrunner.exe' to execute WerFault.exe.

Stealth

6 techniques
T1036MasqueradingEvidence2

The ISO contains four files, a legitimate WerFault.exe, a malicious DLL named faultrep.dll, a shortcut file named recent inventory & our specialties.lnk and a XLS file named File.xls. The shortcut file has the same name as the ISO image.

T1055Process InjectionEvidence1

This RAT is loaded into the memory and executed while WerFault.exe was executing in the front.

T1140Deobfuscate/Decode Files or InformationEvidence1

On further analysis we found the RC4 decryption function which contains the data and hard coded string as key... After decrypting the data, we confirmed that the data is a PE file with the magic bytes.

T1218System Binary Proxy ExecutionEvidence1

When the victim opens that shortcut file, it uses scriptrunner.exe LOLBin via cmd to execute WerFault.exe from the ISO.

T1497.001System ChecksEvidence1

"Virtual Machine Fingerprinting... used by the Pupy RAT" / "Windows Sandbox with Sensitive Configuration"

T1620Reflective Code LoadingEvidence2

It was executed from memory and based on the analysis of ReflectiveLoader function, is capable of executing any PE file in-memory, remotely.

Discovery

1 technique
T1497.001System ChecksEvidence1

"Virtual Machine Fingerprinting... used by the Pupy RAT" / "Windows Sandbox with Sensitive Configuration"

Lateral Movement

1 technique
T1570Lateral Tool TransferEvidence1

The malware allows threat actors to gain full access to the infected devices, enabling them to execute commands, steal data, install further malware, or spread laterally through a network.

Command and Control

3 techniques
T1071.004DNSEvidence1

В MITRE ATT&CK скрытые каналы покрывают сразу несколько тактик: Command and Control - DNS (T1071.004 ...). ... DNS tunneling (T1071.004, Command and Control ...) эксплуатирует штатный механизм рекурсивного разрешения имён.

T1105Ingress Tool TransferEvidence1

Pupy RAT is an open-source and publicly available malware written in Python that supports reflective DLL loading to evade detection, and additional modules are downloaded later.

T1219Remote Access ToolsEvidence1

In addition to its custom malware, Elfin has also used a number of commodity malware tools... Remcos... DarkComet... Quasar RAT... Pupy RAT... NanoCore... NetWeird...

Indicators of compromise

Observables

5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+3 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching5Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors3Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping16Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.