Skip to main content
Support
0
Contact us
Nederlands
Deutsch
Español
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareers
Cloud Compute

With Cloud Compute, you have access anytime and anywhere to a portal through which you can configure your entire IT environment from wherever you are in the world.

Cloud Storage

Reliable access to your files, infrastructure, and applications at all times – with no interruptions or delays. At Worldstream, we offer a variety of storage solutions.

Flexible cloud icon
Flexible cloud
Private cloud icon
Private cloud
Bare metal icon
Bare Metal Compute
Hollow cube icon
Object storage
Hollow cube icon
File storage
Block storage icon
Block storage
Backup storage icon
Backup storage
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

All Servers

Choose your Dedicated Server now. Custom or Instant Delivery. Powerhouse servers built for your use case.

Use Cases

Whatever your use case, we’re here to help you find the ideal solution.

Deal servers icon
Deals
AMD servers icon
AMD Processors
AI servers icon
Intel Processors
Hollow cube icon
Virtualisation, Containerisation and Orchestration
Hollow cube icon
Websites and Applications
Hollow cube icon
Gaming and Streaming Infrastructure

24/7/365 support with an average response time of just 7 minutes. Thanks to our own data centers, our engineers can go directly to your server for fast, hands-on assistance. Email or call us anytime.

Smart outsourcing

Some IT creates added value, while other types are supportive. Use that as a starting point for outsourcing.

Cost Efficiency

Complete IT packages may seem like the safe option, but when you consider the costs, other choices often make more sense.

IT flexibility & control

Outsourcing doesn’t mean losing control; it actually provides more flexibility and control.

Cloud repatriation

The cloud is not a final destination: You should continuously evaluate and adjust your cloud environment as needs evolve.

Financial services
Logistics & Transportation
Retail & E-commerce
Media & Entertainment
Tech & Software Development
Security
Managed Service Providers
Need support?

With experienced engineers and an average response time track record on 7 minutes, you can expect a solid technical support solution in next to no time.

Chat with usContact us
About WorldstreamAbout the technologyCasesKnowledge base
About usMeet the teamJobsBecome a resellerCertificationsOur data centersOur networkDDoS ProtectionAMD EPYC serversTechnology PartnersOperating SystemsAll casesEasyTerraDutch Drone CompanyPerfGridArticlesFAQNews and BlogsProducts and Services
Contact us

Call +31 (0) 174 – 712 117

Industriestraat 53, Naaldwijk

Nederlands
Deutsch
Español
0
Dedicated serversFlexible VPSCloud TechnologyColocationChallenges in ITSectorsCareersAbout WorldstreamAbout the technologyCasesKnowledge baseMy Worldstream
Contact
Support
NederlandsDeutschEspañol
  1. HomeHome
  2. Knowledge Base
  3. Security
  4. What to do if your server has been compromised

What to do if your server has been compromised

Applies to Dedicated Servers, Flexible VPS, Bare Metal ComputeAudience Server administratorsLast reviewed September 2026

Quick answer

Isolate the server first, before you investigate or reboot. Preserve what evidence you can, work out how the attacker got in, then rebuild from a known-clean image rather than trying to manually clean a system you can no longer fully trust. Rotate every credential the server had access to, not just the one you suspect was used, then harden before bringing it back online.

On this page
  • Step 1: isolate first
  • Step 2: preserve evidence where practical
  • Step 3: identify the entry point
  • Step 4: contain and eradicate
  • Step 5: rotate every credential
  • Step 6: review and harden before going back live
  • Prevention and a working backup are what make this manageable

Finding out a server has been compromised is stressful, but the response itself is a fairly standard sequence. Working through it calmly and in order matters more than moving fast in the wrong direction.

Step 1: isolate first

1

Cut off network access before you do anything else

The first priority is stopping further damage, whether that's ongoing data exfiltration, the server being used to attack other systems, or the attacker simply noticing you're onto them and covering their tracks. Cut the server off from the network before you start digging into what happened.

