Crypto-jackers slip Coinhive mining code into YouTube site ads

Trend Micro suggests disabling JavaScript in browsers


The hijacking of CPU cycles through crypto-mining JavaScript code has surged over the past few days, according to security biz Trend Micro.

The reason appears to be a distribution campaign that piggybacks on Google's DoubleClick ads that appear on YouTube among other sites.

"We detected an almost 285 per cent increase in the number of Coinhive miners on January 24," said Trend Micro researchers Chaoying Liu and Joseph C. Chen on Friday in a blog post, noting that traffic to five malicious domains picked up on January 18. "After closely examining the network traffic, we discovered that the traffic came from DoubleClick advertisements."

Coinhive is JavaScript code designed to mine Monero, a cryptocurrency favored by online criminals and others because of its privacy features. Its creators position the code as a way for websites to make money without relying on ads.

Stealth web crypto-cash miner Coinhive back to the drawing board as blockers move in

READ MORE

It's when the code gets used without consent that there's a problem. And that's been happening more frequently because it's almost a victimless crime. People may complain when their data gets stolen, but few even notice when their computer is asked to do covert calculations.

Liu and Chen say that the scheme relies on two separate web mining scripts, hosted on AWS, called from a web page that presents the DoubleClick ad. When the web page is loaded, a legitimate ad gets presented while a randomly generated number decides which of the two mining scripts gets called.

Ninety per cent of the time, coinhive.min.js runs; the other 10 per cent of the time, it's a script named mqoj_1.js – configured to contribute to a separate mining pool as a means of avoiding the 30 per cent CoinHive commission.

At least that's the breakdown seen by Trend Micro. Variant code posted to Pastebin shows the mqoj_1.js file being run only 3 per cent of the time.

Either way, the scripts are set to consume 80 per cent of the CPU resources on the computer in question.

Google says it took action against the ads once it became aware of them.

"Mining cryptocurrency through ads is a relatively new form of abuse that violates our policies and one that we’ve been monitoring actively," a spokesperson told The Register in an email. "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."

The problem Google faces is that those abusing its systems rely on cloaking techniques to conceal the nature of the code and fake accounts that can be abandoned without consequence. As with email spammers, it's a game of Whac-A-Mole.

Google confronted a similar issue in November when it emerged that miscreants were misusing Google Tag Manager to distribute coin crunching code. The Chrome extension SafeBrowse was also spotted quietly taxing processors to collect Monero. ®

Similar topics

Narrower topics


Other stories you might like

  • NASA installs a new and improved algorithm to better track near-Earth asteroids

    Nearly 20 year-old software used to protect humanity gets an upgrade

    NASA has upgraded its near-Earth asteroid monitoring algorithm to model hazardous space rocks more accurately after nearly two decades, it announced on Tuesday.

    The new system, dubbed Sentry-II, is more powerful than its predecessor, Sentry. Astronomers working at the space agency's Center for Near Earth Object Studies can now automatically calculate thermal influences that nudge an asteroid’s orbit, potentially sending it hurtling towards our home planet.

    The so-called Yarkovsky effect describes the subtle and gradual change of motion when asteroids are heated by the Sun’s light. When asteroids spin, one side of its surface exposed to the star gets heated. As it continues to rotate, the hot region enters shade and cools down. Infrared energy is radiated outwards; the photons carry momentum and impart a tiny thrust on the asteroid. Over long periods of time, these small kicks can change their paths and knock them out of their original orbit.

    Continue reading
  • Facebook slapped with an eyepopping $150B lawsuit for spreading hate speech against Rohingya refugees

    Lawsuit claims social media giant's algos helped Myanmar military crackdown on the Rohingya

    Meta was sued on Tuesday for a whopping $150 billion in a class-action lawsuit for allegedly amplifying hate speech and aiding the Myanmar military in the genocide of the Rohingya people.

    The case, led by an anonymous Rohingya refugee living in the US, accuses the entity formerly known as Facebook of inciting hatred and inflicting real harm on the predominantly Muslim group for years. Not only did the social media platform ignore hate speech posts, it's alleged that the service's algorithms actively promoted anti-Rohingya propaganda as hundreds of thousands of people fled from Myanmar to escape persecution.

    Facebook has already acknowledged its role in the campaign, which saw an estimated 25,000 people perish and 700,000 forced from the country. The lawsuit also comes after ex-employee and whistleblower Frances Haugen leaked internal documents demonstrating how its algorithms prioritized engagement over safety.

    Continue reading
  • Power management IC shortage holding cars, laptops, hostage

    Couple of cents-worth of kit causing big problems for the year to come

    The shortage of power management chips is worsening and holding back companies from building cars, PCs and items with batteries or an on-off switch, Trendforce said in a study this week.

    Power management ICs cost just a few cents, and are among cheap chips that include display driver and USB-C components that are in short supply. These chips are as important to PCs and other electronics as CPUs or memory.

    The demand for PMICs has gone through the roof with the emergence of electric cars and growing demand for PCs and consumer electronics during the past 20 plus months. Trendforce expects the prices will go up by 10 per cent to a six-year high of $0.23.

    Continue reading

Biting the hand that feeds IT © 1998–2021