Science Now even YouTube serves ads with CPU-draining cryptocurrency miners

https://arstechnica.com/information...-ads-with-cpu-draining-cryptocurrency-miners/

YouTube was recently caught displaying ads that covertly leach off visitors' CPUs and electricity to generate digital currency on behalf of anonymous attackers, it was widely reported.

Word of the abusive ads started no later than Tuesday, as people took to social media sites to complain their antivirus programs were detecting cryptocurrency mining code when they visited YouTube. The warnings came even when people changed the browser they were using, and the warnings seemed to be limited to times when users were on YouTube.

On Friday, researchers with antivirus provider Trend Micro said the ads helped drive a more than three-fold spike in Web miner detections. They said the attackers behind the ads were abusing Google's DoubleClick ad platform to display them to YouTube visitors in select countries, including Japan, France, Taiwan, Italy, and Spain.

The ads contain JavaScript that mines the digital coin known as Monero. In nine out of 10 cases, the ads will use publicly available JavaScript provided by Coinhive, a cryptocurrency-mining service that's controversial because it allows subscribers to profit by surreptitiously using other people's computers. The remaining 10 percent of the time, the YouTube ads use private mining JavaScript that saves the attackers the 30 percent cut Coinhive takes. Both scripts are programmed to consume 80 percent of a visitor's CPU, leaving just barely enough resources for it to function.

"YouTube was likely targeted because users are typically on the site for an extended period of time," independent security researcher Troy Mursch told Ars. "This is a prime target for cryptojacking malware, because the longer the users are mining for cryptocurrency the more money is made." Mursch said a campaign from September that used the Showtime website to deliver cryptocurrency-mining ads is another example of attackers targeting a video site.

To add insult to injury, the malicious JavaScript in at least some cases was accompanied by graphics that displayed ads for fake AV programs, which scam people out of money and often install malware when they are run.

Like the ads analyzed by Trend Micro and posted on social media, it mined Monero coins on behalf of someone with the Coinhive site key of "h7axC8ytzLJhIxxvIHMeC0Iw0SPoDwCK." It's not possible to know how many coins the user has generated so far. Trend Micro said the campaign started January 18. In an e-mail sent as this post was going live, a Google representative wrote:

"Mining cryptocurrency through ads is a relatively new form of abuse that violates our policies and one that we’ve been monitoring actively. We enforce our policies through a multi-layered detection system across our platforms which we update as new threats emerge. In this case, the ads were blocked in less than two hours and the malicious actors were quickly removed from our platforms."

It wasn't clear what the representative meant when saying the ads were blocked in less than two hours. Evidence supplied by Trend Micro and on social media showed various ads containing substantially the same JavaScript ran for as long as a week. The representative didn't respond to follow-up questions seeking a timeline of when the abusive ads started and ended.

As the problem of Web-based cryptomining has surged to almost epidemic proportions, a variety of AV programs have started warning of cryptocurrency-mining scripts hosted on websites and giving users the option of blocking the activity. While drive-by cryptocurrency mining is an abuse that drains visitors' electricity and computing resources, there's no indication that it installs ransomware or other types of malware, as long as people don't click on malicious downloads.
 
This is a very very gray area without informing users ahead of time to give an opt-in or refusal. Without user consent I'm inclined to consider the usage as malicious in intent since reckless use of code like this can easily damage end-user systems.

I had ads going for certain channels I frequent but in light of these goings on even that little bit of trust extended to content creators is gone.

Congrats, youtube. Ya fucked up again.
 
Oh great, because Youtube and chrome weren't already eating up an absurd amount of processing power.

Unused CPU cycles are one of the biggest wasted resources on the planet. It would be nice if they somehow combined blockchain and proof of work in general and actually had a cryptocurrency based on solving actually useful problems like folding (computing 3-dimensional structures of protein for use as anti-cancer drugs among other things).
 
I adblock ads. So I never see this. It's your own fault if you turn off that pesky adblock.
 
  • Feels
Reactions: Y2K Baby
Unused CPU cycles are one of the biggest wasted resources on the planet. It would be nice if they somehow combined blockchain and proof of work in general and actually had a cryptocurrency based on solving actually useful problems like folding (computing 3-dimensional structures of protein for use as anti-cancer drugs among other things).

You'd think Google would be more annoyed that someone is stealing cpu cycles from their secret coded cryptominer in their software and websites. Damn pirates! :P
 
  • Feels
Reactions: Y2K Baby
Stanford University's Folding At Home.

Yes, that was obviously what I was referring to as a distributed computing project, but it has been difficult to combine useful computation with cryptocurrency, which almost inherently requires useless computation. Insert comments about Second Law of Thermodynamics, imminent heat death of the universe, etc.
 
  • DRINK!
Reactions: Y2K Baby
If google is letting this shit through, one has to wonder how many swiss cheese holes there are in the security of their other products.

And google wonders why we use adblockers.

Unused CPU cycles are one of the biggest wasted resources on the planet. It would be nice if they somehow combined blockchain and proof of work in general and actually had a cryptocurrency based on solving actually useful problems like folding (computing 3-dimensional structures of protein for use as anti-cancer drugs among other things).
Slight nitpick: "Unused CPU cycles" haven't been a thing since 2010 at the latest. Pre-64 bit era hardware, like the pientium IVs and Socket 754 hardware, had no ability to control their clock rates, and thus ran at full tile putting out tons of heat and wasting juice. The LGA 775 Pentium Ds were the first to introduce SpeedStep back in ~2005, which allowed the CPU to under-clock to a very low speed when not in use to save on heat (because 775 Pentium Ds were hot headed little 140-watt fuckers).

Core 2 duos, from 06 to 08, continued to refine speedstep, introducing multiple different C-states with different clock rates for different amounts of CPU usage, allowing the chips to clock most appropriately to a situation without wasting power.

Any computer made since about 2010 or so regulates its clock rates heavily, down-clocking at any opportunity to save on heat and power. Streaming youtube and posting here, my i5 is only running at ~800 MHz, not its normal 4.2 GHz. Modern chips can modify their clock rates in 50 MHz increments to whatever the current load requires.

Many CPU cycles are wasted on resource hungry websites and crypto-mining, but unused cycles are a problem that was solved a decade ago.

EDIT: modern processors can also powergate any group of transistors not in use, allowing them to save even more power on a per app basis.
 
Back