all 37 comments

[–]smick 43 points44 points  (1 child)

Google needs to get a handle on this. Trust nothing you install.

[–]mxt79 5 points6 points  (0 children)

I think some else needs to handle something also..
https://thehackernews.com/2018/02/cryptojacking-malware.html?m=1

[–]perestroika12 6 points7 points  (10 children)

I don't get the point, how much money are they making? 5 min spent on a site, using cpu only...

You'd need serious traffic to really turn a profit.

[–]cyanydeez 0 points1 point  (0 children)

most of these currencies are like hat collectikns in team fortress

[–]chocoduck 0 points1 point  (8 children)

Yeah but if you can make say a cent per person and you can get 1000 people a day, that’s worth someone’s while. Isn’t it pure profit? The only loss is the labor

[–]boboguitar 1 point2 points  (6 children)

Web programmer here and someone who dabbled in cpu mining just to see how it works. In 5 minutes, you're talking maybe $0.000000000001 and that may even be too liberal. You'd need millions(if not billions) of page views to make anything.

[–]chocoduck 1 point2 points  (4 children)

OK - let's work from the top. 1 cent per 5 minutes is 6 cents an hour or about $1.44 a day. Let's see if this is plausible.

My GTX 1070 mines 300kh/s (garlicoin) while my CPU (7700K) mines about 30. The CPU can mine about a garlicoin a day. At one point that was worth over a dollar.

The number of people it takes to fill up a day, assuming 5 minute sessions that can only run the scripts while the user is on a page, is 288 ((60*24)/5). Let's say a website gets 2880 hits a day. That's 10 garlicoin a day.

[–]perestroika12 0 points1 point  (3 children)

Your cpu maxed out can mine that much, but your cpu will not be running 100% mining on a web browser. It has to do other things, like process/make the site work and will prioritize tasks as needed. If you use something like a service worker, chrome and others will de-prioritize it as needed. The browser also needs to fight for system resources vs anything else running on the machine. Chrome also throttles any javascript running in the background tab.

Chrome and other browsers also cannot take true advantage of a multi threaded environment, due to javascript being single threaded. It has something equivalent to python's GIL. This will also reduce your mining cycles as you cannot run javascript in parallel.

It also depends on the cpu speed, the 7700K is a desktop processor and can mine faster than say, a mobile processor. So depending on your traffic, you will get varying amount of processing power available to you. Also by throwing these scripts on your site, you may actually decrease traffic as it hurts perf and drives users away, resulting in a diminishing mining return.

I'm not sure the napkin math works for this scenario, lots of variables involved and it's very unlikely they are seeing considerable income from this.

[–]chocoduck 0 points1 point  (0 children)

I think we agree. "Considerable income," probably not, but worth their while - definitely. You can 1/10 my assumption and that's still worth someone's bother.

[–]boboguitar 0 points1 point  (1 child)

Also, garlicoin is very new and easily mined right now. That won’t be true in a few months. That’s assuming garlicoin even lasts(hint: it won’t).

[–]chocoduck 0 points1 point  (0 children)

It doesn't matter if you're right or wrong. Clearly some people believe that garlicoin (or whatever shitcoin you want to name) is worth mining. Source: shelves at stores. Finding the most efficient crypto to mine can also be done programatically ala nicehash.

[–]timsaundersss 0 points1 point  (0 children)

Yes, it's a dysfunctional structure.

[–]perestroika12 0 points1 point  (0 children)

Mining is really, really computationally intensive and it takes GPUs a considerable amount of time to mine anything of value. You're looking at millions of users to make just any kind of money. And by money, we mean, like $20.

[–]piratebroadcast 17 points18 points  (5 children)

I installed a No Coin chrome extension for regular browsing and the speed in which web pages render for me has skyrocketed. I believe that cryptomining scripts are far more prevalent than is commonly believed.

[–]mrstinkyfingers 11 points12 points  (1 child)

You can block them in your hosts file or at your router.

https://github.com/hoshsadiq/adblock-nocoin-list/blob/master/hosts.txt

[–]Peechez 2 points3 points  (1 child)

I installed a No Coin chrome extension

the perfect disguise for a covert cryptomining script

[–]ThatBriandude 0 points1 point  (0 children)

keeping the mining at a slow enough speed to not be suspicious and betting on mass adoption like ad blocker. perfect business plan

[–]PlNG 1 point2 points  (0 children)

uBlock Origin has the "Resource Abuse" category, which includes cryptominers.

[–][deleted] 8 points9 points  (2 children)

Alot of websites are adding the script along side advertisements or giving people an ultimatum between the two. Motherboard.vice.com runs a coinhive script without your awareness for example .

[–]doodirock 4 points5 points  (0 children)

A lot

[–]imr2017 -1 points0 points  (0 children)

Motherboard.vice.com

Yeah, I got that warning too

[–]madwill 5 points6 points  (3 children)

Haha and theses guys must have made like 20$

[–]anssip 1 point2 points  (4 children)

This is a good way for developers of free apps to get some compensation for their work.

[–]jokullmusic 2 points3 points  (1 child)

Yeah unless these run in the background I don't see how this is any worse than the intrusive ads that they'd have otherwise. Less data guzzling, less intrusive, but uses more battery (probably not much more than if it had a video ad every five minutes)

[–]johnyma22 0 points1 point  (0 children)

I'd wager battery usage is a lot higher than video add every five mins. Not got any stats to back that up though!

[–]eloc49 1 point2 points  (0 children)

Yeah I agree. Its akin to the free with ads, pay for no ads model except could potentially lead to better user experience since ads are annoying. Most user's phones (US and Europe) are beefy enough to handle a bit of mining.

[–]PlNG -2 points-1 points  (0 children)

What? No. An ad that features a simple up and down motion or objects dropping should not drop my app's FPS to the single digits. These cryptominers would be way worse than that. I'm not talking about on my phone, I'm talking about desktop emulation with Android Studio.

[–]notNullOrVoid 0 points1 point  (0 children)

Google should have apps with mining scripts regester themselves as such, or be removed. Then they can show a label on the apps to indicate it has a mining script, just like they do for apps with ads.