We create digital solutions that work for businesses
Site owners are usually the last to learn their site has been hacked. First Google flags the resource as dangerous, then the host suspends the account for sending spam, and only then does a customer write: “there is some casino ad popping up on your site”.
The unpleasant part is that most infections could have been spotted earlier — nobody was looking. Below is a check that takes ten minutes and needs no server access, plus the order of actions if the infection has already happened.
Forget the hacker deliberately targeting you. In 95% of cases it is more mundane: bots continuously crawl the internet testing sites for known vulnerabilities. They find an outdated plugin and upload malicious code. The site is then used not against you but as a resource: for sending spam, redirecting visitors to affiliate pages or hidden mining.
The three most common doors they come through:
Open the malware scanner and paste your address. The tool analyses the homepage code for typical infection markers:
_0x4f2a — code deliberately made unreadable;window.location.It is important to understand the limits of such a check. We only see what is served externally. Malicious code can hide in server files, in the database, or be shown selectively — only to search crawlers or mobile visitors, so the owner notices nothing. A clean result therefore means “no obvious signs”, not “the site is definitely clean”.
This is what we find more often than viruses, and it gives an attacker more than any hack.
The same tool tests typical paths. The two most dangerous:
The .env file — it usually holds database passwords, payment system keys and API tokens in plain text. If it opens by direct link, nothing needs breaking: a person simply opens the URL and reads your keys.
The .git/config directory — it lets somebody reconstruct your entire source code along with its change history. And that history often contains passwords that were committed once and later deleted: gone from the working copy, still in the history.
Alongside those, the scanner checks wp-config.php.bak, backup.zip, dump.sql, phpinfo.php and directory listing. Each of these is its own story about “put it there temporarily and forgot”.
If something turns up, block it at web server level immediately rather than just renaming it: bots try name variations too.
The security headers check shows which protective mechanisms are enabled. The four that matter most:
| Header | What it protects against |
| HSTS | forces the browser to always use https, even if somebody swapped the link |
| X-Frame-Options | prevents your site being embedded in somebody else’s iframe to steal clicks |
| X-Content-Type-Options | stops the browser guessing file types and running an image as a script |
| CSP | lists where scripts may load from — the strongest defence against injected code |
The first three switch on with a few lines of server configuration and break nothing. CSP is more powerful but needs care: an overly strict rule will disable your own analytics or chat widget. Start in report-only mode, see what lands in the log, and only then enable blocking.
The most mundane outage of all: the certificate expired and browsers now show visitors a red warning page. The site is alive, but nobody will enter it.
The SSL check shows the issuer and days remaining. Set a reminder two weeks before that date — even Let’s Encrypt auto-renewal occasionally breaks after a server configuration change, and you find out from your customers.
The weakest link is almost always here. The minimum worth doing:
admin account — that is the first username bots try. Create a new administrator with a different name and delete the old one.The order matters. The most common mistake is starting with file cleanup while leaving the attacker’s access intact: a day later everything returns.
If you cannot manage it yourself, that is a perfectly normal reason to call in specialists. Cleaning an infected site without experience often ends with parts of the working functionality being deleted along with the malware.
It costs no time, and it finds the problem before Google does. The remaining checks — speed, indexability, email — live in our catalogue of 43 tools.
If the site is already behaving strangely and working it out alone is hard, get in touch and we will take a look.
Let’s create something amazing together Leave your number — we will call you back within 15 minutes during working hours.
We will call you back shortly.