Ranapama
Overview
Trojan:Win32/Ranapama is a persistent, stealthy trojan designed to breach endpoint defenses and securely deliver secondary, high-severity payloads like ransomware, banking trojans, and botnet agents, or act as a persistent backdoor.
Understanding Ranapama
To an end-user, a Ranapama infection is typically invisible until the devastating secondary payload executes. For threat intelligence analysts, Ranapama is a critical staging mechanism. It functions as an 'Initial Access Broker' tool. Its primary objective is to securely bypass endpoint defenses, profile the infected machine to ensure it is not a sandbox, and reach out to a Command-and-Control (C2) server to pull down the final, destructive payload.
Execution and Evasion Strategies
Ranapama is commonly distributed via massive malspam campaigns containing weaponized attachments (like ZIP files or Office macros) or through exploit kits. Upon execution, it utilizes heavy packing and dynamic API resolution to evade static antivirus signatures. It drops a randomized executable into the `%Temp%` or `%AppData%` directory. It establishes persistence by creating a hidden scheduled task or modifying the Registry Run keys. Ranapama frequently injects its downloading routine into legitimate system processes (like `explorer.exe` or `svchost.exe`) to mask its outbound network traffic.
Indicators of Compromise (IoCs)
Threat hunters should investigate EDR alerts related to 'Suspicious Process Injection' or 'Anomalous Child Process Spawning'. Network logs will often reveal Ranapama reaching out to compromised domains using encrypted HTTPS traffic. The presence of unexpected, hidden scheduled tasks designed to execute randomly named binaries in the user's profile is a strong IoC. Memory analysis is necessary to extract the injected downloader modules and determine what payloads were requested.
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
- T1566.001: Scan email attachments for malicious macros, scripts, or suspicious archive files.
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_RANAPAMA {
meta:
description = "Detects Ranapama (ransomware)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "ranapama" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Ranapama Activity
id: 76f8dfdeabf85d21dc453f9d3ccd1cce
status: experimental
description: Detects generic indicators of the ranapama malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*ranapama*"
condition: selection
level: mediumContainment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Isolate the endpoint immediately to prevent Ranapama from downloading and executing its secondary payloads (e.g., ransomware).
- Audit the Windows Task Scheduler and Registry Run keys to identify and remove the Ranapama persistence mechanisms.
- Review firewall and proxy logs to identify the C2 domains Ranapama attempted to contact, and block them enterprise-wide.
- Capture a live memory image (RAM dump) to extract the injected Ranapama modules and identify the secondary payloads.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not close an incident simply because the initial Ranapama dropper was quarantined; always verify if secondary payloads were downloaded.
- Avoid relying solely on manual file deletion, as the injected processes will likely just recreate the dropped binaries.
References & External Analysis
- Search "ranapama" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Ranapama Ransomware from Windows?
Manual removal of Ranapama is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Ranapama a virus or a Ransomware?
Ranapama is classified as a Ransomware. Unlike traditional viruses that infect files, modern malware like Ranapama typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Ranapama infection?
Symptoms of Ranapama can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Related Families (Category: ransomware)
Explore other malware families in the same category:
Protect Your Network Against Ransomwares
Want to prevent Ranapama and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Protection Guide.
Machine-readable
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/ranapama.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.