IT Pro is supported by its audience. When you purchase through links on our site, we may earn an affiliate commission. Learn more

Malware spotted lurking on YouPorn and Pornhub

Malvertising campaign had 800 million potential victims before being removed

X-rated phishing attacks just keep growing

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.

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 Yahoo.com and MSN.com.

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

Four strategies for building a hybrid workplace that works

All indications are that the future of work is hybrid, if it's not here already

Free webinar

The digital marketer’s guide to contextual insights and trends

How to use contextual intelligence to uncover new insights and inform strategies

Free Download

Ransomware and Microsoft 365 for business

What you need to know about reducing ransomware risk

Free Download

Building a modern strategy for analytics and machine learning success

Turning into business value

Free Download

Recommended

Hackers could use new Wslink malware in highly targeted cyber attacks
malware

Hackers could use new Wslink malware in highly targeted cyber attacks

1 Nov 2021
FBI raids Chinese POS business following cyber attack claims
malware

FBI raids Chinese POS business following cyber attack claims

27 Oct 2021
Malware developers create malformed code signatures to avoid detection
malware

Malware developers create malformed code signatures to avoid detection

24 Sep 2021
New malware uses search engine ads to target pirate gamers
malware

New malware uses search engine ads to target pirate gamers

21 Jul 2021

Most Popular

Russian hackers declare war on 10 countries after failed Eurovision DDoS attack
hacking

Russian hackers declare war on 10 countries after failed Eurovision DDoS attack

16 May 2022
Windows Server admins say latest Patch Tuesday broke authentication policies
Server & storage

Windows Server admins say latest Patch Tuesday broke authentication policies

12 May 2022
Microsoft to double salary budget to retain workers
Careers & training

Microsoft to double salary budget to retain workers

17 May 2022