Security Experts:

Connect with us

Hi, what are you looking for?



New ‘HavanaCrypt’ Ransomware Distributed as Fake Google Software Update

Security researchers at Trend Micro have identified a new ransomware family that is being delivered as a fake Google Software Update application.

Security researchers at Trend Micro have identified a new ransomware family that is being delivered as a fake Google Software Update application.

Dubbed HavanaCrypt, the ransomware performs multiple anti-virtualization checks and uses a Microsoft web hosting service IP address for its command and control (C&C) server, which allows it to evade detection.

During their analysis of HavanaCrypt, Trend Micro also discovered that it uses a namespace method function that queues a method for execution and that it employs the modules of an open-source password manager during encryption.

Compiled in .NET and protected using the Obfuscar open-source obfuscator, HavanaCrypt hides its window after execution, then checks the AutoRun registry for a “GoogleUpdate” entry and continues with its routine if the registry is not found.

Next, it proceeds with its anti-virtualization routine, which consists of four stages: first, it checks for services associated with virtual machines, then for files related to virtual machine applications, then for file names used for VM executables, and then it checks the machine’s MAC address.

Should all the checks pass, the malware downloads a file named “2.txt” from a Microsoft web hosting service IP address, saves it as a .bat file, and executes it. The batch file contains instructions for Windows Defender to ignore detections in the “Windows” and “User” directories.

Next, the ransomware terminates a series of running processes, including those for database applications (Microsoft SQL Server and MySQL) and those of Microsoft Office and Steam.

Then, HavanaCrypt queries all disk drives and deletes all shadow copies, and uses Windows Management Instrumentation (WMI) to identify system restore instances and delete them.

After that, the ransomware drops executable copies of itself in the “ProgramData” and “StartUp” folders, sets them as hidden system files, and drops in the “User Startup” folder a .bat file containing a function that disables the Task Manager.

HavanaCrypt generates a unique identifier (UID) based on system information such as processor cores and ID, processor name, socket, motherboard manufacturer and name, BIOS version, and product number.

During encryption, the malware uses the CryptoRandom function of KeePass Password Safe for generating encryption keys. The threat appends the “.Havana” extension to the encrypted files, and avoids encrypting files with certain extensions or those in specific directories, including that of the Tor browser, suggesting that the malware author might plan communication over the Tor network.

The malware also creates a text file that logs all the directories containing the encrypted files. The file is named foo.txt and the ransomware encrypts it as well. No ransom note is dropped.

“This might be an indication that HavanaCrypt is still in its development phase. Nevertheless, it is important to detect and block it before it evolves further and does even more damage,” Trend Micro explains.

Related: Evasive Rust-Coded Hive Ransomware Variant Emerges

Related: Black Basta Ransomware Becomes Major Threat in Two Months

Related: Researchers Devise Attack Using IoT and IT to Deliver Ransomware Against OT

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Zendesk is informing customers about a data breach that started with an SMS phishing campaign targeting the company’s employees.


The release of OpenAI’s ChatGPT in late 2022 has demonstrated the potential of AI for both good and bad.


Satellite TV giant Dish Network confirmed that a recent outage was the result of a cyberattack and admitted that data was stolen.


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Application Security

PayPal is alerting roughly 35,000 individuals that their accounts have been targeted in a credential stuffing campaign.


No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


As it evolves, web3 will contain and increase all the security issues of web2 – and perhaps add a few more.