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.
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.
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.
Void Rabisu, also known as Tropical Scorpius, an actor believed to be associated with Cuba ransomware and the RomCom backdoor.
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.
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.
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.
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.
"Their ransomware arsenal evolved over time: Cuba ransomware (early 2020)..."
40 distinct techniques documented for this family, organized by ATT&CK tactic.
...вредоносной рекламы...
Может распространяться путём взлома через незащищенную конфигурацию RDP...
...обманных загрузок, ботнетов, эксплойтов, вредоносной рекламы, веб-инжектов, фальшивых обновлений...
Tropical Scorpius has also been observed exploiting vulnerabilities in Microsoft Exchange Server, including ProxyShell and ProxyLogon.
...с помощью email-спама и вредоносных вложений...
...с помощью email-спама и вредоносных вложений...
[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)
[Cuba](https://attack.mitre.org/software/S0625) has used <code>cmd.exe /c</code> and batch files for execution.(Citation: McAfee Cuba April 2021)
Cuba ransomware actors use Hancitor as a tool to spread malicious files throughout a victim’s network.
[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)
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Может распространяться путём взлома через незащищенную конфигурацию RDP...
[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)
[Cuba](https://attack.mitre.org/software/S0625) has used <code>SeDebugPrivilege</code> and <code>AdjustTokenPrivileges</code> to elevate privileges.(Citation: McAfee Cuba April 2021)
[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)
[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)
[Cuba](https://attack.mitre.org/software/S0625) has a packed payload when delivered.(Citation: McAfee Cuba April 2021)
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.
Bad Rabbit has masqueraded as a Flash Player installer through the executable file install_flash_player.exe.
[Cuba](https://attack.mitre.org/software/S0625) has been disguised as legitimate 360 Total Security Antivirus and OpenVPN programs.(Citation: McAfee Cuba April 2021)
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.'
[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)
[Cuba](https://attack.mitre.org/software/S0625) has used <code>SeDebugPrivilege</code> and <code>AdjustTokenPrivileges</code> to elevate privileges.(Citation: McAfee Cuba April 2021)
[Cuba](https://attack.mitre.org/software/S0625) has executed hidden PowerShell windows.(Citation: McAfee Cuba April 2021)
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
[Cuba](https://attack.mitre.org/software/S0625) loaded the payload into memory using PowerShell.(Citation: McAfee Cuba April 2021)
Tropical Scorpius leveraged a dropper that writes a kernel driver to the file system called ApcHelper.sys. This targets and terminates security products.
[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)
[Cuba](https://attack.mitre.org/software/S0625) can query service status using <code>QueryServiceStatusEx</code> function.(Citation: McAfee Cuba April 2021)
[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)
[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)
[Cuba](https://attack.mitre.org/software/S0625) can enumerate processes running on a victim's machine.(Citation: McAfee Cuba April 2021)
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.
[Cuba](https://attack.mitre.org/software/S0625) can enumerate files by using a variety of functions.(Citation: McAfee Cuba April 2021)
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.'
[Cuba](https://attack.mitre.org/software/S0625) can discover shared resources using the <code>NetShareEnum</code> API call.(Citation: McAfee Cuba April 2021)
[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)
[Cuba](https://attack.mitre.org/software/S0625) can enumerate local drives, disk type, and disk free space.(Citation: McAfee Cuba April 2021)
Cuba ransomware actors use Hancitor as a tool to spread malicious files throughout a victim’s network.
Cuba has been dropped onto systems and used for lateral movement via obfuscated PowerShell scripts.
[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)
[Cuba](https://attack.mitre.org/software/S0625) can download files from its C2 server.(Citation: McAfee Cuba April 2021)
We also inform that your databases, ftp server and file server were downloaded by us to our servers.
[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)
[Cuba](https://attack.mitre.org/software/S0625) has a hardcoded list of services and processes to terminate.(Citation: McAfee Cuba April 2021)
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.
179 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
80 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.