Categories: Windows

New RegretLocker Ransomware Targets Windows Virtual Machines

https://open.spotify.com/show/3Gmj15x6cGrgJEzmGnDTTj

New RegretLocker Ransomware Targets Windows Virtual Machines

A new ransomware called RegretLocker uses a variety of advanced features that allows it to encrypt virtual hard drives and close open files for encryption.

RegretLocker was discovered in October and is a simple ransomware in terms of appearance as it does not contain a long-winded ransom note and uses email for communication rather than a Tor payment site.

RegretLocker ransom note
Source: BleepingComputer

When encrypting files, it will append the innocuous-sounding .mouse extension to encrypted file names.

RegretLocker encrypted files
Source: BleepingComputer

What it lacks in appearance, though, it makes up for in advanced features that we do not usually see in ransomware infections, as described below.

Also Read: How To Prevent WhatsApp Hack: 7 Best Practices

RegretLocker mounts virtual hard disks

When creating a Windows Hyper-V virtual machine, a virtual hard disk is created and stored in a VHD or VHDX file.

These virtual hard disk files contain a raw disk image, including a drive’s partition table and partitions, and like regular disk drives, can range in size from a few gigabytes to terabytes.

When a ransomware encrypts files on a computer, it is not efficient to encrypt a large file as it slows down the entire encryption process’s speed.

In a sample of the ransomware discovered by MalwareHunterTeam and analyzed by Advanced Intel’s Vitali Kremez, RegretLocker uses an interesting technique of mounting a virtual disk file so each of its files can be encrypted individually.

To do this, RegretLocker uses the Windows Virtual Storage API OpenVirtualDiskAttachVirtualDisk, and GetVirtualDiskPhysicalPath functions to mount virtual disks.

Mounting a VHD file

As shown by a debug message in the ransomware, it is specifically searching for VHD and mounting them when detected.

parse_files() | Found virtual drive: %ws in path: %s

Once the virtual drive is mounted as a physical disk in Windows, the ransomware can encrypt each one individually, which increases the speed of encryption.

The code used by RegretLocker to mount a VHD is believed to have been taken from a recently published research by security researcher smelly__vx.

Also Read: 15 Best Tools For Your Windows 10 Privacy Settings Setup

In addition to using the Virtual Storage API, RegretLocker also utilizes the Windows Restart Manager API to terminate processes or Windows services that keep a file open during encryption.

When using this API, Kremez told BleepingComputer if the name of a process contains ‘vnc’, ‘ssh’, ‘mstsc’, ‘System’, or ‘svchost.exe’, the ransomware will not terminate it. This exception list is likely used to prevent the termination of critical programs or those used by the threat actor to access the compromised system.

Windows Restart Manager exception list

The Windows Restart Manager feature is only used by a few ransomware such as REvil (Sodinokibi), Ryuk, ContiThunderX/AkoMedusa LockerSamSam, and LockerGoga.

RegretLocker is not very active at this point, but it is a new family that we need to keep an eye on.

Privacy Ninja

Recent Posts

Role of Enhanced Access Controls in Safeguarding Personal Data in Telecommunications

Role of Enhanced Access Controls in Safeguarding Personal Data in Telecommunications that every Organisation in…

1 week ago

Role of Effective Incident Response Procedures in Strengthening Data Security

Effective Incident Response Procedures in Strengthening Data Security that every Organisation in Singapore should know…

1 week ago

Strengthening Your Cyber Defenses: The Crucial Role of Regular Vulnerability Scanning

Crucial Role of Regular Vulnerability Scanning that every Organisation in Singapore should know. Strengthening Your…

1 week ago

Enhancing Data Security with Multi-Factor Authentication

Enhancing Data Security with Multi-Factor Authentication that every Organisation in Singapore should know. Enhancing Data…

2 weeks ago

A Strong Password Policy: Your Organization’s First Line of Defense Against Data Breaches

Strong Password Policy as a first line of defense against data breaches for Organisations in…

2 weeks ago

Enhancing Website Security: The Importance of Efficient Access Controls

Importance of Efficient Access Controls that every Organisation in Singapore should take note of. Enhancing…

3 weeks ago