π 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
- Imunify360 Malware Scanning Documentation
- CLI Reference:
imunify360-agent malware --help
β 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.