A new variant of Mallox ransomware, also known as “Target company” ransomware, adopts a unique method of appending the name of the targeted company as a file extension to encrypt the files and launch the ransomware attack.
The Mallox threat actor distributes ransomware via a downloader attached to spam emails by targeting unsecured internet-facing Microsoft SQL servers.
Mallox ransomware encrypts files on compromised machines and typically adds a “. mallox” extension to the affected files.
Mallox targets industries such as Manufacturing, Energy & Utilities sectors, IT & ITES, and Professional Services.
Mallox Ransomware Attack Vector
Mallox ransomware initiates the attack via a malicious attachment that can either be an executable file that downloads Bat Loader from a remote server or may directly contain it.
The new variant doesn’t need a downloader to retrieve the ransomware payload from a remote server. The bat loader will be delivered directly through the attachment in a phishing email.
Instead, the ransomware payload is contained within a batch script, which is then injected into “MSBuild.exe”, without saving it on the disk
Once the user clicks on the attachment, the various variables defined in random sequences in the batch script file will be combined through concatenation to execute commands.
Secondly, Base64 encoded content provided as a parameter is executed for extracting the ransomware payload from the BatLoader.
The script achieves this extraction by scanning the initial BatLoader and identifying lines with the substring “ck”. When a line with “ck” is found, the script appends the substring following “ck” to an object using the Append method.
This PowerShell script also drops a batch script named “killerrr.bat” in the %TEMP% directory, which can perform the following operations:
- Kill over 600 processes using the taskkill /IM command.
- Stops over 200 services using the net stop command.
- Disables over 13 services using the sc config Service_Name start= disabled power.
- Deletes over 200 services using the sc delete command.
- Removes 2 directories “C:\Program Files (x86)\Kingdee\K3ERP\K3Express\KDHRAPP\client\log” and “C:\Program Files\Kingdee\K3ERP\K3Express\Logs”
Finally, The ransomware binary is injected into the MSBuild.exe through this PowerShell script. Here is the ransomware notes where attackers provided the details about the contact information and the ransom demand to decrypt the files.
Mallox ransomware has publicly disclosed details of over 20 victims from over 15 countries, with India being the most targeted nation, followed by the United States, Cyble Researchers said.
To prevent data breaches due to ransomware attacks, one must follow the below steps
- Conduct regular backup practices and keep those backups offline or in a separate network.
- Keep updated on your computer, mobile, and other connected devices wherever possible and pragmatic.
- Use a reputed anti-virus and Internet security software package on your connected devices, including PC, laptop, and mobile.
- Refrain from opening untrusted links and email attachments without verifying their authenticity.
Source: gbhackers.com