Pupy RAT (also known as Pupy, PupyRAT) is a Python-based remote access trojan active since 2015. Open-source Python RAT. Key capabilities include: cross-platform, reflective loading, in-memory execution, post-exploitation framework, used by APT33/APT35.
Overview & Background
Open-source Python RAT. First observed in 2015, Pupy RAT is attributed to APTs and eCrime. The malware is written in Python and provides operators with comprehensive remote access capabilities.
Pupy RAT continues to be actively distributed and used in campaigns targeting organizations worldwide. Its capabilities include: cross-platform, reflective loading, in-memory execution, post-exploitation framework, used by APT33/APT35.
- Language: Python
- Active since: 2015
- Attribution: APTs and eCrime
- Also known as: Pupy, PupyRAT
Technical Capabilities
- Cross-Platform: Core Pupy RAT capability T1059
- Reflective Loading: Core Pupy RAT capability T1059
- In-Memory Execution: Core Pupy RAT capability T1059
- Post-Exploitation Framework: Core Pupy RAT capability T1059
- Used By Apt33/Apt35: Core Pupy RAT capability T1059
Distribution Methods
Pupy RAT is typically distributed through phishing emails with malicious attachments, cracked software downloads, and malvertising campaigns. Common delivery mechanisms include Office macros, ISO/IMG containers, and script-based downloaders.
- Phishing emails: Malicious attachments and links T1566.001
- Malvertising: SEO poisoning and malicious ads T1189
- Cracked software: Bundled with pirated applications
MITRE ATT&CK Mapping
| Tactic | Technique | Usage |
|---|---|---|
| Initial Access | T1566.001 Phishing Attachment | Malicious email attachments |
| Execution | T1204.002 Malicious File | User executes RAT payload |
| Persistence | T1547.001 Registry Run Keys | Autostart persistence |
| Defense Evasion | T1027 Obfuscated Files | Payload obfuscation |
| Credential Access | T1056.001 Keylogging | Keystroke capture |
| Collection | T1113 Screen Capture | Screenshot collection |
| Collection | T1125 Video Capture | Webcam access |
| C2 | T1071.001 Web Protocols | HTTP/HTTPS C2 communication |
Detection & Defense
- Endpoint detection: Monitor for Python processes with network connections from unusual locations
- Network monitoring: Detect C2 traffic patterns associated with Pupy RAT
- Email security: Block malicious attachments and links in phishing campaigns
- Application whitelisting: Restrict execution of unauthorized binaries
- YARA rules: Deploy detection signatures for known Pupy RAT variants
Protect Against Remote Access Trojans
Mjolnir Security provides comprehensive detection and response capabilities against Pupy RAT and similar RAT threats.
- RAT Detection & Removal Identify and remediate Pupy RAT infections including persistence mechanisms and lateral movement artifacts.
- Threat Intelligence Continuous monitoring for Pupy RAT campaigns and infrastructure targeting your organization.
- 24/7 Incident Response Rapid containment and forensic investigation. Call +1 833 403 5875.
Stay ahead of emerging threats. Get notified when we publish new intelligence reports and advisories.
Subscribe to Alerts