Oh no, you're thinking, yet another cookie pop-up. Well, sorry, it's the law. We measure how many people read us, and ensure you see relevant ads, by storing cookies on your device. If you're cool with that, hit “Accept all Cookies”. For more info and to customize your settings, hit “Customize Settings”.

Review and manage your consent

Here's an overview of our use of cookies, similar technologies and how to manage them. You can also change your choices at any time, by hitting the “Your Consent Options” link on the site's footer.

Manage Cookie Preferences
  • These cookies are strictly necessary so that you can navigate the site as normal and use all features. Without these cookies we cannot provide you with the service that you expect.

  • These cookies are used to make advertising messages more relevant to you. They perform functions like preventing the same ad from continuously reappearing, ensuring that ads are properly displayed for advertisers, and in some cases selecting advertisements that are based on your interests.

  • These cookies collect information in aggregate form to help us understand how our websites are being used. They allow us to count visits and traffic sources so that we can measure and improve the performance of our sites. If people say no to these cookies, we do not know how many people have visited and we cannot monitor performance.

See also our Cookie policy and Privacy policy.

This article is more than 1 year old

WordPress under attack by whack-a-mole ad-scam malware

JavaScript attack spreads among sites, re-infects after cleansing

Sucuri threat researcher Denis Sinegubko says a "massive" advertising scam campaign is affecting users visiting WordPress sites, injecting backdoors and constantly re-infecting sites.

The prolific virus-destroyer (@unmaskparasites) says writers are injecting code into all JavaScript files on a targeted WordPress sites.

Sinegubko says first time visitors will cop a cookie that generates fraudulent advertising income for VXers.

"This past weekend we registered a spike in WordPress infections where hackers injected encrypted code at the end of all legitimate .js files," Sinegubko says.

"This malware uploads multiple backdoors into various locations on the web server and frequently updates the injected code.

"This is why many webmasters are experiencing constant re-infections post-cleanup of their .jsfiles."

Sinegubko says the malware will infect all accessible .js files across all domains located on the same hosting account in what is known as cross-site contamination.

"It’s not enough to clean just one site or all but one – an abandoned site will be the source of the reinfection," he says. "In other words, you either need to isolate every sites or clean/update/protect all of them at the same time."

The malware uses encrypted code which mutates between sites but decrypts into the same structure.

It sets an advertising cookie on infected machines which will inject invisible iframes into sites over a 24 hour period.

Sinegubko notes the malware uses domain shadowing which is a favourite VXer trick to add malicious subdomains on legitimate second level domains after gaining access to DNS records. ®

 

Similar topics

TIP US OFF

Send us news


Other stories you might like