How to Recover from Malware

The recent malware attacks, directing users to click.clickandanalytics[.]com and cdn.clickandanalytics[.]com are linked to the previous attack, documented few days ago.

MAGEFIX SecurityMalware cleanup & protection

Try our Free site check.

This time, the malware attack not only injects the index.php file but it adds a backdoor, which means the hackers will come back after a while to regain full website access.
If a security vulnerability allows file uploading, most likely database passwords, the database itself, web files, and even emails may be compromised. That’s why it’s always a good idea to:

  1. Separate the sites, to prevent cross site contamination.
  2. Use separate hosts for email and website.
    Mixing hosting with email? It’s a terrible idea.

How to clean malware

  1. Work with a developer and suggest them to manually review each site component, including plugins, themes and core files. if you don’t have one, hire us for the job – we clean and maintain infected sites on a daily basis.
  2. Stop using outdated software, review each site component and make sure you are only using legitimate up to date plugins and theme.
  3. Review the web files structure, users with administrator rights, look for SEO spam and review FTP accounts, Cron jobs, SSH access, etc.
  4. Verify the website with Google search console and ask for a reindex, most likely the Google cache still has malware.
  5. Pay attention to any future security updates available and apply them a soon as possible.

The malware primarily infects the index.php file. If the hosting account contains several WordPress sites, all may be affected by the same malware.
We confirmed several cases of cross-site contamination already, here’s just one example.

Review any suspicious users with administrator rights, plugins, or themes.
Check the WordPress core Javascript files for any suspicious code injected.

Malicious URLs: ( decoded from the Javascript file )

Linked malicious attack:

Malicious IPs:,,,,,,,,,,
Malicious domains:,,,,,,,,,,


Backdoor files: look for wp-log-O9Qtkg.php, where O9Qtkg is a random string.


Need help?

Try our Free site check.