Update, March 19, 2025: This story, originally published March 16, has been updated with an explanation of cryptojacking and more technical detail from the CyberArk threat intelligence report following the MassJacker attacks that started with an unwise search. Details of a Microsoft-uncovered crypto attack threat campaign called StilachiRAT have also now been included.
Some cyber attacks begin with a dangerous email landing in your inbox. Others might take a more direct, brute force approach or exploit multiple zero-day vulnerabilities in Windows. Sometimes, however, they begin with you and your actions, such as the password reuse attack or, as in the case of MassJacker, greed that can cost you dearly. And MassJacker attacks begin with a search for the wrong thing.
MassJacker Attacks Start With A Dangerous Search
Be careful what you search for. That should be the primary takeaway from this disturbing tale of malware and crypto theft that all begins with what can only be described as a less-than-harmless search.
I’m old enough to remember when pirated software, in particular Amiga games, was distributed on floppy disc through the postal service within Jiffy bags to people who signed up with a cracking crew on one bulletin board to another. The practice was dangerous even then, with computer viruses and even the first ransomware malware coming along for the ride. Now, of course, things are much simpler for those who would save money on their software. All it takes is a search engine and a click to get to a website where you can download the booty. Simpler, but still dangerous. Such a search for pirated software is where the MassJacker attacks begin.
MassJacker is a previously unknown strain of cryptojacking malware, discovered recently by threat analysts at CyberArk. According to Ari Novick, a malware researcher at CyberArk Labs who into the threat, people searching for pirated software who find themselves at a site operated by the MassJacker threat actors will soon be in a whole heap of trouble.
The MassJacker malware download, should a victim take the bait, “executes a cmd script followed by a PowerShell script that downloads three more executables,” Novick said. All of this in order to pull off cryptocurrency theft. “Cryptojacking works,” Novick explained, “by replacing the addresses of crypto wallets copied by the user with ones belonging to the attacker in the clipboard.”
This can then lead, through further tricking of the victim, into transferring money to the attacker’s address, the attacker’s wallet. Novick warned that the CyberArk analysis had discovered at least 750,000 unique addresses that were being used by MassJacker, and one of these wallets was worth $300,000 alone.
The Search For A Cryptojacking Explanation
Cryptojacking malware isn’t, for some bizarre reason that escapes many threat intelligence researchers, including Novick, it has to be said, something that makes many headlines. I mean, this is strange when you consider that cryptocurrency itself has been a mainstay of media reporting for decades now. You might imagine that something responsible for stealing it would be of interest.
“This kind of malware isn’t nearly as famous as ransomware or even infostealer malware,” Novick said, adding that it’s possible that there aren’t as many of them or that they’re not as profitable as other kinds of attack. “Another possibility is that they are more challenging to identify,” Novick continued, not least as a cryptojacker will only perform malicious behavior under very specific circumstances and so might go unnoticed in a sandbox.
Let’s take a look at what Cryptojacking actually involves beyond the basic description given earlier. And this is where the confusion sets in as the term can seemingly apply to more than one thing. As well as malware that steals money from crypto wallets, cryptojacking can also apply to the exploitation of your computing resources to mine cryptocurrency without your knowledge or authority. The latter, of course, can come with an increased risk of the former. Malware is as malware does, and cybercriminals are just criminals, after all. I would, however, suggest that crypto mining malware is likely to decline as it proves to be harder to pull off with better protections from browsers, while the more straightforward, and certainly more profitable, wallet attacks are something we will see more of.
Looking at the MassJacker attack, Novick explained some of the technicalities involved. The MassJacker payload that contains the cryptojacking ability, started with a couple of anti-analysis techniques. “The first simply zeros out the section and dotnet stream names of the MassJacker in memory,” Novick said; “The second is an anti-debugging technique where the malware creates a new thread to check for a debugger.” If one isn’t present, then another thread is created top create, in effect, an infinite loop of debugger checks. MassJacker has a configuration “containing regexes for crypto addresses and Command and Control addresses to download additional files named recovery.dat and recoverysol.dat,” Novick said. These files are AES-encrypted lists of wallets belonging to the threat actor. The final act in this attack trilogy is the creation of an event handler to run when the victim copies anything. “The handler checks the regexes, and if it finds a match,” Novick explained, “it replaces the copied content with a wallet belonging to the threat actor from the downloaded list.”
StilachiRAT Crypto Threat Utilizes Search In An Altogether Different Way
Whereas the MassJacker crypto attackers rely upon people searching for pirated software in order to pick their targets, the newly analyzed by Microsoft Threat Intelligence, comes at the search requirement from a different angle entirely.
The initial search is conducted during the system reconnaissance phase, with the attackers collecting comprehensive system information through the malware that includes operating system details, hardware identifiers, camera presence, active Remote Desktop Protocol (RDP) sessions, and running graphical user interface (GUI) applications. This, Microsoft explained, enables the detailed profiling of the target system. When it comes to the attack proper, StilachiRAT will scan as many as 20 different cryptocurrency wallet extensions that are used by the Google Chrome web border to look for configuration files. Finally, it will search for and extract saved credentials, which are decrypted to gain access to stored usernames and passwords. Microsoft said that it has yet to attribute the StilachiRAT campaign to any given threat actor, and based on the visibility of its threat intelligence team, it does not appear to be widespread at this point in time. “We are sharing these findings,” Microsoft explained, “as part of our ongoing efforts to monitor, analyze, and report on the evolving threat landscape.”
Mitigating The Massjacker Dangerous Search Cryptojacking Threat
It seems that investigating cryptojackers can lead to a treasure trove of valuable information. “We’ve discovered over 750,000 addresses and over $300,000 in various cryptocurrencies belonging to threat actors,” Novick said. So, what can you do to mitigate these attacks?
The number one mitigation on the list when it comes to MassJacker has to be do not search for pirated software. Second is not to download software from sites that are offering pirated software. Pirated software is bad, m’kay.
