Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Get rid of SMW Malware on shared hosting

Hello,

I have a website on shared hosting using Plesk and immunity 360.

Here are example files that are created: https://prnt.sc/6-nHapA74peN

The first problem is the index.php file that keeps restoring infected files whenever I delete a file or replace it with a clean index.php

I have cleaned the website with Wordfence, GOTMLS.NET, and imunoty360
I have reinstalled WordPress with default files (Plesk has Check WordPress Integrity option).
All FTP passwords and user passwords have been changed.
The database user password is changed.

But the site keeps getting infected.

Comments

  • Make sure all your themes and plugins are updated.

    Which theme are you using? Is it nulled?

  • I have update everything, there is no null themes https://prnt.sc/b2hO6LAXc2fK

    There was one nulled plugin, but it was deleted.

  • [@Outdoor said]

    There was one nulled plugin, but it was deleted.

    Thats likely the culprit.
    Check your wp-content/uploads/ for hidden php files, crontab, and your running proccesses, some malware create php proccess running in background which reinfects your site.

  • FairShareFairShare Member
    edited January 2025

    which hosting provider you are using ?

  • check cronjobs, and kill your running processes too.

  • Kevinf100Kevinf100 Member
    edited January 2025

    Had to Google one so no idea if it's good but have you tried installed something that'll tell you what even created the file so you can pin exactly what is at least making the files?
    https://rflament.github.io/loggedfs/
    I'm sure someone here knows more about watching the filesystem/handles than me.

    If there no way to do this without root (or another tool that can), are you sure the host isn't affected?
    Could also ask if they can nuked your whole user space if host is fine.

  • ExonHostExonHost Member, Host Rep

    Check permission, running process and kill the process. Also check cronjobs.

  • Try block direct access to WordPress admin. If you are using Cloudflare create a WAF rule. This will not remove it but will stop the access to the admin dashboard. You will need to check for .htaccess files and files inside the wp-content/uploads

  • @Outdoor said: There was one nulled plugin, but it was deleted.

    >
    May I ask, what plugin was that and where did you download from?

  • It is clean now.
    It was helpful when we suspended a Plesk account and then cleaned it.
    After that malware did not appear again.

    Then we have to restore a backup of files (we keep the database).
    The database password was changed.
    All FTP password and user passwords in the database were changed.
    We have created a protected directory at wp-admin.
    WP was reinstalled just in case.
    Nulled plugin wp maps from babiato was deleted.

Sign In or Register to comment.