Tous les articles

security

How to Tell If Your Server Has Been Hacked

A plain-English guide to spotting hacked-server warning signs, checking safely, and getting back to a setup you can trust.

  • security
  • troubleshooting
  • servers
A magnifying glass over server logs highlights suspicious signs, with an arrow leading to a trusted shield check.

You know something feels wrong: the site is slow, the bills look odd, or files changed and nobody admits touching them.

Short version: You can tell your server has been hacked by looking for clusters of warning signs: unknown logins, strange users, unfamiliar processes, changed website files, unexpected outgoing traffic, spam reports, or new scheduled tasks. One sign can have an innocent cause, but several signs together should be treated as a possible compromise. If that happens, isolate the server, preserve what you can, rotate passwords and keys from a clean device, and restore from a backup you trust.

What are the clearest signs your server has been hacked?

A hacked server rarely puts up a sign saying so. It is more like finding muddy footprints in your hallway: not proof of who came in, but proof that something needs attention.

The most common clues are:

  • Unknown logins. You see access from countries, addresses, or times that do not fit your normal use.
  • New users you did not create. A user account is like a spare key. If you do not know who made it, treat it seriously.
  • Unexpected processes. A process is a running program. If your server is busy running something you do not recognize, it may be mining crypto, sending spam, or probing other machines.
  • Changed website files. A page suddenly contains strange scripts, redirects, gambling links, or pharmaceutical spam.
  • New scheduled tasks. Cron is the server’s alarm clock for recurring jobs. Attackers often use it to restart their malware after you remove it.
  • Outgoing traffic spikes. If the server is sending far more data than usual, it may be emailing spam, attacking others, or leaking files.
  • Provider abuse notices or blocklists. If your hosting provider, email service, or browser warning says your server is suspicious, listen.

The literal question, “how to tell if server is hacked,” has an unsatisfying answer: you look for patterns, not one magic symptom.

Why can a hacked server look slow before it looks broken?

Many people first notice a hack as a performance problem. The website drags. Admin pages time out. The server fan, metaphorically, sounds like it is always on.

That happens because attackers often want your resources more than your content. Your server has CPU, memory, disk space, and network access. To an attacker, that is a rented van with the keys left inside.

A hidden crypto miner can burn CPU. A spam script can flood the network. A bot can scan the internet from your server, making it look busy even when your own site is quiet.

Slowness does not always mean hacking. It can also be a normal traffic spike, a memory leak, a full disk, or an undersized server. If you are not sure, compare the security signs above with the resource checks in Why is my website not loading? and Why is my server slow?. The difference is important: a traffic problem needs tuning, but a compromise needs containment.

How do you check safely without destroying clues?

Start by staying calm. Do not immediately delete random files. That is like cleaning the kitchen before checking where the smoke came from.

First, limit the damage. If you can, take the server out of public traffic or restrict access while you investigate. The goal is to stop more harm without erasing the story of what happened.

Then check the plain facts:

  • Who logged in recently?
  • Are there users or access keys you do not recognize?
  • What programs are running right now?
  • Are there scheduled tasks you did not set up?
  • Did website files change around the time trouble started?
  • Is the server sending unusual amounts of traffic out?
  • Are security updates badly behind?

If several answers look wrong, assume the server has been compromised. Change passwords and access keys from a clean computer, not from the possibly hacked server. If you keep secrets there, such as database passwords, API keys, or private application settings, rotate those too.

The safest recovery is usually not to “clean” the existing server by hand. You may miss a back door. A better path is to rebuild from a known-good point and restore clean data. That is why backups matter before there is an emergency; see How to back up your server — and actually be able to restore it.

After recovery, close the doors that made the break-in easier: weak passwords, exposed admin panels, outdated apps, and missing firewall rules. A firewall is not a force field, but it is a locked front gate. If you need the plain-English version, read How to set up a firewall on your server.

FAQ

Can one strange login mean my server has been hacked? Not always, but it is serious. Check whether the login succeeded, which account it used, and whether anything changed afterward.

Does changing the password fix a hacked server? Only if the attacker never got deeper access. If they added users, keys, scheduled tasks, or malware, a password change is not enough.

Should I wipe the server immediately? Not as your first move. Isolate it, save the information you need, then rebuild from a trusted backup or clean setup.

Can a firewall prevent every hack? No. A firewall reduces exposed doors, but weak apps, stolen passwords, and outdated software can still cause trouble.

The shortcut

Server Manager helps by keeping your setup readable instead of turning it into a mystery box. When you know which projects, domains, certificates, and services belong on the server, it is easier to spot what does not belong: an exposed service you forgot about, an old app still reachable, or one project accidentally sharing risk with another.

It also helps months later, when memory is the weakest part of the system. The real benefit is not drama; it is having a server that still makes sense when something looks off. That clarity can spare you from chasing false alarms caused by a wrong certificate, a stale domain, or a forgotten deployment that looks suspicious only because nobody remembers it.

You still need good passwords, updates, backups, and sensible access. Server Manager’s role is to keep the everyday shape of the server legible, so unusual changes stand out sooner.

How do you get back to a server you trust?

Trust comes from knowing what belongs there, having a clean way back, and reducing the number of open doors.

If you find signs that your server has been hacked, do not treat it as a personal failure. Treat it as a smoke alarm. Isolate, check, rebuild from something clean, rotate secrets, and make the next setup easier to understand.

The win is simple: fewer mysteries, faster decisions, and a server you can look at without wondering who else has the keys.