In this article
Launch a new website and look at the server log half an hour later. You will most likely see requests to /wp-login.php, /.env, /phpmyadmin/ — even though you haven’t given the address to anyone yet. These are not hackers interested in you personally. These are bots: they crawl the internet around the clock and test every site for known holes. To them your site is not a target, just one address out of a million.
Nobody chose you
The idea “nobody will hack me, I’m not important” assumes that a hack is the work of a person who picks a target. That happens to banks and large companies. Small websites are a different story:
- A bot learns about the site right after its SSL certificate is issued: every certificate goes into public logs, and browsers aren’t the only ones reading them.
- It detects the CMS and plugin versions — they are visible from file paths and page code.
- It checks them against a database of known vulnerabilities. If there is a match, it breaks in, also automatically.
- A human gets involved later, once there are thousands of hacked sites, and decides how to make money from them.
So the question is not whether your site is interesting, but whether it has an outdated plugin, a weak password or a forgotten test copy.
What can be taken from a small site
Quite a lot, it turns out. A hacked site is ready-made infrastructure with a good reputation that nobody minds burning:
Your server
It is used to send spam, attack other sites and mine cryptocurrency. The host sees the load and the complaints — and suspends your account.
Your domain’s reputation
Search engines trust a domain that is a few years old. Attackers place links and pages about casinos and loans on it to promote their own sites. Your search rankings drop as a result.
Your visitors
They are redirected to scam pages, shown someone else’s ads, and targeted with malware. Often only mobile visitors, so that the owner, browsing from a computer, notices nothing.
A phishing platform
A fake bank or email login page is hidden deep in the site’s folders. A link to a “real” domain raises fewer suspicions than one to a freshly registered domain.
Customer data
If there is an order database, forms or payments, phone numbers, addresses and card details are goods too. A script on the checkout page sees everything the customer types.
Simply “because they can”
Sometimes the home page is replaced with “Hacked by…” — to add to a tally of hacked sites. It is the most visible and, oddly enough, the most harmless case.
How it usually happens
| Way in | Why it works |
|---|---|
| Outdated plugin, extension or theme | The vulnerability is well known and a fix is out, but the site wasn’t updated |
| A “free” copy of a paid theme | The malicious code is already inside — the site is infected from day one |
| Weak or reused password | Bots try popular passwords and passwords leaked from other services |
| Forgotten test copy of the site | An old dev. subdomain or an /old/ folder with an outdated CMS that nobody updates |
| Outdated PHP and server | No security updates — see the article on PHP versions |
Why the owner finds out last
The attacker doesn’t want you to notice: the longer the site works for them, the more they earn. So the malicious code is hidden — spam is shown only to search engine bots, only new mobile visitors are redirected, the code is encrypted. Usually the owner learns about the problem from the host’s suspension email, from a red warning screen in Chrome, or when search traffic falls several times over.
What to do today
- Update the CMS, theme and plugins. This closes most of the paths bots use.
- Remove everything you don’t need: disabled plugins, old themes, test copies of the site and folders like /old/ and /backup/.
- Change the passwords for the admin panel, FTP and hosting to unique ones and turn on two-factor login wherever it is available.
- Check where your backups are. A copy on the same hosting can be infected or deleted after a hack.
- Watch what visitors see: homepage tampering, foreign scripts, blacklists.
That is exactly what RaketaRise website security does: the monitor compares the home page against a baseline, catches foreign scripts and checks the site against Google and Yandex blacklists, while I keep track of updates and file changes and fix what is found myself. A hack is spotted in the first minutes, not from the host’s email.
FAQ
I have a simple business-card site with no forms. Can it be hacked too?
Yes — for the server, the domain and the visitors. Having no forms makes data theft less attractive, but doesn’t protect against spam, redirects and mining.
Does a security plugin help?
Partly: it limits password guessing and finds known malicious files. But it won’t update an outdated plugin for you, and it can become a vulnerability itself if it isn’t updated.
How can I tell the site is already hacked?
Signs: strange pages in Google results for site:your-domain, customers complaining about redirects on phones, emails from the host, browser warnings. Regular automatic checks are more reliable.