Intezer and IBM X-Force have found a new ransomware targeted at production servers. They found evidence of its originsthat pointed to a malware-as-a-service (MaaS) provider that has been utilized in the past by the Cobalt Gang and FIN6 attack groups.
Intezer said that, "Using code reuse analysis, we discovered this threat is closely related to the "more_eggs" backdoor malware, which is sold on the dark web by a veteran MaaS provider."
Also, the malware file contains reused code from several malware families, mainly from Cobalt Gang binaries. This reuse of code alone means the file is malicious and that it may have associations with the Cobalt Gang.
They named this ransomware PureLocker because it's written in the PureBasic programming language. It shows up (so far) as a Windows 32-bit DLL, masquerading as a C++ cryptography library called Crypto++.
VirusTotal hasn't detected it over the last few weeks, which may be due to its use of PureBasic. PB is known to be able to confuse virus trackers. PureBasic code is portable between Windows, Linux and OS X, which can make targeting different platforms easier for the attacker.
The malware's code begins by trying to check if it is being executed as intended by the attackers, and that it's not being analyzed or debugged. If any of these checks fail, the malware will exit immediately, without deleting itself.
The malware itself shows structural signs of being only part of a broader picture. It's a DLL file designed to be executed in a very specific manner. That implies it is a later-stage component of a multi-stage attack.
Once it finds the coast clear, it encrypts the files on the victim's machine with the standard AES+RSA combination, using a hard-coded RSA key. The ransomware then secure-deletes the original files in order to prevent most recovery efforts.
The ransom note it then generates is not usual by any means. It doesn't ask for payment directly, it instructs the victim to contact the attacker via email. The attackers use the anonymous and encrypted Proton email service.
PureLocker "was designed to conceal its intentions and functionalities unless executed in the intended manner" as Intezer put it. So, the malware author seems to have given much thought to the overall functionality of the malware, a rethinking of the ransomware concepts that use MaaS tools to do their dirtywork. PL doesn't need to be loud and brash, attempting to infect anything that comes in its path. It just sits back and waits for its shot.
— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.