SEO SPAM network – Details of the wp-includes infection

We have been digging lately in a large SEO SPAM network which is using thousands of compromised sites to increase their page rankings and spread malware. They are similar to the one we reported earlier affecting, but this time they seem focused only on WordPress web sites.

Sites compromised.

The list is big. Some of the ones that catched my eyes were: (Popular open source product) (American Society of Military comptrollers) (university) (university) (National Endowment for Democracy)

And the list goes on and on and on…

Attack method

All the sites infected are using the latest WordPress version and had a PHP script injected inside their wp-includes directory. The script name is random and it does two things:

  1. For a search engine, it shows a bunch of keywords (cialis, viagra, movie downloads, etc)
  2. For a normal user coming from Google, they are redirected to a web site with malware or to another site for more spam.

Example (do not click unless you know what you are doing):

Finding more sites

Finding more sites is easy. Just search on Google for “inurl:wp-includes” and choose your preferred spam word. Examples:

Search for .org sites and viagra
Searching for airsoft eye gear
Searching for free movie download

Example 1 (Searching for Viagra on

Example 2 (Viagra on

The code being used is probably very similar to this one MW:SPAM:S2, used on a previous spam attack:

If you suspect your site might be infected, search for these keywords and your site name.

If your site is hacked (or with malware) and you need help, send us an email at or visit our site: We can get your sites clean up right away.

Also, consider checking out our site security monitoring. We will monitor your sites 24×7 and alert you if it ever gets infected with malware, hacked or blacklisted.


Comments are closed.

You May Also Like