🚨
Security

How to Tell Your Hosting Account Has Been Hijacked: Signs and Steps

20.11.2026
← All articles

Hosting account compromises are rarely loud. Attackers usually do not delete the site; they try to stay hidden, sending spam, attacking other sites, injecting hidden SEO links or mining cryptocurrency. Owners often find out weeks later, when customers complain or Google shows a warning.

Login-related signs

The clearest signal is a login or change you did not make: a password that suddenly stops working, or emails about a changed password, a new device or an updated email address. Logins to the panel or site admin from unfamiliar IP addresses or countries are another red flag. Also look for new accounts: an extra FTP user, database user, SSH key or CMS administrator, often named admin2 or support.

Signs in files and site behaviour

The most common symptom is a selective redirect: the site looks normal to you, but mobile visitors from Google land on a casino or fake shop page, usually via extra rules in .htaccess or code at the top of index.php. Foreign-language titles and thousands of unknown pages in search results point to the same problem. Look for files you never uploaded; web shells hide under random names or in wp-includes and uploads. With SSH access:

# PHP files changed in the last 3 days
find ~/www -type f -name "*.php" -mtime -3 -printf '%TY-%Tm-%Td %TH:%TM  %p\n' | sort

# Files containing suspicious functions
grep -rlE "eval\(base64_decode|gzinflate\(base64_decode|assert\(\$_(POST|GET|REQUEST)" ~/www

# Upload folders should not contain PHP files
find ~/www -path "*uploads*" -name "*.php"

Matches are not proof, since some legitimate plugins use base64_decode, but dozens of recently changed PHP files or a PHP script among your images almost always mean a compromise.

Hidden jobs and access keys

If cleaned files keep coming back, check scheduled tasks and keys. ISPmanager shows cron jobs, FTP users and databases in separate sections; in a terminal:

# Current user's cron jobs
crontab -l

# Keys authorised for SSH login
cat ~/.ssh/authorized_keys

# List WordPress administrators (WP-CLI)
wp user list --role=administrator --fields=ID,user_login,user_email,user_registered

Cron jobs that call unknown URLs with curl or wget, run files from /tmp or fire every minute are especially suspicious.

Mail and resource signs

Bounces for mail you never sent, customers reporting strange emails or your messages suddenly landing in spam suggest the account is sending spam. Constantly high CPU with unchanged traffic can mean a miner.

Example: a school website in Andijan

A private school's site on example.uz ran outdated WordPress with an abandoned slider plugin. A parent searching on a phone was sent to a casino, while the site looked fine on the administrator's desktop. The check found hidden .htaccess rules, two web shells in uploads, three unknown admins and an hourly cron job rewriting .htaccess. The cron job and admins were removed first, then the files; everything was updated, the slider plugin deleted, and only then were all passwords changed.

Recovery order

  1. Secure the main account. From a clean device, change the password of the cabinet that controls your domain and hosting and enable 2FA. On sayt.uz the hosting panel opens from the cabinet, so start there.
  2. Close access paths: unknown FTP and database users, SSH keys, cron jobs and CMS admins.
  3. Remove malicious code, ideally by restoring a clean backup, then update the CMS and plugins.
  4. Change every password, including the database password in files like wp-config.php.
  5. Monitor files, cron and the mail queue for several days.

If you cannot handle it alone, open a support ticket from the cabinet and describe what you have seen and since when.

Related articles

🈲 Japanese SEO spam hack: strange pages from your site appear in Google 🐘 Critical PHP vulnerabilities: why you should not delay updating 📚 Securing an OJS Journal Site: Updates, File Storage and Bot Load 🧪 Exposed phpinfo() and leftover test files: why they matter
🌐 Language
🇺🇿 O⁠'zbek 🇺🇿 Özbek (yangi) 🇺🇿 Ўзбек 🇷🇺 Русский 🇬🇧 English ✓