Skip to main content

Report claims ecommerce sites are hijacking visitor CPUs to mine digital coins

Image used with permission by copyright holder
Several months ago, reports surfaced claiming that CBS-owned Showtime was allegedly accessing the processors of PCs visiting two of its websites to secretly mine virtual coins. The process is called “cryptojacking,” and relies on code embedded in a website that silently runs mining software within the visitor’s browser. It’s a growing problem, and a recent report indicates that it’s even spreading across legitimate ecommerce sites, generating virtual money in the background while you spend real-world cash.

The growing practice of mining virtual coins within a visitor’s browser stems from a new JavaScript kit called CoinHive. There’s nothing malicious about this software, as it’s specifically designed to mine virtual coins within a web browser using the visitor’s processor. It’s meant to be an alternative payment method for visitors: mine coins for the site in return for free downloads, ad-free video streaming, in-game items, and so on.

But in a report provided by independent security researcher Willem de Groot, he found at least 2,496 online stores running CoinHive in the background. Even more, 80 percent of these online shops were likely not running the mining software on purpose, as he discovered they were also infected with malware that steals payment information during transactions, also known as “payment skimming.”

Groot also notes that out of the 2,496 infected ecommerce sites, 85 percent were linked to a mere two CoinHive accounts, and the remaining 15 percent were connected to multiple unique accounts linked to the ecommerce companies. Groot believes that the bulk of the infected sites are running outdated ecommerce software with well-known software vulnerabilities, enabling hackers to inject these sites with CoinHive and payment skimming malware.

At the time of this post, one “infected” website was Subaru’s online shop in Australia. Sure enough, when we visited the site, the tab in Google’s Chrome browser began using 45 percent of our CPU, waking up the chip’s cooling fan. Once we exited the page, the tab’s CPU usage dropped back down to near zero, and the fan went quiet. We didn’t find any reference to CoinHive in the site’s source code, but rather a hidden “iframe” that loads up a page labeled “Apache2 Debian Default Page.” The CoinHive JavaScript resides towards the end of the page’s code so it’s not blatantly visible on Subaru’s website.

Image used with permission by copyright holder

There’s also something definitely going on at When we visited the site, the Chrome browser tab shot up to nearly 90 percent of CPU usage. We also found the CoinHive JavaScript listed at the end of the page’s source code, verifying that it is indeed mining virtual coins in the background without any warning on the site’s main page.

“Some sites bluntly include the official coinhive.js file, others are more stealthy,” he reports. “Others disguise as Sucuri Firewall.”

To prevent sites from hijacking your processor for digital coin mining, you can use stand-alone software with a built-in ad-blocker, or install a similar plugin within the browser. Another method is to edit the “hosts” file located in the “windows\system32\drivers\etc” directory with Notepad to add “” and “” on the blocked list.

Kevin Parrish
Former Digital Trends Contributor
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
Save $450 on this Samsung 32-inch 4K monitor for Memorial Day
Sackboy A Big Adventure running on the Samsung Odyssey Neo G8 monitor.

If you have one of the best GPUs on the market, such as the RTX 4080, then you're going to need to back it up with a powerful gaming monitor like the Samsung Odyssey Neo G8. Samsung makes some of the best gaming monitors on the market, and while they can be pretty expensive, luckily, there are some great early Memorial Day deals you can take advantage of. For example, you can snag the Samsung Odyssey Neo G8 right now from Samsung for just $850 rather than the usual $1,300 it goes for.

Why you should buy the 32-inch Odyssey Neo G8
The Samsung Odyssey Neo G8 has a lot of excellent features, which is great given it has a pretty high price tag too. Probably one of the most impressive parts is the fact that it can hit a whopping 240Hz refresh rate at 4K, which is rare for that resolution and perfect if you're running something like an RTX 4090. Of course, even with the most powerful graphics card on the market, it's doubtful you'll hit that refresh rate at the highest graphical settings, but at least you do have the option to prioritize refresh rate or graphics. The high specs also make the monitor pretty future-proof, at least for the next generation of GPUs, maybe even two.

Read more
Why Samsung has the most exciting Copilot+ PC right now
The keyboard and trackpad of the Galaxy Book4 Edge.

We were just inundated with a whole slew of new Windows laptops. These aren't your average notebooks, though -- they're part of Microsoft's new Copilot+ PC program -- built from the ground up with AI and ARM chips in mind.

A lot of these laptops emphasize the same performance and battery life gains caused by Qualcomm's Snapdragon X chips. Those are impressive, but comparing all these laptops against each other, it's Samsung's entry that makes me the most excited.
Design efficiency

Read more
Samsung’s 49-inch Odyssey gaming monitor is $500 off right now
Front view of Samsung's new QLED Odyssey gaming monitor sitting on desk.

If you have a high-end gaming PC that runs something like an RTX 4090, then you'll likely want to pair it with a high-end screen that can take full advantage of all the power you have under the hood. That not only means grabbing something with high resolution but something that can also handle a high refresh rate. Luckily, the Samsung Odyssey G9 can handle both, and more on top of that, given that it's an ultra-widescreen. Of course, it does go for an eye-watering $1,300 at MSRP, but this Memorial Day weekend deal from Samsung brings it down to a more reasonable $800.

Why you should buy the Samsung Odyssey G9
The massive 49-inch, 1000R curved Samsung Odyssey G9 has an absolute ton of tech under the hood, the least of which is the 5,120 x 1,440 resolution and lightning-fast 240Hz refresh rate. Given that it runs at 1440p, that means it won't tax a card like an RTX 4090 at a higher refresh rate, and if you absolutely love action-packed racing and FPS games, then you should manage to get relatively close to a 200FPS, even with higher graphical settings. Even if you have something like an RTX 4080, you should still be able to make some compromises here and there to get you either to higher graphical settings or higher FPS.

Read more