Security News

A Vulnerability Detected in Hive Ransomware Allows Recovering Encrypted Files

A vulnerability has been identified in the encryption algorithm used by the Hive Ransomware software that could allow decryption of encrypted data.

Updated 2 Min Read
weekly cyber security news threat intelligence

Hive Ransomware is a ransomware-as-a-service operation first observed in June 2021. Researchers found a flaw in its encryption algorithm. They recovered 95% of the master key without the attacker’s RSA private key and decrypted infected data. This post explains the flaw, how Hive operators attack and how to reduce the risk.

What is Hive Ransomware?

A vulnerability has been identified in the encryption algorithm used by the Hive Ransomware software that could allow decryption of encrypted data. Hive Ransomware operations have been active since June 2021 and use the Ransomware Software as a Service (RaaS) model. Hive operators demand ransom by threatening targets to publish the intercepted data on leak sites (HiveLeaks).

How does the Hive encryption flaw let files be decrypted?

The vulnerability detected in the encryption algorithm used by the Hive Ransomware software allows data to be decrypted without knowing the private key used by the group to encrypt the files. In this way, 95% of the master key used by Hive operators to generate the file encryption key was recovered, and encrypted files were decrypted.

How do Hive operators attack, and how can you protect yourself?

In August 2021, the FBI released a report containing technical details on Hive Ransomware operations. Hive operators use various attack methods, including malicious spam campaigns, vulnerable RDP servers, and compromised VPN credentials. To not affect by possible Ransomware attacks, it is recommended not to interact with e-mails and links from unknown parties, use reliable security solutions, Restrict RDP accesses, download files or applications over known/trusted connections and sources.

Our incident page on the 2021 Newfoundland and Labrador health system attack describes a case in which an official investigation found the ransomware was Hive.

Frequently Asked Questions.

What is Hive ransomware?

Hive is a ransomware-as-a-service operation first observed in June 2021. Developers maintain the malware and affiliates carry out the attacks, then threaten to publish stolen data on a leak site called HiveLeaks.

Can files encrypted by Hive ransomware be decrypted?

A research paper by Giyoon Kim, Soram Kim, Soojin Kang and Jongsung Kim describes a method that recovered 95% of the master key without the attacker's RSA private key and decrypted infected data. It describes this as the first successful attempt at decrypting Hive.

How does Hive ransomware get into networks?

The post lists malicious spam campaigns, vulnerable RDP servers and compromised VPN credentials. CISA also lists phishing emails with malicious attachments and single factor RDP logins.

How can I protect against Hive ransomware?

Do not interact with email and links from unknown senders, use reliable security solutions, restrict RDP access, and download files only from trusted sources. CISA also advises phishing-resistant multi-factor authentication and offline backups.

Sources

  1. 1 arXiv: A Method for Decrypting Data Infected with Hive Ransomware
  2. 2 CISA: #StopRansomware: Hive Ransomware (AA22-321A)
  3. 3 FBI FLASH MC-000150-MW (25 Aug 2021): Indicators of Compromise Associated with Hive Ransomware