How you do that depends on what you're running. On any server you still have access to, block all inbound and outbound traffic at the operating system firewall, and stop the services the attacker is using. On a Flexible VPS you can add an emergency deny rule in Firewall in Portal, which takes effect in front of the machine rather than on it. On a dedicated or bare-metal server, out-of-band management on the Remote Access tab keeps you on the console after you've closed off the network. If you can't reach the server at all, open a support ticket and describe what you're seeing.

Resist the urge to just reboot the server at this point. A reboot can clear the very things you need to see, running processes, open network connections, in-memory evidence, that tell you how the attacker got in.

Step 2: preserve evidence where practical

1

Copy off what will otherwise disappear

Logs rotate and get overwritten, so copy relevant log files off the server before that happens. If you still have access to a live shell before deciding to isolate fully, take note of running processes and current network connections, they're often the clearest signal of what's actually happening on a compromised box, and they're gone the moment the system restarts.

Step 3: identify the entry point

1

Work out how the attacker got in

Check authentication logs for the initial point of access, an unexpected login, a brute-forced or reused credential, an exploited service. Look for anything added after the fact: new user accounts you didn't create, unexpected cron jobs, entries appended to authorized_keys that you don't recognise, and processes running that have no obvious reason to exist. Knowing how the attacker got in matters as much as cleaning up after them, without it you risk walking straight back into the same hole once the server is back online.

Step 4: contain and eradicate

1

Rebuild rather than clean in place

Once an attacker has had access, you can no longer fully trust anything on that system, including tools you'd normally use to inspect it. The safest path is almost always reinstalling from a known-clean image, or restoring from a backup taken before the compromise, rather than trying to manually hunt down and remove every trace of the intrusion. Manual cleanup on a system you can't fully trust risks missing something, a backdoor, a modified binary, that lets the attacker straight back in.

Step 5: rotate every credential

1

Assume everything the server touched is exposed

Rotate SSH keys, passwords, and API keys, everything that could plausibly have been read or copied while the attacker had access, not just the specific credential you think was actually used. If the server held credentials for other systems, database passwords, third-party API keys, those need rotating too. Treat "might have been exposed" as "was exposed" here, it's a far safer assumption than the alternative.

Step 6: review and harden before going back live

1

Close the door you now know was open

Before bringing the rebuilt server back into production, patch whatever let the attacker in, re-check your firewall rules, and make sure monitoring is actually watching this time. This is also a reasonable point to work through the standard hardening steps if you haven't already, see Hardening a fresh VPS and How to improve your SSH security, plus keeping a regular patching cadence going forward, see Patch management: building an update strategy for your server.

Prevention and a working backup are what make this manageable

None of the above is comfortable to do under pressure, and how manageable it feels usually comes down to work done beforehand: a hardened baseline configuration, current backups taken before anything went wrong, and monitoring that would have flagged unusual activity earlier. See Backups and snapshots: what's the difference if you're not sure your current backup setup would actually give you a clean restore point to work from. If you're not sure what help is available while you're working through this, opening a support ticket is a reasonable step, see Creating a support ticket and choosing a priority.

Related articles

  • Hardening a fresh VPS: SSH keys, firewall and Fail2ban
  • How to improve your SSH security
  • Patch management: building an update strategy for your server
  • Backups and snapshots: what's the difference
Was this article helpful?

Solid IT. No Surprises

Sparring partner for IT maturity
Eliminating barriers so you can run
Predictable and transparant costs

Contact

  • Industriestraat 53, Naaldwijk
  • Payment Methods
  • Abuse
  • Developers Resources
  • Network Operations Center
  • About us
  • Meet the team
  • Jobs
  • Become a reseller
  • Certifications
  • Our data centers
  • Our network
  • DDoS Protection
  • AMD EPYC servers
  • Technology Partners
  • Operating Systems
  • Overview
  • FAQ
  • Cases
  • News & Blogs
  • Use Cases
Nederlands
Deutsch
Español
Nederlands
Deutsch
Español
  • Legal
  • Disclosure