Stealth web crypto-cash miner Coinhive back to the drawing board as blockers move in

We've got something much more ethical anyway, say devs

Malwarebytes has had enough of Coinhive's alt-currency-generating browser-side code, and is now automatically blocking it.

The biz joins ad-block plugins in preventing Coinhive's Monero-crafting JavaScript from running in webpages, using visitors' electricity and hardware to mine new money. Coinhive is a legit outfit, and its mining code is supposed to be embedded in pages to earn site owners' revenue as an alternative to annoying ads. However, this freely available tool has been abused.

Malwarebytes said, which hosts the mining software, was the second-most-commonly blocked domain by its users, with 130 million users expressing their disdain for the technology.

"We do not claim that Coin Hive is malicious, or even necessarily a bad idea," noted Adam Kujawa, director of Malwarebytes Labs, on Wednesday. "The concept of allowing folks to opt-in for an alternative to advertising, which has been plagued by everything from fake news to malvertising, is a noble one. The execution of it is another story."

Kujawa pointed out that loads of websites are now running Coinhive's JavaScript to make a fast buck – either openly, or surreptitiously like the Pirate Bay, or after hackers injected the code, as in the cases of and Showtime's websites.

A handful of euro 1 cent coins

More and more websites are mining crypto-coins in your browser to pay their bills, line pockets


Although Coinhive encourages web devs to alert visitors that mining is happening in the background in their browsers, and to throttle the calculations to a sensible rate, there's no requirement for site admins and hackers to display any warning nor take the brake off coin processing. And that means folks aren't aware of the secret number-crunching until their CPUs are jammed with activity and their batteries are dying faster than an unnamed Star Trek red shirt.

The smackdown by Malwarebytes and ad-blockers isn't surprising – and we note Fortinet also treats Coin Hive's site as dangerous – but neither is it total. Users can still configure the Malwarebytes software to allow Coin Hive code to work with a few simple steps.

The response from Coin Hive was surprising. No whining or prevaricating: the developers told The Register they're totally fine with the ban.

"We can't blame them," the team said, noting that this isn’t the first time blocking of its software has come up. "Spotting a crypto-miner on a website is surprisingly difficult. It's easy for technical people to check in the browser's developer console, but it's not obvious at all for the average user."

Instead of complaining, the Coinhive team already has a solution. It's come up with new code, released this week, called AuthedMine, and it is similar to the previous cryptocurrency miner but with one crucial and very important addition – a user consent page.

"AuthedMine enforces an explicit opt-in from the end user to run the miner," the team said in a blog post on Monday.

"We have gone through great lengths to ensure that our implementation of the opt-in cannot be circumvented and we pledge that it will stay this way. The AuthedMine miner will never start without the user's consent."

Coinhive also said that it is working with translators and has now written the permission page in 46 languages, with more to come. It described the response from website owners and users as "very positive," and said it hopes web devs using the original Monero web miner will transfer to AuthedMine.

With such a good replacement, websites that don't should expect to be called out by their users, The Reg hopes. Drop us a line if you come across a website unfairly using your computer for its benefit. ®

Other stories you might like

  • DigitalOcean tries to take sting out of price hike with $4 VM
    Cloud biz says it is reacting to customer mix largely shifting from lone devs to SMEs

    DigitalOcean attempted to lessen the sting of higher prices this week by announcing a cut-rate instance aimed at developers and hobbyists.

    The $4-a-month droplet — what the infrastructure-as-a-service outfit calls its virtual machines — pairs a single virtual CPU with 512 MB of memory, 10 GB of SSD storage, and 500 GB a month in network bandwidth.

    The launch comes as DigitalOcean plans a sweeping price hike across much of its product portfolio, effective July 1. On the low-end, most instances will see pricing increase between $1 and $16 a month, but on the high-end, some products will see increases of as much as $120 in the case of DigitalOceans’ top-tier storage-optimized virtual machines.

    Continue reading
  • GPL legal battle: Vizio told by judge it will have to answer breach-of-contract claims
    Fine-print crucially deemed contractual agreement as well as copyright license in smartTV source-code case

    The Software Freedom Conservancy (SFC) has won a significant legal victory in its ongoing effort to force Vizio to publish the source code of its SmartCast TV software, which is said to contain GPLv2 and LGPLv2.1 copyleft-licensed components.

    SFC sued Vizio, claiming it was in breach of contract by failing to obey the terms of the GPLv2 and LGPLv2.1 licenses that require source code to be made public when certain conditions are met, and sought declaratory relief on behalf of Vizio TV owners. SFC wanted its breach-of-contract arguments to be heard by the Orange County Superior Court in California, though Vizio kicked the matter up to the district court level in central California where it hoped to avoid the contract issue and defend its corner using just federal copyright law.

    On Friday, Federal District Judge Josephine Staton sided with SFC and granted its motion to send its lawsuit back to superior court. To do so, Judge Staton had to decide whether or not the federal Copyright Act preempted the SFC's breach-of-contract allegations; in the end, she decided it didn't.

    Continue reading
  • US brings first-of-its-kind criminal charges of Bitcoin-based sanctions-busting
    Citizen allegedly moved $10m-plus in BTC into banned nation

    US prosecutors have accused an American citizen of illegally funneling more than $10 million in Bitcoin into an economically sanctioned country.

    It's said the resulting criminal charges of sanctions busting through the use of cryptocurrency are the first of their kind to be brought in the US.

    Under the United States' International Emergency Economic Powers Act (IEEA), it is illegal for a citizen or institution within the US to transfer funds, directly or indirectly, to a sanctioned country, such as Iran, Cuba, North Korea, or Russia. If there is evidence the IEEA was willfully violated, a criminal case should follow. If an individual or financial exchange was unwittingly involved in evading sanctions, they may be subject to civil action. 

    Continue reading

Biting the hand that feeds IT © 1998–2022