Malware spotted lurking on YouPorn and Pornhub

Malvertising campaign had 800 million potential victims before being removed

More malware targeting popular porn sites emerged over the weekend, with Pornhub and YouPorn being the latest affected.

Spotted by security firm Malwarebytes, hackers inserted a rogue piece of legitimate-seeming code into the ExoClick ad network used by the websites, with the resulting adware appearing as an ad banner.

Advertisement - Article continues below

The malicious code, known as cookiecheck.js, was quickly removed by the ad network and by the porn sites' publisher, MindGeek, thereby protecting their 800 million monthly visitors.

But had the code not been spotted quickly, it would have redirected victims to an Angler Exploit Kit that hackers could have used to infect their victims' computers with programs like ransomware.

Other porn sites have been served similar malware by hackers in the last fortnight, with xHamster targeted by an SSL malvertising campaign that was first seen on and

Malwarebytes called the recent prevalance of porn site attacks "strange", adding: "During the past several months, high profile malvertising attacks against top adult sites have been sparse.

"This makes what we have seen during the past couple of weeks very unusual but also impactful given the sheer volume of traffic these sites receive."

MindGeek said in a statement: "We were alerted to the presence of a malicious advertisement appearing on a select few of Pornhub's web properties. It was quickly determined that the malware originated from a third party advertising partner, and we responded immediately to disable all advertisements associated with this third party, and continue to actively investigate this incident."

Featured Resources

The case for a marketing content hub

Transform your digital marketing to deliver customer expectations

Download now

Fast, flexible and compliant e-signatures for global businesses

Be at the forefront of digital transformation with electronic signatures

Download now

Why CEOS should care about the move to SAP S/4HANA

And how they can accelerate business value

Download now

IT faces new security challenges in the wake of COVID-19

Beat the crisis by learning how to secure your network

Download now



K2View innovates in data management with new encryption patent

28 May 2020

ZLoader malware returns as a coronavirus phishing scam

27 May 2020

AnarchyGrabber hack steals Discord tokens, IDs and passwords

27 May 2020

Scammers leverage contact-tracing in hacking attempt

27 May 2020

Most Popular

Microsoft Windows

Microsoft warns users not to install Windows 10's May update

28 May 2020
cyber security

Microsoft bans Trend Micro driver from Windows 10 for "cheating" hardware tests

27 May 2020
data protection

NHS yet to understand risks of holding Test and Trace data for 20 years

29 May 2020