PapRAT
- Type
- RAT
- Capabilities
- ExfiltrationPersistencePost exploitationDefense evasionReconnaissance
- Delivery
- Lure
- Platforms
- Windows
PapRAT is a Windows remote access trojan used by the BITTER cyberespionage group, also tracked as TA397, in campaigns targeting South Asian organizations. BITTER has historically targeted government, energy, and engineering organizations. PapRAT has both C++ and Rust implementations and provides remote control, surveillance, file management, and additional payload delivery.
The C++ implementation supports eight commands for shell-command execution, arbitrary file execution, directory listing, drive enumeration, file deletion, screenshot capture, and file uploads and downloads. It identifies compromised systems using their username and computer name, receives JSON-formatted instructions, and polls its command-and-control server approximately every ten seconds over plaintext HTTP. Its configuration is concealed with XOR encoding, and observed payloads masquerade as Microsoft software. The newer Rust implementation uses HTTPS, conceals configuration strings through reversal and ROT-3 transformations, and expands the command set to eleven by adding PowerShell execution, sleep-and-resume functionality, and termination of its own process. It delays execution for approximately 42 seconds before polling every five seconds.
Observed delivery chains use diplomatic correspondence and event-invitation lures. One chain places a malicious shortcut, hidden MSI installer, and decoy spreadsheet inside a VHDX disk image; opening the shortcut displays the spreadsheet while installing PapRAT. Another begins with an archive containing an internet shortcut that retrieves malicious components through WebDAV and ultimately executes an MSI installer. Supporting scripts and scheduled tasks help maintain attacker access. PapRAT has also been observed downloading WmRAT, another remote access trojan associated with BITTER.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
PapRAT, a remote access trojan (RAT) developed in C++ and Rust, is capable of executing commands, transferring files, capturing screenshots, and maintaining attacker access.
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
2 techniques
Execution
3 commandes supplémentaires : MS2 (PowerShell), SLP (sleep), BYE (exit).
8 commandes C2 : msg (shell) ... WmRAT ... exécution de commandes.
Stealth
3 techniques
Stealth
Configuration XOR-encodée (clé 0x50) ... Constantes obfusquées : inversées + décalage ROT-3.
PapRAT se masque en bruzsvc.exe (“Microsoft Corporation”).
Déploiement de PapRAT via une CustomAction de type 194 dans le MSI.
Discovery
2 techniques
Discovery
Reconnaissance via curl vers goodnfortunes[.]com, collecte de données système envoyées en POST ... WmRAT ... capable de collecte système.
FDD (listing) ... GDR (drives) ... WmRAT ... listing de fichiers.
Collection
1 technique
Collection
SS1 (screenshot) ... WmRAT ... capable de collecte système, screenshots.
Command and Control
2 techniques
Command and Control
C2 : rivingtonclarks[.]com, communication HTTP toutes les 10 secondes ... www[.]rivingtonclarks[.]com/banana/.
Téléchargement de WmRAT (vnces.exe) via la commande DWW de PapRAT.
Exfiltration
1 technique
Exfiltration
UPP (upload) ... Transferts de fichiers avec code OTP et ClientID.
Observables
21 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.