Skip to main content
Mallory
Malware6 associated actors9 associated CVEs

Cuba

Tracked since Nov 25, 2025 · Updated 23 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns9Associated
Actors6Associated
ATT&CK40Techniques
IOCs179Tracked
Type
Ransomware
Capabilities
ExtortionReconnaissanceDefense evasion
Delivery
PhishingMalvertising
Platforms
Windows
Also known ascuba_ransomware

Cuba is a Windows ransomware family used in financially motivated, enterprise-focused double-extortion operations active since at least 2019. It encrypts local files and network shares using ChaCha20, with RSA protecting the per-file encryption keys and initialization vectors. Its operators steal sensitive information before encryption and threaten public disclosure to pressure victims into paying. Targets include retailers and manufacturers in North America and Europe, alongside financial services, government, healthcare, information technology, and critical manufacturing organizations worldwide. There is no established affiliation with the Republic of Cuba.

Cuba supports operator-selected encryption of local volumes, individual paths, discovered network shares, or shares on a specified host. It retrieves the local ARP cache and enumerates network shares to identify encryption targets. Analyzed variants use multithreaded encryption, partially encrypt large files for speed, and avoid re-encrypting files marked as already processed. They obtain debug privileges and terminate database, virtualization, and email processes and services to release locked files. Additional behaviors include excluding selected system files and directories, avoiding systems with Russian keyboard layouts, and deleting the ransomware executable after execution.

Cuba operations have obtained access through phishing, compromised credentials, remote services, initial-access brokers, and exploitation of public-facing applications. Documented exploitation includes Microsoft Exchange vulnerabilities and CVE-2023-27532 in Veeam Backup & Replication. Hancitor has distributed the ransomware, while PowerShell scripts have supported deployment across compromised environments. Associated intrusions have used BUGHATCH, Cobalt Strike, Meterpreter, Mimikatz, and RomCom for supporting activities; these tools provide capabilities separate from the ransomware encryptor. Elastic tracks a Cuba-associated intrusion set as REF9019, and Microsoft tracked Exchange exploitation deploying Cuba as DEV-0671.

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
Associated CVEs

Associated vulnerabilities

9 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2020-1472via cisa advisoriesExploited in the wildZerologonUsed a tool to exploit CVE-2020-1472 (also known as “ZeroLogon”) to gain Domain Administrative privileges. This tool and its intrusion attempts have been reportedly related to Hancitor and Qbot.View vulnerability →Source ↗
CVE-2022-41080via bleeping computerExploited in the wildOWASSRF in Microsoft Exchange ServerMicrosoft says Cuba ransomware threat actors are hacking Microsoft Exchange servers unpatched against a critical server-side request forgery vulnerability also exploited in Play ransomware attacks. Rackspace confirmed that Play ransomware used an exploit dubbed OWASSRF targeting CVE-2022-41080 after bypassing ProxyNotShell URL rewrite mitigations.View vulnerability →Source ↗
CVE-2022-24521via cisa advisoriesExploited in the wildWindows CLFS Driver Local Privilege EscalationCuba ransomware actors have exploited CVE-2022-24521 in the Windows Common Log File System (CLFS) driver to steal system tokens and elevate privileges.View vulnerability →Source ↗
CVE-2021-34473via elastic security labsProxyShell: Microsoft Exchange Server Pre-authentication Path ConfusionThe Cuba Ransomware group targets North American and European retailers and manufacturers, exfiltrating sensitive data before deploying ransomware and using a "name and shame" extortion model.View vulnerability →Source ↗
CVE-2021-26855via elastic security labsProxyLogon SSRF in Microsoft Exchange ServerThe Cuba Ransomware group targets North American and European retailers and manufacturers, exfiltrating sensitive data before deploying ransomware and using a "name and shame" extortion model.View vulnerability →Source ↗
CVE-2023-27532via securityscorecard researchUnauthenticated Credential Disclosure in Veeam Backup & ReplicationFollowing the publication of a report regarding the Cuba ransomware group’s recent activities, the STRIKE Team leveraged SecurityScorecard’s unique data to enrich the indicators of compromise linked to this activity.View vulnerability →Source ↗
CVE-2021-34523via bleeping computerExploited in the wildMicrosoft Exchange PowerShell Privilege Escalation (ProxyShell)The flaws are tracked as CVE-2021-34473, CVE-2021-34523, and CVE-2021-31207. | The flaws have been used by multiple threat actors, including ransomware like Conti, BlackByte, Babuk, Cuba, and LockFile, after exploits became available.View vulnerability →Source ↗
CVE-2021-31207via bleeping computerExploited in the wildMicrosoft Exchange Server Mailbox Export Arbitrary File Write (ProxyShell)The flaws are tracked as CVE-2021-34473, CVE-2021-34523, and CVE-2021-31207. | The flaws have been used by multiple threat actors, including ransomware like Conti, BlackByte, Babuk, Cuba, and LockFile, after exploits became available.View vulnerability →Source ↗
CVE-2024-40711via bleeping computerUnauthenticated Remote Code Execution in Veeam Backup & Replication"The most severe of the problems addressed is CVE-2024-40711, a critical (CVSS v3.1 score: 9.8) remote code execution (RCE) vulnerability on Veeam Backup & Replication (VBR) that can be exploited without authentication."View vulnerability →Source ↗
Threat actors

