πŸ›‘οΈ Guide to Managing Malware Scans with Imunify360

πŸ“˜ Introduction

Imunify360 is a powerful, AI-driven security suite designed to protect Linux-based web servers. One of its core components is malware scanning, which detects and optionally cleans malicious code from hosted user accounts. This guide provides the key command-line operations for managing malware scans directly on the server.


🚫 Stopping Scans for All Accounts

If you need to stop all active malware scans across all users (e.g., during high server load or maintenance), run:

imunify360-agent malware on-demand stop --all

βœ… This halts all ongoing on-demand scans across the server.


πŸ” Running a Malware Scan for a Specific User

To initiate a targeted malware scan for a single cPanel user, run the following command. Replace USERNAME with the cPanel username:

imunify360-agent malware on-demand start --user USERNAME

βœ… Scans only the home directory and relevant files of the specified user.


πŸ“„ Checking Scan Results for a Specific User

Once the scan is completed, view the malicious file detections for that user with:

imunify360-agent malware malicious list --user USERNAME

βœ… Outputs a list of all detected threats under that user’s account, including paths and threat types.


🧰 Additional Useful Commands

View Overall Malware Scan Statistics:

imunify360-agent malware status

Clean All Malicious Files Automatically for a User:

imunify360-agent malware cleanup all --user USERNAME

⚠️ Use with caution β€” this may delete or quarantine legitimate but flagged files. Always verify before cleanup.

List All Currently Running Scans:

imunify360-agent malware on-demand list

πŸ“š Additional Resources


βœ… Summary

By using Imunify360’s CLI tools, administrators can:

  • Start and stop scans efficiently.
  • Target specific users.
  • Review and clean detected threats.
  • Maintain server performance and security in real-time.

For automation, consider integrating these commands into your cronjobs or monitoring scripts.

Scroll to Top