More Than 4,000 Government Websites Infected With Covert Cryptocurrency Miner
from the whoops-a-daisy dept
The rise of cryptocurrency mining software like Coinhive has been a decidedly double-edged sword. While many websites have begun exploring cryptocurrency mining as a way to generate some additional revenue, several have run into problems if they fail to warn visitors that their CPU cycles are being co-opted in such a fashion. That has resulted in numerous websites like The Pirate Bay being forced to back away from the software after poor implementation (and zero transparency) resulted in frustrated users who say the software gobbled upwards of 85% of their available CPU processing power without their knowledge or consent.
But websites that don't inform users this mining is happening are just one part of an emerging problem. Hackers have also taken to using malware to embed the mining software into websites whose owners aren't aware that their sites have been hijacked to make somebody else an extra buck. Politifact was one of several websites that recently had to admit its website was compromised with cryptocurrency-mining malware without their knowledge. Showtime was also forced to acknowledge (barely) that websites on two different Showtime domains had been compromised and infected with Coinhive-embedded malware.
While Bloomberg this week proclaimed that governments should really get behind this whole cryptocurrency mining thing, the reality is that numerous governments already have -- just not in the way they might have intended. Security researcher Scott Helme this week discovered that more than 4,000 U.S. and UK government websites -- including the US court system website -- have been infected with cryptocurrency mining malware, a number that's sure to only balloon.
As Helme notes, attackers don't need to even attack each website individually, as they've found a way to compromise shared resources like Text Help, whose modified script files were then loaded by thousands of websites at a pop:
Hey @texthelp you've been compromised, you need to address this ASAP. Their site also has the crypto miner running: pic.twitter.com/fl0U9ssZRr
— Scott Helme (@Scott_Helme) February 11, 2018
Fortunately this attack isn't particularly hard to neutralize, with a tiny modification to the share script being able to nip similar, future attacks in the bud. But Helme also notes that this entire kerfuffle could have been substantially worse:
The more I think about this the worse it becomes. Attackers had arbitrary script injection on thousands of sites including many NHS websites here in England. Just stop and think for a few moments about what exactly they could have done with that capability... 😱
— Scott Helme (@Scott_Helme) February 11, 2018
Ultimately it seems like these kinds of attacks should be easy to avoid once site administrators and governments wise up to the rising threat. That said, reports by cybersecurity firm CrowdStrike have suggested things will get a little worse before they get better. Again though, the malware angle is just one conversation we need to be having. How sites can responsibly and transparently implement miners as an alternative revenue stream is going to be something we'll be talking about for a while, as Salon made evident this week as the first website to offer the option as an alternative to traditional advertising.
Thank you for reading this Techdirt post. With so many things competing for everyone’s attention these days, we really appreciate you giving us your time. We work hard every day to put quality content out there for our community.
Techdirt is one of the few remaining truly independent media outlets. We do not have a giant corporation behind us, and we rely heavily on our community to support us, in an age when advertisers are increasingly uninterested in sponsoring small, independent sites — especially a site like ours that is unwilling to pull punches in its reporting and analysis.
While other websites have resorted to paywalls, registration requirements, and increasingly annoying/intrusive advertising, we have always kept Techdirt open and available to anyone. But in order to continue doing so, we need your support. We offer a variety of ways for our readers to support us, from direct donations to special subscriptions and cool merchandise — and every little bit helps. Thank you.
–The Techdirt Team
Filed Under: cryptocurrency, government websites, injections, javascript, miner, security, third party scripts
Companies: browsealoud, texthelp
Reader Comments
Subscribe: RSS
View by: Time | Thread
[ link to this | view in thread ]
[ link to this | view in thread ]
Re:
FTFY
[ link to this | view in thread ]
Re:
[ link to this | view in thread ]
Re: Re:
Antebellum -> or something
[ link to this | view in thread ]
Proactive action
Would it be out of character for governments to now do something effective about these kinds of intrusions? Yes, yes it would.
[ link to this | view in thread ]
Re: Proactive action
Eventually, web browsers will need to limit the CPU "bleed" they give to websites so that the value of an undetected coin miner will be too small to amount to much.
[ link to this | view in thread ]
Re: The first problem is that effective, complete control over a computer is rapidly becoming impossible
[ link to this | view in thread ]
Profilactic ad-blocking
[ link to this | view in thread ]
Re: Really like the idea of using some cycles to browse ad free. Just as long as I know about it before it starts.
This may very well be the new business model. You have four or eight or twelve cores, which probably spend most of their time sitting idle. If a site asks (nicely!) to use one in return for providing their services ... could this become the new form of barter economy?
I can see Governments objecting because they can’t figure out how to tax it.
[ link to this | view in thread ]
Re: Re: Really like the idea of using some cycles to browse ad free. Just as long as I know about it before it starts.
[ link to this | view in thread ]
Re: Re: The first problem is that effective, complete control over a computer is rapidly becoming impossible
[ link to this | view in thread ]
[ link to this | view in thread ]
[ link to this | view in thread ]
Re: Re: The first problem is that effective, complete control over a computer is rapidly becoming impossible
(Not that the problem isn't at least an order of magnitude worse coming out of Microsoft -- 30million lines of Kernel versus 1 million lines of Kernel, and legal hazards if you should analyze what comes from Redmond)
[ link to this | view in thread ]
Re:
Install an adblocker. It needs some cycles to detect the ads, but probably less than rendering the ads would use.
[ link to this | view in thread ]
Not "malware"
[ link to this | view in thread ]
Re: Proactive action
The obvious action would be to stop putting third-party scripts on their own sites. Maybe unless they lock it via cryptographic hashes so that sites can't change the scripts from under them... but even then there are privacy concerns.
[ link to this | view in thread ]
Re: Re: Re: The first problem is that effective, complete control over a computer is rapidly becoming impossible
A "modern" browser is actually bigger than most operating systems. Building Chromium or Webkit will take longer than everything they depend on put together (OS kernel, graphics stack etc.).
[ link to this | view in thread ]
Re: A "modern" browser is actually bigger than most operating systems
[ link to this | view in thread ]
Re: Re:
[ link to this | view in thread ]
Re: Not "malware"
[ link to this | view in thread ]
Re:
[ link to this | view in thread ]
Re: Re: Not "malware"
1) That's an unusual definition of malware. By that logic, Windows is malware because the computer I bought came with Windows when I didn't want it. "Mal" in this case is an attribute of the person who dropped it, not the software itself.
2) We don't know that anything was injected. The government was allowing third-parties to decide what code to send to users (and didn't use subresource integrity to prevent changes), and one of them started to send this mining code. They've so far declined to explain what happened; they may have intentionally decided to enable this, to make some extra cash.
[ link to this | view in thread ]
Re: Re: A "modern" browser is actually bigger than most operating systems
... and links, elinks, and w3m, and Emacs must have a few. I sometimes use them, and like them, but most sites have way too much "junk" which makes the real content hard to find. Out of curiosity, I just tried Techdirt in Lynx, and it's really good: the first link goes to a "Lite" version, which is perfect, and even the normal version isn't bad (two pages of chuffah, then the story and comments, then some trailing stuff).
But CSS, images, and videos can make a site better, which I rarely say of Javascript (archive.org's Internet Arcade is one of those rare exceptions, though I'll personally still take a native emulator).
[ link to this | view in thread ]
Re: By that logic, Windows is malware because the computer I bought came with Windows when I didn't want it.
[ link to this | view in thread ]