Threat Advisory

PapRAT Gives BITTER Persistent Remote Control over Windows

Threat: Malware
Targeted Region: Global
Targeted Sector: Government & Defense, Energy & Utilities
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

A suspected South Asian cyberespionage group has recently targeted organizations in the region using three distinct infection chains. The campaign leverages malicious shortcut files, disk images, and URL shortcuts to deliver custom remote access tools. One chain relies on native utilities to execute scripts, while the others deploy a remote access trojan via installer packages. The initial access vector involves social engineering lures designed to mimic official documents or meeting requests. Compromised machines fall under the direct control of the threat actor, posing a high risk to the integrity and confidentiality of victim environments. The activity is attributed to a group with a long history of targeting government, energy, and engineering sectors.

The primary implant exists in both C++ and Rust variants, with the Rust version adding PowerShell execution and additional control commands. The malware masquerades as legitimate system components and establishes persistent connections to command-and-control servers using encoded configuration data. It polls for instructions at regular intervals, identifying victims by combining username and computer name. Capabilities include remote shell execution, file uploads and downloads, directory enumeration, and screenshot capture. The C++ variant uses plaintext HTTP for communications, while the Rust variant implements a complete HTTPS loop with obfuscated constants. In one chain, the implant delivers a secondary remote access tool, expanding the attacker's ability to gather system information and execute commands. The use of scheduled tasks and native utilities helps evade detection by standard endpoint controls that focus on executable files.[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

A suspected South Asian cyberespionage group has recently targeted organizations in the region using three distinct infection chains. The campaign leverages malicious shortcut files, disk images, and URL shortcuts to deliver custom remote access tools. One chain relies on native utilities to execute scripts, while the others deploy a remote access trojan via installer packages. The initial access vector involves social engineering lures designed to mimic official documents or meeting requests. Compromised machines fall under the direct control of the threat actor, posing a high risk to the integrity and confidentiality of victim environments. The activity is attributed to a group with a long history of targeting government, energy, and engineering sectors.

The primary implant exists in both C++ and Rust variants, with the Rust version adding PowerShell execution and additional control commands. The malware masquerades as legitimate system components and establishes persistent connections to command-and-control servers using encoded configuration data. It polls for instructions at regular intervals, identifying victims by combining username and computer name. Capabilities include remote shell execution, file uploads and downloads, directory enumeration, and screenshot capture. The C++ variant uses plaintext HTTP for communications, while the Rust variant implements a complete HTTPS loop with obfuscated constants. In one chain, the implant delivers a secondary remote access tool, expanding the attacker's ability to gather system information and execute commands. The use of scheduled tasks and native utilities helps evade detection by standard endpoint controls that focus on executable files.[emaillocker id="1283"]

The campaign demonstrates continued investment in the toolset, with the Rust variant expanding the command set from eight to eleven functions. Telemetry indicates that targets are concentrated in South Asia, with specific focus on government and critical infrastructure sectors. The evolution from C++ to Rust suggests an effort to enhance functionality and resilience against analysis. Defensive implications include the need to monitor suspicious execution chains involving scripting tools, scheduled tasks, and installer activity. Organizations should treat unexpected shortcut files, disk images, and installer packages with caution, particularly when delivered through unsolicited messages. Combining user awareness with controls that detect outbound traffic to known malicious infrastructure can help limit exposure to these campaigns.

THREAT PROFILE:

Tactic Technique Id Technique Sub-technique
Initial Access T1566.001 Phishing Spearphishing Attachment
Execution T1059.003 Command and Scripting Interpreter Windows Command Shell
Execution T1059.001 Command and Scripting Interpreter PowerShell
Persistence T1546.008 Event Triggered Execution Application Shimming
Defense Evasion T1055.001 Process Injection Dynamic Link Library Injection
Defense Evasion T1070.001 Indicator Removal Clear Windows Event Logs
Defense Evasion T1027.001 Obfuscated Files or Information Encoding
Discovery T1082 System Information Discovery -
Discovery T1016 System Network Configuration Discovery -
Collection T1113 Screen Capture -
Command and Control T1071.001 Application Layer Protocol Web Protocols
Exfiltration T1041 Exfiltration Over C2 Channel -

MBC MAPPING:

Objective Behavior ID Behavior
Command and Control B0030 C2 Communication
Collection E1113 Screen Capture
Discovery E1083 File and Directory Discovery
Discovery E1082 System Information Discovery
Execution E1059 Command and Scripting Interpreter
File System Micro-objective C0047 Delete File
File System Micro-objective C0052 Writes File
File System Micro-objective C0051 Read File
Communication Micro-objective C0002 HTTP Communication
Anti-Static Analysis E1027 Obfuscated Files or Information
Persistence E1112 Modify Registry
Impact B0022 Remote Access

REFERENCES:

The following reports contain further technical details:

[/emaillocker]
crossmenu