Skip to main content
Mallory
Malware

HavanaCrypt

Tracked since Jan 23, 2026 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK18Techniques
IOCs6Tracked
Type
Ransomware
Capabilities
ExfiltrationPersistenceDefense evasionReconnaissance
Platforms
Windows

HavanaCrypt is a .NET ransomware family that masquerades as a Google software update component to reduce suspicion during execution. It employs anti-virtualization and anti-analysis checks, including inspection for VMware- and VirtualBox-related artifacts, and may terminate when it detects a virtualized environment. The malware is obfuscated and hides its execution window, indicating an emphasis on defense evasion.

After launch, HavanaCrypt weakens host defenses by downloading and executing a batch script that modifies Microsoft Defender preferences. It also terminates a range of running processes, including business and database-related applications, to increase the number of files available for encryption. To inhibit recovery, it deletes shadow copies and removes restore points.

The ransomware establishes persistence by copying itself into startup-related locations and creating additional startup artifacts. Before encryption, it fingerprints the victim system using hardware information to derive a unique identifier, then communicates with command-and-control infrastructure to obtain encryption-related material. It also stores locally generated RSA key material for use in its workflow.

HavanaCrypt encrypts files and appends a dedicated extension to affected data while excluding some directories and file types. Reported samples did not drop a ransom note, suggesting the family may have been immature or still under development at the time it was observed. The malware is associated with Windows environments and demonstrates a conventional ransomware playbook centered on defense evasion, persistence, host profiling, and file encryption.

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
MITRE ATT&CK

Techniques & procedures

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

Execution

2 techniques
T1047Windows Management InstrumentationEvidence1

It also checks for system restore instances via Windows Management Instrumentation (WMI) and proceeds to delete them by using the SRRemoveRestorePoint function.

T1059.003Windows Command ShellEvidence1

It then proceeds to execute the batch file using cmd.exe with a “/c start” parameter.

Persistence

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence1

It then drops copies of itself in the %ProgramData% and %StartUp% folders in the form of executable (.exe) files... HavanaCrypt also drops a file named “vallo.bat” onto %User Startup%

Privilege Escalation

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence1

It then drops copies of itself in the %ProgramData% and %StartUp% folders in the form of executable (.exe) files... HavanaCrypt also drops a file named “vallo.bat” onto %User Startup%

Stealth

6 techniques
T1036MasqueradingEvidence1

HavanaCrypt arrives as a fake Google Software Update application.

T1070.004File DeletionEvidence1

After it terminates all relevant processes, HavanaCrypt queries all available disk drives and proceeds to delete the shadow copies

T1497Virtualization/Sandbox EvasionEvidence1

HavanaCrypt has four stages of checking whether the infected machine is running in a virtualized environment.

T1497.001System ChecksEvidence1

First, it checks for services used by virtual machines such as VMWare Tools and vmmouse.

T1564.001Hidden Files and DirectoriesEvidence1

Their attributes are then set to “Hidden” and “System File.”

T1564.003Hidden WindowEvidence1

Upon execution, HavanaCrypt hides its window by using the ShowWindow function with parameter 0 (SW_HIDE).

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence1

The batch file contains commands that are used to configure Windows Defender scan preferences to allow any detected threat in the “%Windows%” and “%User%” directories.

Discovery

5 techniques
T1012Query RegistryEvidence1

HavanaCrypt then checks the AutoRun registry to see whether the “GoogleUpdate” registry is present.

T1057Process DiscoveryEvidence1

HavanaCrypt also terminates certain processes that are found running in the machine

T1082System Information DiscoveryEvidence1

Before it proceeds with its encryption routine, HavanaCrypt gathers certain pieces of information and sends them to its C&C server... The pieces of machine information that HavanaCrypt gathers include: The number of processor cores, The processor ID, The processor name, The socket designation, The motherboard manufacturer, The motherboard name, The BIOS version, The product number

T1497Virtualization/Sandbox EvasionEvidence1

HavanaCrypt has four stages of checking whether the infected machine is running in a virtualized environment.

T1497.001System ChecksEvidence1

First, it checks for services used by virtual machines such as VMWare Tools and vmmouse.

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence1

HavanaCrypt replaces the string “index.php” with “ham.php” to send a GET request to its C&C server ... using “Havana/1.0” as the user agent... After gathering all the necessary machine information, HavanaCrypt sends it via a POST request to hxxp://20[.]227[.]128[.]33/index.php

T1105Ingress Tool TransferEvidence1

After verifying that the victim machine is not running in a virtual machine, HavanaCrypt downloads a file named “2.txt” from 20[.]227[.]128[.]33, a Microsoft web hosting service IP address, and saves it as a batch (.bat) file

Impact

3 techniques
T1486Data Encrypted for ImpactEvidence1

HavanaCrypt encrypts files and appends “.Havana” as a file name extension.

T1490Inhibit System RecoveryEvidence1

HavanaCrypt queries all available disk drives and proceeds to delete the shadow copies and resize the maximum amount of storage space to 401 MB. It also checks for system restore instances via Windows Management Instrumentation (WMI) and proceeds to delete them by using the SRRemoveRestorePoint function.

T1565Data ManipulationEvidence1

HavanaCrypt also drops a file named “vallo.bat” onto %User Startup%, which contains functions that can disable the Task Manager.

Indicators of compromise

Observables

6 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
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
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
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 matching6Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs 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 mapping18Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.