A Surge of Sites and Apps Are Exhausting Your CPU To Mine Cryptocurrency (arstechnica.com)
Dan Goodin, writing for ArsTechnica: The Internet is awash with covert crypto currency miners that bog down computers and even smartphones with computationally intensive math problems called by hacked or ethically questionable sites. The latest examples came on Monday with the revelation from antivirus provider Trend Micro that at least two Android apps with as many as 50,000 downloads from Google Play were recently caught putting crypto miners inside a hidden browser window. The miners caused phones running the apps to run JavaScript hosted on Coinhive.com, a site that harnesses the CPUs of millions of PCs to mine the Monero crypto currency. In turn, Coinhive gives participating sites a tiny cut of the relatively small proceeds. Google has since removed the apps, which were known as Recitiamo Santo Rosario Free and SafetyNet Wireless App. Last week, researchers from security firm Sucuri warned that at least 500 websites running the WordPress content management system alone had been hacked to run the Coinhive mining scripts. Sucuri said other Web platforms -- including Magento, Joomla, and Drupal -- are also being hacked in large numbers to run the Coinhive programming interface.
is so tired.
After the amount of times the CIA did similar meddling in foreign governments, your country has no fucking right to complain.
Slashdot keeps mentioning this. Are you considering adding this to the website? That would be cool!
This might remind people how weird it is that they run software automatically downloaded from arbitrary foreign sources all the time on their personal computer.
If people still knew how to write HTML, almost no web site would need to use any "JavaScript" or other "active content", with all the security issues this implies.
How many cell phones would you need to commandeer, and for how long, in order to successfully mine a Bitcoin using JavaScript?
It seems like trying to boil the ocean by stealing cigarette lighters...
I don't care if it's 90,000 hectares. That lake was not my doing.
I doubt enough browsers support the fancy animations that PHB's love so much: wiggly throbbing bouncy controls. They want the UI to behave like the breasts they get slapped for trying to touch.
Eye-candy sells and the silly humans fall for it. Proverbial books continue to get judged by their covers. Good luck fixing human nature.
Table-ized A.I.
If people still knew how to write HTML, almost no web site would need to use any "JavaScript" or other "active content"
How would, say, a web-based front-end to an IRC server work without script? It needs to know when messages have arrived in order to display them. The same is true of a multi-user whiteboard, which needs to know when another user has drawn a stroke. In addition, server-side image map doesn't support drag input, only click input.
Or should those instead be native executables that a user can download, install, and use? If so, then because native executables are generally specific to one operating system, Murphy's law holds that such an application will inevitably be designed for an operating system other than the one your device regularly runs. And it's still "software [manually] downloaded from arbitrary foreign sources".
Or should real-time interactive applications instead be written for the Java Virtual Machine or the .NET Common Language Runtime? Even though one such executable can run on multiple desktop operating systems, it still generally excludes iOS and Android, and it's stlil "software [manually] downloaded from arbitrary foreign sources".
I think it do.
Whether crypto-mining or not, some pages seem to use a disproportionate share of cpu time for the content they're delivering. Some form of cpu usage indicator per tab would be helpful, similar in vein to the speaker icon on tabs that produce sound.
and it's an i5-7500. Not only does it have plenty of headroom on processing but even if I'm running Burn in Test it doesn't get above 40 celcius on a CPU that could comfortably hit 70 for the next 20 years. The electricity cost is negligible too.
I can't even get that worked up about this stuff on my cell phone. I don't generally browse on it for hours on end. Maybe if I used a tablet I'd care, but as it stands this is kind of a non-issue. What surprises me is the amount of white hot rage over it going around the net. I think it makes people feel like marks that they're not getting their cut, nevermind that they got their cut when they consumed the content on the site (assuming they weren't tricked, but then we're talking mal-ware, which is a whole 'nother discussion).
Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
We live in some strange times, where thieves are trying to steal CPU cycles from our devices. Just wow, who would've ever thought this would ever be a thing?
On another note, I think I might have stumbled across a site doing this and it's pretty annoying, browser goes very slow.
No you should complain about it and take efforts to stop us. Just as we certainly should punish Russia
I'm sure that Putin would agree might makes right and we're by far the mightiest.
Does anyone remember the person that deleted the small JavaScript file and brought down so many big sites because they were loading it from his site instead of having a copy on their own site? I think it was to justify text. It was only a couple of lines.
You need to find a function that is popular like that and is loaded from a central server. Once you have identified one then find a way to change it so that it gets the browsers to mine cryptocurrency. Probably don't want it to spike the CPU usage as it would give it away.
The electricity cost is negligible too.
The price of electric power depends on where you live. And in a lot of places, people have to pay twice for electric power: once to run the computer and once to run the air conditioner that moves the heat generated by the computer to the outside.
nevermind that [viewers] got their cut when they consumed the content on the site
Why do people keep referring to viewing works created by others as "consuming" them? A work isn't "consumed", or used up, in the act of viewing it.
If a CPU can't be "exhausted", then why does a desktop PC have an "exhaust" fan?
Nor is the CPU the only component of a computer system that can be exhausted. A laptop, tablet, or smartphone has a battery that is discharged more quickly when Coinhive is running.
With all the garbage that most sites want to run on our CPU's to serve ads and do all sorts of tracking why is crypto currency mining any different? Every sinle page that you hit on the internet has TONS and TONS of javascript crap that wants to run. All of this nonsense wastes our CPU power for the benefit of the site we are using. Is it just the direct revenue that we are offended by all of a sudden? Tracking code profits them directly. Offloading tasks onto your machine that should be done on their web server profits them directly by allowing them to run a smaller footprint of less powerful servers.
If you want to stop this nonsense install a javascript blocker. Noscript and adblock plus are great add ons that will improve your browser experience. For those sites that have ad block blockers? Fuck them. I hit the back button and never go to those sites. There's millions of alternative sites out there to get the same information who's not going to be tacky about a user putting their foot down to what's run on their system.
Web designers really need to think about all the javascript garbage that they are packing their pages with and how their users are just going to start blocking them. I browse the web on a 5ghz i7700k with 64gb ram. I still don't want this bullshit slowing down my experience or wasting my electricity running tasks for the benefit of a for profit business.
I'm actually glad people are finally using this for more nefarious purposes. It's going to get us visibility into an issue with the web today. This is an out of control wild west practice that needs to be curbed. If more users start using noscript designers will need to think twice before packing their pages full of crap.
BTW for you web designer assholes. I'm GLAD that blocking all your garbage causes you issues. I'm glad it costs you directly in your ad revenue and I'm glad that your web statistics are not accurate. Fuck you people and your abusive use of my computing resources.
I would rather that you got your fucking nose out of my business. Please tell me how US interference is somehow better than Russian interference in my own private life? Thanks.
I once saw an error from a program that was written in German. The error said that the RAM was exhausted. I think it simply meant "Out of Memory".
Russian interference makes your entire government dependent on corruption which flows through Moscow. Government repression is encouraged.
So tell the rest of the world again about Citizens United and how america hasn't institutionalised corruption? Legalising bribery doesn't mean it isn't morally reprehensible.
Russia may be a sack of shitheels but at least they don't pretend their bullshit is on the level.
Type "about:performance" in any recent Gecko web browsers (e.g., SeaMonkey and Firefox)'s URL form to show for a top type view. I would also like to see a tab version like its audio.
Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
Not even remotely true so the parent post is spot on. That's a standard HTML tag called an anchor and can be linked directly to without any kind of scripting required.
"Freedom in the USA is not the ability to do what you want. It is the ability to stop others from doing what THEY want"
US interference advocates for democracy, transparency, anti-corruption, and a free press.
You really do believe that, don't you? I'm out of words here...
I once saw an error from a program that was written in German. The error said that the RAM was exhausted. I think it simply meant "Out of Memory".
Unlike the suggestion that attaching an air duct and exhaust fan to something is a valid use of the word "exhausted", that actually is an example of resource exhaustion.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
US interference advocates for democracy, transparency, anti-corruption, and a free press. This is good for you, and for your country.
Is that so? Well, let's see what US interference got some countries.
There is for example Augusto Pinochet, the veritable epitome of freedom and democracy. That the CIA installed him after eliminating Salvador Allende, the democratically elected president of the country, shouldn't faze you. That Allende must have been some kind of Commie for sure.
Or how about Shah Reza Pahlevi, who was installed after some idiot dared to nationalize the oil fields in Persia. Old Reza put our oil back into our hands ("our" being us westeners, of course) and in return we gave him the fourth largest army on the planet. He was a bit of a despot, though, but that's secondary.
Maybe Manuel Noriega? Yes, believe it or not, that once was our buddy. Before he tried to actually think for himself, then the US quickly removed him. But calling the op to get rid of him "Operation Just Cause" was ... you know, there's irony and then there is mockery.
No, now I got it. Ferdinand Marcos. Now here's a poster child for transparency, freedom of press, democracy and most of all anti-corruption!
And I guess I don't have to introduce him, do I? Originally hired to take our toys away from that Ayatollah after that towelhead had the audacity to kick our friend Reza in the butt, he eventually became our butt to kick himself.
Now that I think of it, that does happen to a lot of our "friends"...
We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
Easy. We have to slap people for trying to touch the wiggly throbbing bouncy controls, too.
We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
Virtually all network clients can run unprivileged and so can be installed and run in the current directory, even by a guest.
Not if the PC is configured to use Software Restriction Policies/AppLocker, or if the PC's owner threatens to withdraw the guest's permission to use the PC if the PC's owner finds that the guest has downloaded and executed unapproved software.
You are correct that the fragment identifier has two purposes: one to be read by JavaScript and the other as the "anchor" that you mention. But an anchor needs to exactly match the value of an element's the id attribute. When I retrieved the URL https://f-droid.org/packages/, the HTML document in the response did not contain an element whose id attribute has a value q=IRC.
Ads don't need web sockets, for example. Or file I/O. They most definitely shouldn't have access to parent document.
What benefit does the viewer derive from an ad having absolutely no access to the parent document? I understand your objection to write access to the parent document. But without read-only access to the parent document, the ad code cannot determine the page's topic and therefore cannot select an ad that is relevant to the page's topic. Without access to the page's topic, the ad has no way to determine the viewer's interests and must instead use an interest dossier derived by tracking the user across multiple websites to log his browsing history. And the "retargeting" technique associated with such fine-grained interest dossiers is a large part of what led to ad blocking in the first place.
Virtually all network clients can run unprivileged and so can be installed and run in the current directory, even by a guest.
True of Windows, macOS, and GNU/Linux most of the time, but not of iOS, which has no "current directory" visible to the end user. The owner of an iOS device can configure App Store to require the owner's password before installing an app.
What happened to the Referer header?
But honestly. I actually don't mind this model too much. Although I do believe that such apps and sites should try to be smart about it and attempt to back off if a borrowed CPU is being overloaded. While JavaScript doesn't have any easy ways to check CPU usage at the very least they could include a checkbox allowing for it to be disabled if users notice their computer slowing.
SETI galaxy gazing Search for Extraterrestrial Intelligence
BITCOIN MINING navel-gazing search for Earthbound stupidity
I remember when cryptography was fun and had a noble purpose
Now even strong cryptography can be snake oil when it is being sold Enron-style by increasingly 'wealthy' middlemen as a replacement for money. Who knew?
<blink>down the rabbit hole</blink>
If an ad can determine the content of a page it can know what a user's preferences are by combining multiple serves across pages.
Only if it sets a persistent cookie. An ad serving script that can see the text of the parent document but lacks privilege to associate it with a persistent cross-site user identifier can serve somewhat relevant results without tracking.
[RAM] actually is an example of resource exhaustion.
Battery energy is another example of a resource on a computer that can be exhausted (at least until the next recharge), correct?
Battery energy is another example of a resource on a computer that can be exhausted (at least until the next recharge), correct?
Sure, any resource that can be used up and there's no more left (until further notice) can be exhausted. You could say that you've exhausted the free CPU cycles, though that would be the silliest and most cumbersome way to express that thought.
"You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
Reliance on the HTTP Referer: header to communicate the context to the ad server doubles HTML traffic. Every time the user views an HTML document, the server would see two hits to the HTML document: one from the viewer and one from the ad server to read the document on which the ad is placed.
So tell the rest of the world again about Citizens United [wikipedia.org] and how america hasn't institutionalised corruption?
The Citizens United decision says one thing: that groups of people don't give up their free speech rights because they're an organization and not just a single person.
Then the page is wrong. Linking to an anchor that doesn't exist should put you at the top of the resulting page. Using JavaScript to "fix" something that isn't broken is stupid. JavaScript is NOT required in order to make that link work properly.
Also, the element id attribute doesn't have to be set at all for an anchor to work. You set the name attribute on an anchor tag to work as the target for a link. This is all HTML 101.
The above html will allow you to link directly to the #serious element. No js needed.
"Freedom in the USA is not the ability to do what you want. It is the ability to stop others from doing what THEY want"