Associated threat actors

6 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 →
RomCom

Void Rabisu, also known as Tropical Scorpius, an actor believed to be associated with Cuba ransomware and the RomCom backdoor.

via trendai security blogtrendaisecurity.com
Cuba

Redmond says that this SSRF vulnerability has also been exploited since at least November 17th by another threat group it tracks as DEV-0671 to hack Exchange servers and deploy Cuba ransomware payloads.

via bleeping computerbleepingcomputer.com
DEV-0671

Redmond says that this SSRF vulnerability has also been exploited since at least November 17th by another threat group it tracks as DEV-0671 to hack Exchange servers and deploy Cuba ransomware payloads.

via bleeping computerbleepingcomputer.com
REF9019

The Cuba Ransomware group targets North American and European retailers and manufacturers, exfiltrating sensitive data before deploying ransomware and using a "name and shame" extortion model.

via elastic security labselastic.co
CUBA ransomware threat group

CUBA ransomware provides the attacker with the flexibility to encrypt both local and network shares files in the enterprise. CUBA uses the ChaCha20 cipher algorithm for symmetric encryption and RSA encryption to protect the ChaCha20 keys.

via elastic security labselastic.co
Nebulous Mantis

"Their ransomware arsenal evolved over time: Cuba ransomware (early 2020)..."

via security online infosecurityonline.info
MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1583.008MalvertisingEvidence1

...вредоносной рекламы...

Initial Access

5 techniques
T1133External Remote ServicesEvidence1

Может распространяться путём взлома через незащищенную конфигурацию RDP...

T1189Drive-by CompromiseEvidence1

...обманных загрузок, ботнетов, эксплойтов, вредоносной рекламы, веб-инжектов, фальшивых обновлений...

T1190Exploit Public-Facing ApplicationEvidence2

Tropical Scorpius has also been observed exploiting vulnerabilities in Microsoft Exchange Server, including ProxyShell and ProxyLogon.

T1566PhishingEvidence2

...с помощью email-спама и вредоносных вложений...

T1566.001Spearphishing AttachmentEvidence1

...с помощью email-спама и вредоносных вложений...

Execution

5 techniques
T1059.001PowerShellEvidence7

