A First Look at the Crypto-Mining Malware Ecosystem: A Decade of Unrestricted Wealth* Sergio Pastrana Guillermo Suarez-Tangil Universidad Carlos III de Madrid King’s College London
[email protected] [email protected] Abstract—Illicit crypto-mining leverages resources stolen from connected to the Internet. In both cases, by using hundreds of victims to mine cryptocurrencies on behalf of criminals. While hijacked machines, perpetrators can obtain a hash-rate similar recent works have analyzed one side of this threat, i.e.: web- to medium-sized mining farms. Each mode has different char- browser cryptojacking, only commercial reports have partially covered binary-based crypto-mining malware. acterizing features and unique challenges, specially when it In this paper, we conduct the largest measurement of crypto- comes to devising effective countermeasures. For example, in mining malware to date, analyzing approximately 4.5 million browser-based cryptojacking the damage ceases when the vic- malware samples (1.2 million malicious miners), over a period tim stops browsing the site. Also, users can reduce the threat of twelve years from 2007 to 2019. Our analysis pipeline applies by restricting the use of JavaScript. Meanwhile, crypto-mining both static and dynamic analysis to extract information from the samples, such as wallet identifiers and mining pools. Together malware entails classical malware-related challenges, such as with OSINT data, this information is used to group samples into persistence and obfuscation. Also, since mining increases the campaigns. We then analyze publicly-available payments sent CPU load, thus reducing the computer’s performance, it might to the wallets from mining-pools as a reward for mining, and be noticed by end-users.