Over 15,000 Websites were Hacked to Redirect Visitors to Fake Q&A Websites

Sucuri observed hackers compromising around 15,000 websites as part of a huge black hat SEO campaign in order to redirect visitors to fake Q&A discussion boards.

“Our research team has tracked a surge in WordPress malware redirecting website visitors to fake Q&A sites via ois[.]is. These malicious redirects appear to be designed to increase the authority of the attacker’s sites for search engines”, Sucuri

Fake Q&A Site Promoted By This Campaign

In this case, attackers are found to be promoting a handful of fake low-quality Q&A sites. Malicious SEO redirection is considered malware because they are made to hijack a website and abuse its resources (especially website traffic and rankings).

Attackers frequently advertise spam for pharmaceutical companies, essay writing services, imitation designer products, or in this case, fake Q&A websites.

Phony Q&A site promoted by this campaign

Given that even a brief operation on the first page of Google Search would cause several infections, it is likely that the campaign prepares these websites for use as malware droppers or phishing sites in the future.

Particularly, based on the presence of the “ads.txt” file on the landing pages, another possibility is that their owners are trying to increase traffic in order to commit ad fraud.

Reports say WordPress core files are the most frequently impacted, although this malware has also been reported to infect malicious.php files created by unrelated malware campaigns.

The Top 10 Most Commonly Infected Files

  • ./wp-signup[.]php
  • ./wp-cron[.]php
  • ./wp-links-opml[.]php
  • ./wp-settings[.]php
  • ./wp-comments-post[.]php
  • ./wp-mail[.]php
  • ./xmlrpc[.]php
  • ./wp-activate[.]php
  • ./wp-trackback[.]php
  • ./wp-blog-header[.]php

Researchers say, the attackers also drop their own PHP files on the targeted site, using random or pseudo-legitimate file names like ‘wp-logln.php.

Malicious code in one of the infected files

The malicious code found in the infected or injected files checks to see if website visitors are signed into WordPress; if not, it sends them to the URL https://ois.is/images/logo-6[.]png.

Browsers will not receive an image from this URL, however; instead, JavaScript will be loaded and users will be sent to a Google search URL that sends them to the promoted Q&A site.

Code Snippet to generate the fake Google Search event

In order to make it appear as though the websites are popular and to improve their ranking in the search results, using a Google search click URL is likely to raise performance metrics on the URLs in the Google Index. Also, redirecting through Google search click URLs makes the traffic looks more legitimate, bypassing some security software.

Researchers noticed attackers rotating the websites that they redirect to. Therefore they identified the following redirect destinations:

  • en.w4ksa[.]com
  • peace.yomeat[.]com
  • qa.bb7r[.]com
  • en.ajeel[.]store
  • qa.istisharaat[.]com
  • en.photolovegirl[.]com
  • en.poxnel[.]com
  • qa.tadalafilhot[.]com
  • questions.rawafedpor[.]com
  • qa.elbwaba[.]com
  • questions.firstgooal[.]com
  • qa.cr-halal[.]com
  • qa.aly2um[.]com

Those interested can find the complete list of 1,137 entries. 

Final Word

Sucuri was unable to determine how the domains utilized for redirections were compromised by the threat actors. It most likely occurs, though, through the use of a vulnerable plugin or brute-forcing the WordPress admin password.

Therefore, it is advised that all WordPress plugins and website CMS be updated to the most recent version and that two-factor authentication (2FA) be enabled for admin accounts.

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Threat Actors Exploit Google Docs And Weebly Services For Malware Attacks

Phishing attackers used Google Docs to deliver malicious links, bypassing security measures and redirecting victims…

7 hours ago

Python NodeStealer: Targeting Facebook Business Accounts to Harvest Login Credentials

The Python-based NodeStealer, a sophisticated info-stealer, has evolved to target new information and employ advanced…

7 hours ago

XSS Vulnerability in Bing.com Let Attackers Send Crafted Malicious Requests

A significant XSS vulnerability was recently uncovered in Microsoft’s Bing.com, potentially allowing attackers to execute…

10 hours ago

Meta Removed 2 Million Account Linked to Malicious Activities

 Meta has announced the removal of over 2 million accounts connected to malicious activities, including…

13 hours ago

Veritas Enterprise Vault Vulnerabilities Lets Attackers Execute Arbitrary Code Remotely

Critical security vulnerability has been identified in Veritas Enterprise Vault, a widely-used archiving and content…

14 hours ago

7-Zip RCE Vulnerability Let Attackers Execute Remote Code

A critical security vulnerability has been disclosed in the popular file archiving tool 7-Zip, allowing…

14 hours ago