[Cuba](https://attack.mitre.org/software/S0625) has been dropped onto systems and used for lateral movement via obfuscated PowerShell scripts.(Citation: McAfee Cuba April 2021)

T1059.003Windows Command ShellEvidence6

[Cuba](https://attack.mitre.org/software/S0625) has used <code>cmd.exe /c</code> and batch files for execution.(Citation: McAfee Cuba April 2021)

T1072Software Deployment ToolsEvidence1

Cuba ransomware actors use Hancitor as a tool to spread malicious files throughout a victim’s network.

T1106Native APIEvidence4

[Cuba](https://attack.mitre.org/software/S0625) has used several built-in API functions for discovery like GetIpNetTable and NetShareEnum.(Citation: McAfee Cuba April 2021)

T1574.011Services Registry Permissions WeaknessEvidence1

They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.

Persistence

2 techniques
T1133External Remote ServicesEvidence1

Может распространяться путём взлома через незащищенную конфигурацию RDP...

T1543.003Windows ServiceEvidence4

[Cuba](https://attack.mitre.org/software/S0625) can modify services by using the <code>OpenService</code> and <code>ChangeServiceConfig</code> functions.(Citation: McAfee Cuba April 2021)

Privilege Escalation

2 techniques
T1134Access Token ManipulationEvidence5

[Cuba](https://attack.mitre.org/software/S0625) has used <code>SeDebugPrivilege</code> and <code>AdjustTokenPrivileges</code> to elevate privileges.(Citation: McAfee Cuba April 2021)

T1543.003Windows ServiceEvidence4

[Cuba](https://attack.mitre.org/software/S0625) can modify services by using the <code>OpenService</code> and <code>ChangeServiceConfig</code> functions.(Citation: McAfee Cuba April 2021)

Stealth

11 techniques
T1027Obfuscated Files or InformationEvidence7

[Cuba](https://attack.mitre.org/software/S0625) has used multiple layers of obfuscation to avoid analysis, including its Base64 encoded payload.(Citation: McAfee Cuba April 2021)

T1027.002Software PackingEvidence6

[Cuba](https://attack.mitre.org/software/S0625) has a packed payload when delivered.(Citation: McAfee Cuba April 2021)

T1036MasqueradingEvidence2

actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.

T1036.003Rename Legitimate UtilitiesEvidence1

Bad Rabbit has masqueraded as a Flash Player installer through the executable file install_flash_player.exe.

T1036.005Match Legitimate Resource Name or LocationEvidence3

[Cuba](https://attack.mitre.org/software/S0625) has been disguised as legitimate 360 Total Security Antivirus and OpenVPN programs.(Citation: McAfee Cuba April 2021)

T1070Indicator RemovalEvidence1

Examples throughout the content include deleting tools, logs, malware-related files, staged archives, screenshots, temporary files, and exfiltrated data 'to cover their tracks,' 'reduce their footprint,' 'remove traces of activity,' or as part of 'post-intrusion cleanup.'

T1070.004File DeletionEvidence11

[Cuba](https://attack.mitre.org/software/S0625) can use the command <code>cmd.exe /c del</code> to delete its artifacts from the system.(Citation: McAfee Cuba April 2021)

T1134Access Token ManipulationEvidence5

[Cuba](https://attack.mitre.org/software/S0625) has used <code>SeDebugPrivilege</code> and <code>AdjustTokenPrivileges</code> to elevate privileges.(Citation: McAfee Cuba April 2021)

T1564.003Hidden WindowEvidence6

[Cuba](https://attack.mitre.org/software/S0625) has executed hidden PowerShell windows.(Citation: McAfee Cuba April 2021)

T1574.011Services Registry Permissions WeaknessEvidence1

They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.

T1620Reflective Code LoadingEvidence4

[Cuba](https://attack.mitre.org/software/S0625) loaded the payload into memory using PowerShell.(Citation: McAfee Cuba April 2021)

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

Tropical Scorpius leveraged a dropper that writes a kernel driver to the file system called ApcHelper.sys. This targets and terminates security products.

Credential Access

1 technique
T1056.001KeyloggingEvidence3

[Cuba](https://attack.mitre.org/software/S0625) logs keystrokes via polling by using <code>GetKeyState</code> and <code>VkKeyScan</code> functions.(Citation: McAfee Cuba April 2021)

Discovery

10 techniques
T1007System Service DiscoveryEvidence4

[Cuba](https://attack.mitre.org/software/S0625) can query service status using <code>QueryServiceStatusEx</code> function.(Citation: McAfee Cuba April 2021)

T1016System Network Configuration DiscoveryEvidence10

[Cuba](https://attack.mitre.org/software/S0625) can retrieve the ARP cache from the local system by using <code>GetIpNetTable</code>.(Citation: McAfee Cuba April 2021)

T1049System Network Connections DiscoveryEvidence3

[Cuba](https://attack.mitre.org/software/S0625) can use the function <code>GetIpNetTable</code> to recover the last connections to the victim's machine.(Citation: McAfee Cuba April 2021)

T1057Process DiscoveryEvidence9

[Cuba](https://attack.mitre.org/software/S0625) can enumerate processes running on a victim's machine.(Citation: McAfee Cuba April 2021)

T1082System Information DiscoveryEvidence7

The content repeatedly describes malware and threat actors collecting OS version, computer name, architecture, CPU, memory, disk, language, and other host details; examples include use of commands such as ver, systeminfo, hostname, uname -m, sw_vers -productVersion, and fsutil.

T1083File and Directory DiscoveryEvidence10

[Cuba](https://attack.mitre.org/software/S0625) can enumerate files by using a variety of functions.(Citation: McAfee Cuba April 2021)

T1120Peripheral Device DiscoveryEvidence2

Numerous entries mention enumerating drives, logical disks, disk type, free space, or volume information; examples include 'Babuk can enumerate disk volumes,' 'Cuba can enumerate local drives,' and 'TAINTEDSCRIBE can use DriveList to retrieve drive information.'

T1135Network Share DiscoveryEvidence8

[Cuba](https://attack.mitre.org/software/S0625) can discover shared resources using the <code>NetShareEnum</code> API call.(Citation: McAfee Cuba April 2021)

T1614.001System Language DiscoveryEvidence8

[Cuba](https://attack.mitre.org/software/S0625) can check if Russian language is installed on the infected machine by using the function <code>GetKeyboardLayoutList</code>.(Citation: McAfee Cuba April 2021)

T1680Local Storage DiscoveryEvidence3

[Cuba](https://attack.mitre.org/software/S0625) can enumerate local drives, disk type, and disk free space.(Citation: McAfee Cuba April 2021)

Lateral Movement

2 techniques
T1072Software Deployment ToolsEvidence1

Cuba ransomware actors use Hancitor as a tool to spread malicious files throughout a victim’s network.

T1570Lateral Tool TransferEvidence2

Cuba has been dropped onto systems and used for lateral movement via obfuscated PowerShell scripts.

Collection

1 technique
T1056.001KeyloggingEvidence3

[Cuba](https://attack.mitre.org/software/S0625) logs keystrokes via polling by using <code>GetKeyState</code> and <code>VkKeyScan</code> functions.(Citation: McAfee Cuba April 2021)

Command and Control

1 technique
T1105Ingress Tool TransferEvidence6

[Cuba](https://attack.mitre.org/software/S0625) can download files from its C2 server.(Citation: McAfee Cuba April 2021)

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

We also inform that your databases, ftp server and file server were downloaded by us to our servers.

Impact

3 techniques
T1486Data Encrypted for ImpactEvidence17

[Cuba](https://attack.mitre.org/software/S0625) has the ability to encrypt system data and add the ".cuba" extension to encrypted files.(Citation: McAfee Cuba April 2021)

T1489Service StopEvidence6

[Cuba](https://attack.mitre.org/software/S0625) has a hardcoded list of services and processes to terminate.(Citation: McAfee Cuba April 2021)

T1657Financial TheftEvidence2

The Cuba ransomware family has been observed since 2019. They use the now ubiquitous “double extortion” method of threatening to release a victim’s data on the Internet if they do not pay the requested ransom.

Indicators of compromise

Observables

179 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
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 matching179Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors6Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities9CVEs 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 mapping40Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.