Skip to main content
  1. Home
  2. Computing
  3. Mobile
  4. Web
  5. News

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

Add as a preferred source on Google

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.

Recommended Videos

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.

CoinHive
Image used with permission by copyright holder

There’s also something definitely going on at Musicas.cc. 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 “coin-hive.com” and “coinhive.com” on the blocked list.

Kevin Parrish
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
This app turns the iPhone Duo into a pocket-sized Mac
Headroom uses macOS's built-in Screen Sharing to let users control their Mac from the foldable iPhone, without installing additional software on the computer.
Headroom App on Apple iPhone Duo controlling a Mac

The iPhone Duo has barely been out for a day, and someone's already found a way to run their Mac on it. Well, sort of. Headroom, a remote desktop app from MusicFlow, lets users control their Mac from Apple's new foldable phone, with an interface that adapts as the device opens, closes, and folds in half. Think of it as turning a pocket-sized phone into a miniature MacBook, minus the actual MacBook.

Headroom turns the iPhone Duo into a mini Mac

Read more
AI helped uncover a hidden PHP flaw. Now websites worldwide are facing millions of hacking attempts.
A critical PHP vulnerability has websites worldwide racing to install security patches.
php-flaw-websites-under-attack

PHP is the programming language behind roughly 70% of websites, and it just ran into a serious problem. Security researchers used AI to uncover a critical flaw called PHP2Shell, which could let attackers take over web servers, steal data, or disrupt online services. Since the discovery, websites worldwide have been hit with millions of attempts to exploit it.

Hackers moved fast once the flaw went public. Cloudflare CEO Matthew Prince said the attack attempts jumped from tens of thousands within 45 minutes to millions overnight, The Guardian reports.

Read more
Microsoft has begun rolling out Copilot Code for building apps with natural language
The workplace-focused vibe coding tool can pull context from emails, documents, meetings, and chats.
Microsoft Copilot code logo

Microsoft introduced Code last month as one of the three core parts of its revamped Copilot app. The app was pitched as an easy-to-use coding agent that lets users describe what they want to build in natural language, like an app, a tracker, a dashboard, an automation, or a workflow, and Copilot would build it for them.

Essentially, it's a workplace-focused vibe-coding app that turns existing work into a functional app, and Microsoft has begun rolling it out through the Frontier program.

Read more