ScrubCrypt
- Type
- Crypter
- Capabilities
- Defense evasionPersistenceProcess injection
- Platforms
- Windows
ScrubCrypt is a commercial .NET-based crypter for Windows, available as a crypter-as-a-service since at least 2023. It encrypts and obfuscates malicious applications in batch-file wrappers and supports loading and executing additional malware. It has been used to conceal cryptocurrency miners, information stealers, and remote access trojans, including XMRig, RedLine Stealer, and XWorm.
ScrubCrypt combines layered encoding, AES encryption, compression, and reflective .NET loading to conceal payloads and execute them in memory. Observed variants perform debugger checks, patch Event Tracing for Windows, modify Microsoft Defender settings to reduce scanning, and establish persistence through Windows startup registry mechanisms. Associated deployment chains also bypass the Antimalware Scan Interface and inject components into legitimate Windows processes. Later batch-script variants use extensive environment-variable manipulation and self-referencing to extract and decrypt embedded payloads.
The financially motivated 8220 Gang has deployed ScrubCrypt in cryptojacking campaigns exploiting vulnerable Oracle WebLogic and VMware Horizon servers. The VMware Horizon attacks exploited Log4Shell, CVE-2021-44228, and included Korean energy-related companies among their targets. These campaigns used obfuscated PowerShell and multiple loading stages to deploy XMRig. Other criminal operations have used ScrubCrypt to package RedLine Stealer for account-takeover and fraud activity and to deliver XWorm through a Go-based loader. Credential theft and remote-control functionality belong to these downstream payloads rather than to the crypter itself.
Associated vulnerabilities
1 CVE 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
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
ScrubCrypt includes evasion and encryption functions, making it harder for anti-virus programs to detect 8220 Gang activity.
Techniques & procedures
12 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
4 techniques
Execution
ASEC has confirmed a log where the recently vulnerable ws_tomcatservice.exe process installed the CoinMiner malware... judging from the attack log where the PowerShell command was executed by VMware Horizon’s ws_tomcatservice.exe process
If the CVE-2022-26134 vulnerability attack succeeds, the following PowerShell command downloads and executes additional PowerShell scripts and ultimately installs XMRig CoinMiner.
ScrubCrypt batch script with 493 lines of obfuscated commands
Ahnlab Security Emergency response Center (ASEC) has recently confirmed that the 8220 Gang attack group is using the Log4Shell vulnerability to install CoinMiner in VMware Horizon servers.
Persistence
1 technique
Persistence
ScrubCrypt adds the following values to the registry: settings data used when executing XMRig (including the injection target process, mining pool address and wallet address, CoinMiner payload download URL), and encoded data files “plugin_3.dll” and “plugin_4.dll”.
Privilege Escalation
1 technique
Privilege Escalation
“PhotoShop-Setup-2545.exe” is a .NET downloader malware that downloads and decodes encoded data from the following address and injects it in RegAsm.exe.
Stealth
3 techniques
Stealth
“bypass.ps1” is an obfuscated PowerShell script... “PhotoShop-Setup-2545.exe” is a .NET downloader malware that downloads and decodes encoded data... The malware injected in the RegAsm process and executed is obfuscated
“PhotoShop-Setup-2545.exe” is a .NET downloader malware that downloads and decodes encoded data from the following address and injects it in RegAsm.exe.
Defense Evasion Deobfuscate/Decode Files or Information T1140 Base64 decode of embedded batch; ScrubCrypt decryption of .NET payload
Defense Impairment
2 techniques
Defense Impairment
ScrubCrypt adds the following values to the registry: settings data used when executing XMRig (including the injection target process, mining pool address and wallet address, CoinMiner payload download URL), and encoded data files “plugin_3.dll” and “plugin_4.dll”.
The first line is a routine that bypasses AMSI.
Lateral Movement
1 technique
Lateral Movement
The group has a tendency to install CoinMiner if it finds vulnerable systems... ASEC has introduced a case where the attack group abused the Atlassian Confluence server vulnerability CVE-2022-26134 to attack Korean systems and install CoinMiner.
Command and Control
2 techniques
Command and Control
ScrubCrypt connects to the C&C server and downloads additional commands.
The PowerShell script downloaded and executed by a Log4Shell Vulnerability attack is named “bypass.ps1”.
Observables
40 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.