This site contains affiliate links — we earn a commission if you sign up through them, at no extra cost to you.

CPGuard Malware Scanner: Complete Guide to Hosting Malware Detection

How to use CPGuard Malware Scanner to scan, detect, quarantine, and remove malware from your hosting server.

CPGuard Malware Scanner: Complete Guide to Hosting Malware Detection

What is CPGuard Malware Scanner?

CPGuard Malware Scanner is the cornerstone module of the CPGuard security suite, engineered to detect malicious code, backdoors, PHP shells, cryptominers, web shells, and other dangerous files on hosting servers. It performs both scheduled server-wide scans and real-time scanning of newly uploaded files, catching threats as early as possible.

How the Malware Scanner Works

The scanner reads every file on the server and compares its contents against a signature database containing millions of known malware patterns. Beyond signatures, CPGuard also applies heuristic analysis — examining code structure and behaviour — to catch new or obfuscated malware that has not yet been added to any signature database.

Types of Malware CPGuard Detects

Hosting malware comes in many forms. CPGuard covers all major categories that affect web hosting servers:

Quarantine Process When Malware is Found

When CPGuard detects a malware file, it can automatically quarantine it — moving the file to an isolated location where it cannot execute or be accessed from the web. The admin receives an immediate email alert with full details of the detected file and its location. The file can then be permanently deleted or restored if it turns out to be a false positive.

Best practice: Do not delete quarantined files immediately. Always review them first — aggressive WAF rules occasionally produce false positives on legitimate files.

Configuring Automatic Scan Schedules

CPGuard supports fully configurable scan schedules — daily, weekly, or hourly. Running daily scans during low-traffic periods (2–4 AM) is the recommended approach: it avoids affecting website performance during peak hours while still detecting malware within 24 hours of infection.

Steps to Take After Malware is Detected

When malware is found, follow a systematic process rather than only deleting the identified files. Malware commonly creates multiple backdoors simultaneously, so cleaning just what the scanner found first often leaves the server vulnerable to immediate re-infection.

Hosting with Server-Level Malware Scanning

Not all hosting providers include server-level malware scanning. Always ask before signing up. AsiaGB.com provides hosting and VPS with server-level security protections, SSD storage, DirectAdmin control panel, 24-hour Thai-language support, and 99% uptime — giving your sites a protected environment from day one.

Proactive Measures to Prevent Hosting Malware

Prevention is always easier than recovery. These proactive steps should be in place regardless of whether CPGuard is active on your hosting server:

RecommendedAsiaGB.com — the hosting & VPS we use and recommend: servers in Thailand and Singapore, SSD storage, managed through DirectAdmin, with 24-hour Thai support and 99% uptime.

Editor's pick from our hands-on testing.

Visit AsiaGB →

Frequently Asked Questions

Does CPGuard Malware Scanner scan all file types?
CPGuard scans all file types on the server, including PHP, HTML, JavaScript, and shell scripts. It prioritises high-risk file types like PHP but can be configured to scan all types comprehensively.
Will my website go down when malware is found?
Not necessarily. CPGuard can quarantine infected files without taking the website offline. The site continues running — the infected file simply cannot execute. The administrator receives an alert to review and remediate while the site stays up.
How accurate is CPGuard at distinguishing malware from legitimate files?
Accuracy is high but not 100%. False positives can occur, especially with obfuscated code or scripts that use patterns resembling malware. Always review quarantined files before permanently deleting them.
Does CPGuard require manual setup or does the hosting provider configure it?
The hosting provider's server administrator installs and configures CPGuard at the server level. End users simply use the dashboard available within DirectAdmin. If your provider has CPGuard, it is typically already active on your account.