YouTube ads are the latest ground zero for nefarious crypto mining

Cryptojackers figured out how to turn Google's DoubleClick ad service into a platform for secret cryptocurrency mining.
 By 
Adam Rosenberg
 on 
YouTube ads are the latest ground zero for nefarious crypto mining
Close up of a computer keyboard with a Bitcoin symbol on. Credit: Peter Dazely / Getty Images

YouTube is turning passive viewers into cryptocurrency miners, and Google isn't happy.

The issue became apparent earlier in the week as complaints surfaced on social media claiming that YouTube ads were raising red flags in anti-virus software. A service called Coinhive was hijacking a viewer's CPU and using its power to mine crypto.

A Friday blog post from Trend Micro, an international cybersecurity company, confirmed the sharp uptick in Coinhive use earlier in the week, pinning it to a "malvertising campaign" that subverted a Google ad service used on YouTube.

"Attackers abused Google’s DoubleClick, which develops and provides internet ad serving services, for traffic distribution," the post notes. Trend Micro's data pointed to Japan, France, Taiwan, Italy, and Spain as the countries affected by the campaign.

In a statement given to Ars Technica on Friday, Google confirmed the cryptojacking threat, noting that "[i]n this case, the ads were blocked in less than two hours and the malicious actors were quickly removed from our platforms."

Google's "blocked in less than two hours" timeline doesn't add up, however. Trend Micro's data suggests that "an increase in traffic to five malicious domains" from DoubleClick advertisements started on or sometime before Jan. 18. By Jan. 24, the company had detected "an almost 285% increase in the number of Coinhive miners."

Google didn't respond to any follow-up questions regarding the timeline.

Coinhive wasn't always used for nefarious purposes. The script was created originally to let website owners harness the processing power of a visitor's computer to mine Monero. So long as the site owner let people know about Coinhive up front and didn't let the script monopolize processing power, it was a relatively ethical way for website operators to turn traffic into income.

Then, in late December, users of a certain Chrome extension discovered that it was also secretly running CoinHive. This incident quickly turned into one of the higher profile examples of a relatively new phenomenon in the malware world: "cryptojacking," the practice of hijacking a PC user's CPU to mine cryptocurrency.

The spread of cryptojacking to YouTube is an alarming development. While it's good that Google eventually shut the activity down, this is a new wrinkle in the cryptocurrency craze that internet gatekeepers will have to better protect against in the future.

Mashable Image
Adam Rosenberg

Adam Rosenberg is a Senior Games Reporter for Mashable, where he plays all the games. Every single one. From AAA blockbusters to indie darlings to mobile favorites and browser-based oddities, he consumes as much as he can, whenever he can.Adam brings more than a decade of experience working in the space to the Mashable Games team. He previously headed up all games coverage at Digital Trends, and prior to that was a long-time, full-time freelancer, writing for a diverse lineup of outlets that includes Rolling Stone, MTV, G4, Joystiq, IGN, Official Xbox Magazine, EGM, 1UP, UGO and others.Born and raised in the beautiful suburbs of New York, Adam has spent his life in and around the city. He's a New York University graduate with a double major in Journalism and Cinema Studios. He's also a certified audio engineer. Currently, Adam resides in Crown Heights with his dog and his partner's two cats. He's a lover of fine food, adorable animals, video games, all things geeky and shiny gadgets.

Mashable Potato

Recommended For You
Elon Musk's X bans 'InfoFi' crypto projects for posting AI slop and reply spam
X logo on mobile device

Crypto prices on Friday: Bitcoin, Ethereum and more tick upward
Bitcoin logo on price chart

Google resolves glitch serving ads to YouTube Music Premium users
A pair of earbuds dangling in front of a large YouTube Music logo.

Bitcoin price plummets further. Is crypto crashing?
Bitcoin logo with falling stock prices

Why Minnesota lawmakers are trying to ban crypto ATMs
By Jack Dawes
Cryptocurrency ATM - stock photo

More in Tech
How to watch Chelsea vs. Port Vale online for free
Alejandro Garnacho of Chelsea reacts

How to watch 'Wuthering Heights' at home: Margot Robbie and Jacob Elordi's controversial romance now streaming
Margot Robbie and Jacob Elordi embracing in still from "Wuthering Heights"

How to watch New York Islanders vs. Philadelphia Flyers online for free
Matthew Schaefer of the New York Islanders warms up

How to watch Mexico vs. Belgium online for free
Israel Reyes of Mexico reacts

How to watch Brazil vs. Croatia online for free
Vinicius Junior #10 of Brazil leaves

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

What's new to streaming this week? (April 3, 2026)
A composite of images from film and TV streaming this week.

Google launches Gemma 4, a new open-source model: How to try it
Google Gemma

The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!