How Imunify360 Malware Cleanup works

The Malware Cleanup Module

Malware Cleanup can remove malicious code from users' files or eliminate them entirely if they can not be cured. It works in a user-assisted way, meaning a user has to select the files to be cleaned up.

Malware Cleanup is developed to reduce the possibility of information loss and website malfunction after clean-up. It backs up a contaminated file prior to cleaning it up and trims a file rather than removing it. The backup of an infected file lets the user bring back the file in the state it was in before clean-up. File backups are kept in special folders outside user home directories and should not be managed manually. The names of these files will not be altered.

The Malware Cleanup module can be set to decide when to remove or trim a file through the configurations in Malware settings. Trimming is the default option.

You also have the option to clean up all the malicious files in your system. The Cleanup all button will try to remove harmful content from all files identified as infected or quarantined. Any files marked as such by Imunify's other anti-malware engines can be cleaned up or trimmed during the process as well.

Older entries are automatically eliminated as soon as the backup file of the cleaned file is removed (the default is every 14 days).

What it looks for

The Malware Cleanup engine will discover and perform a cleanup for all content that could be considered malicious, such as web-shells, backdoors, phishing pages, virus injections, doorways, droppers, miners, uploaders, etc

There might be times when the cleanup engine will pass by certain files. If that happens, it could be due to:

  • An infected file or its folder classified as write-protected, meaning Malware Cleanup could not write or delete it. Make sure to contact us for more information.
  • The Infected file was missing or not readable at the time of the clean-up attempt. Check to see if the file is in place and its permissions are correct.


If you still have questions about the Malware Cleanup feature, contact us by opening a support ticket or by using our instant live chat feature.

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

How to enable proactive defense and protect websites from zero day attacks

The Proactive Defense feature is available starting from Imunify360 3.4.0 Beta. To upgrade to...

How to Protect Servers from Malware Attacks

Software vulnerabilities are constantly being exploited and monetized, and organized crime now...

Official Imunify360 Documentation

Imunify360 is the security solution for Linux web servers based on machine learning technology...