How to scan for malware with HostGator’s tools
Malware often works quietly. A compromised WordPress installation may still load, while altered PHP sends spam, redirects visitors or quietly steals form details. HostGator’s security tools can reveal suspicious files and changes, but a useful cleanup combines an automatic scan with careful checks of files, logs, accounts and DNS records. Begin with preservation and verification, because deleting files can erase the evidence needed to find the entry point.
Most HostGator customers begin in cPanel, where they can reach File Manager, security tools, email, domains, billing and invoices. The same account provides video tutorials, a knowledge base, support tickets and community forums. Those resources are useful when a scan flags an unfamiliar file or support needs exact URLs, timestamps and scan output. Keep those details together so technical checks and customer communication use the same evidence.
Australian sites add a few practical considerations. A business may use a .com.au or .au domain, while forms collecting names, addresses or payment-related details can fall under the Australian Privacy Principles in the Privacy Act 1988. Account invoices may show Australian dollars and GST, depending on the customer’s location and tax status. Check the displayed billing details rather than assuming.
Treat the first scan as evidence-gathering, not blind cleanup. Record visible symptoms, protect a copy of the site, isolate obvious compromise and compare the reported findings with what the server actually contains. The aim is to remove the malicious code and the route that allowed it back in, not merely make a warning disappear.
Establish a clean baseline
Before scanning, create a simple inventory of the website. In cPanel, open File Manager and note the public directory, current WordPress, theme or application version, recent file changes and any unfamiliar administrator account. Check the domain and webmail records for messages implying that passwords or contact details were changed. If visitors report redirects, record the exact page, device and time they saw them.
Use cPanel’s backup or download features to create a copy before making edits. Download it to a separate folder or encrypted drive, then confirm that the archive opens and contains the expected files. Keep one copy offline; a backup stored inside the compromised web root may also contain malicious code. Test the copy in an isolated environment before treating it as clean, and never upload it over the live site without inspection.
If the site is actively sending spam or harvesting information, reduce exposure before deeper cleanup. A temporary maintenance page, application lock or server-side restriction is preferable to leaving the public form active. Changing the site URL can invalidate settings, so test the method first and record what was changed. Preserve suspicious files, logs and scan reports for HostGator support; they help distinguish a compromised plugin from weak credentials or an outdated application.
Run HostGator’s security scans
In cPanel, look under Security for SiteLock, a malware scanner or another hosted security tool available on the plan. Labels vary between HostGator packages and control-panel layouts, but the useful action is the same: run a full-site scan rather than checking only the URL that triggered an alert. Allow the scan to finish, note its time and scope, and review every quarantined or suspicious item. A clean result means only that the scanner did not detect known signatures at that moment.
An automatic scan can miss fileless database changes, newly invented malicious code or a compromised legitimate plugin. For WordPress, update the core, themes and plugins first from trusted sources, then run a second opinion such as Wordfence’s free scanner if it suits the site’s resources. For other applications, compare the scan list with the framework’s original files and known modules. Keep a record of plugin versions and file hashes; those details make it easier to explain what changed.
Use the available web application firewall rules to block suspicious requests while remediation continues, and check whether automated login attempts are creating new administrator sessions. Rotate compromised passwords and enable multi-factor authentication after removing the malicious code because an active session may survive a simple password reset. Then scan again and test forms, checkout pages, redirects and outgoing mail in a private browser window. A second clean result is more useful when it is accompanied by normal server logs and checksums that match the clean release.
Review logs, redirects and search warnings
A scan identifies candidates; logs show how they behaved. In cPanel, review access logs, error logs and raw FTP activity for unexpected POST requests, repeated administrator logins, PHP errors or newly created directories. Compare those timestamps with file modification times. Many panels present logs in UTC, while Sydney switches between AEST and AEDT and Perth remains on AWST. Convert times before searching for a matching event, and state the original zone beside each converted time.
Open the website in a normal browser and a private window, then compare desktop and mobile results. Test contact forms with dummy data, check internal links and watch for redirects to unrelated sites. Google Search Console and Bing Webmaster Tools can reveal malicious warnings and indexed spam pages; request a fresh crawl only after cleanup. Australian teams often say a broken site has “gone pear-shaped”, so treat that informal report as a trigger for cross-device testing rather than a diagnosis.
Records can also show visitors redirected to unrelated gambling pages. A reference to online roulette Australia can help you recognise the destination wording in logs, but do not open unknown redirects from an administrator session. Use a separate browser profile and check the destination through a trusted security service. If the form collected personal information, assess whether the Australian Privacy Act requires containment, notification or both, and document the decision.
Use FTP for a deeper file check
Use FTP or SFTP when cPanel’s file manager cannot give you a reliable comparison. This walkthrough for connecting with FileZilla covers the basic transfer workflow. Create a dedicated FTP user with only the permissions needed for the task, and prefer SFTP or explicit FTPS because plain FTP sends credentials without encryption. Download a copy of the public directory to a separate local folder before opening suspect PHP, .htaccess or archive files.
Compare the local tree with the live tree, including hidden files, timestamps, sizes and permissions. Look for unknown PHP files, rewritten .htaccess rules, scheduled cron jobs and code in directories that should contain only images or documents. Run a reputable local antivirus check and compare checksums against the application’s known-good release where available. Keep archive contents unopened if their behaviour is uncertain, and never execute a downloaded sample on the production server.
If the scan and file comparison do not agree, package the evidence for a HostGator support ticket. Include affected URLs, scan reports, exact filenames, relevant log lines and timestamps with their time zone. Do not post passwords, database credentials or private keys in a forum. Use the HostGator knowledge base, tutorials and ticket system to check whether the issue matches a documented vulnerability or known file change, and include billing or invoice references only when they are genuinely relevant.
Remove the cause and verify recovery
Cleanup must remove both the payload and the weakness that invited it. Replace altered core files with clean copies, update the CMS, plugins and themes, inspect database tables and options for injected scripts, remove unknown administrator users, cron jobs and database accounts, and restore trusted .htaccess rules. Rotate WordPress, hosting, database and email credentials if exposure is possible, revoke active sessions and enable multi-factor authentication. Check DNS records and domain contacts for unauthorised changes. For .com.au and .au domains, verify eligibility and ownership records before making further transfers through HostGator.
After repairs, run the HostGator scanner again, repeat the local comparison and test every critical journey: login, form submission, email sending, checkout and mobile navigation. Confirm that search engines no longer display a malware warning, and monitor logs for several days. Watch cPanel security alerts, webmail activity and DNS for unexpected changes. The ASD’s Australian Cyber Security Centre guidance on patching, backups and multi-factor authentication provides a useful Australian benchmark for these controls.
Make the clean state repeatable. Schedule weekly scans, update the CMS and extensions as soon as releases appear, and keep an off-server backup that is tested periodically. Run a restore exercise twice a year, review user accounts every quarter and renew the domain before its renewal date. Record scan results in a simple log with dates, versions and remediation actions. The practical takeaway is that successful malware cleanup depends on repeatable scanning, rapid patching, protected backups and verification after every change, rather than on a one-off green result.