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 coinhive.com, 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 Politifact.com 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

READ MORE

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. ®

Similar topics


Other stories you might like

  • Prisons transcribe private phone calls with inmates using speech-to-text AI

    Plus: A drug designed by machine learning algorithms to treat liver disease reaches human clinical trials and more

    In brief Prisons around the US are installing AI speech-to-text models to automatically transcribe conversations with inmates during their phone calls.

    A series of contracts and emails from eight different states revealed how Verus, an AI application developed by LEO Technologies and based on a speech-to-text system offered by Amazon, was used to eavesdrop on prisoners’ phone calls.

    In a sales pitch, LEO’s CEO James Sexton told officials working for a jail in Cook County, Illinois, that one of its customers in Calhoun County, Alabama, uses the software to protect prisons from getting sued, according to an investigation by the Thomson Reuters Foundation.

    Continue reading
  • Battlefield 2042: Please don't be the death knell of the franchise, please don't be the death knell of the franchise

    Another terrible launch, but DICE is already working on improvements

    The RPG Greetings, traveller, and welcome back to The Register Plays Games, our monthly gaming column. Since the last edition on New World, we hit level cap and the "endgame". Around this time, item duping exploits became rife and every attempt Amazon Games made to fix it just broke something else. The post-level 60 "watermark" system for gear drops is also infuriating and tedious, but not something we were able to address in the column. So bear these things in mind if you were ever tempted. On that note, it's time to look at another newly released shit show – Battlefield 2042.

    I wanted to love Battlefield 2042, I really did. After the bum note of the first-person shooter (FPS) franchise's return to Second World War theatres with Battlefield V (2018), I stupidly assumed the next entry from EA-owned Swedish developer DICE would be a return to form. I was wrong.

    The multiplayer military FPS market is dominated by two forces: Activision's Call of Duty (COD) series and EA's Battlefield. Fans of each franchise are loyal to the point of zealotry with little crossover between player bases. Here's where I stand: COD jumped the shark with Modern Warfare 2 in 2009. It's flip-flopped from WW2 to present-day combat and back again, tried sci-fi, and even the Battle Royale trend with the free-to-play Call of Duty: Warzone (2020), which has been thoroughly ruined by hackers and developer inaction.

    Continue reading
  • American diplomats' iPhones reportedly compromised by NSO Group intrusion software

    Reuters claims nine State Department employees outside the US had their devices hacked

    The Apple iPhones of at least nine US State Department officials were compromised by an unidentified entity using NSO Group's Pegasus spyware, according to a report published Friday by Reuters.

    NSO Group in an email to The Register said it has blocked an unnamed customers' access to its system upon receiving an inquiry about the incident but has yet to confirm whether its software was involved.

    "Once the inquiry was received, and before any investigation under our compliance policy, we have decided to immediately terminate relevant customers’ access to the system, due to the severity of the allegations," an NSO spokesperson told The Register in an email. "To this point, we haven’t received any information nor the phone numbers, nor any indication that NSO’s tools were used in this case."

    Continue reading

Biting the hand that feeds IT © 1998–2021