Mamba
- Type
- Ransomware
- Capabilities
- Persistence
- Delivery
- PhishingSpearphishing
- Platforms
- Windows
Mamba, also known as HDDCryptor, is a Windows disk-encrypting ransomware family that denies access by encrypting entire drives rather than selectively encrypting user files. It is notable for weaponizing the legitimate open-source full-disk encryption utility DiskCryptor, using it to encrypt system and data partitions and render the operating system unbootable. The malware installs DiskCryptor components, deploys a malicious service to continue execution across reboots, and modifies the boot process by replacing or altering the master boot record so that a ransom screen is shown before normal startup. Reported variants perform the attack in multiple stages, including installing the encryption components, rebooting to complete driver setup, then rebooting again after disk encryption to present the ransom demand.
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
According to Renato Marinho, a researcher at Morphus Labs, the malware is believed to be spread through phishing emails and malicious downloads.
According to Renato Marinho, a researcher at Morphus Labs, the malware is believed to be spread through phishing emails and malicious downloads.
Execution
2 techniques
Execution
The attacker passes the encryption key via the command-line parameter: [Ransomware Filename].exe <password>.
The ransomware extracts a set of files and installs an encryption service... Services: myCryptoraphyService Runs [Ransomware Filename].exe as a service and is removed once encryption is completed.
Persistence
3 techniques
Persistence
Once it infects a machine, it overwrites the host computer's Master Boot Record (MBR) with its own variant, and from there, it will now be able to encrypt the hard drive.
Using the DiskCryptor software, the malware sets up a new bootloader to MBR.
When DiskCryptor is installed, the malware creates a service that has SERVICE_ALL_ACCESS and SERVICE_AUTO_START parameters.
Privilege Escalation
1 technique
Privilege Escalation
When DiskCryptor is installed, the malware creates a service that has SERVICE_ALL_ACCESS and SERVICE_AUTO_START parameters.
Stealth
2 techniques
Stealth
Once it infects a machine, it overwrites the host computer's Master Boot Record (MBR) with its own variant, and from there, it will now be able to encrypt the hard drive.
Using the DiskCryptor software, the malware sets up a new bootloader to MBR.
Credential Access
1 technique
Credential Access
It utilizes Netpass, a free network password recovery tool, as well as DiskCryptor, an open source disk encryption utility.
Discovery
1 technique
Discovery
It will then use two programs called "dccon.exe." and "mount.exe," which are responsible for encrypting the files on the computer, and all mapped network drives.
Lateral Movement
1 technique
Lateral Movement
this group gains access to an organization’s network and uses the psexec utility to execute the ransomware.
Impact
3 techniques
Impact
This ransomware uses a legitimate utility called DiskCryptor for full disk encryption.
The last step of Stage 1 is to reboot the system... When the encryption ends, the system will be rebooted
This kind of ransomware will usually infect the master boot record, thus rendering the operating system unbootable. In addition they encrypt the data on disk or the master file table.
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.