Linux server security: hardening, patching and incident response
Linux servers that are harder to break into, with documented configs and a single point of contact.
Securing a Linux server isn't a product you install once - it's a set of configuration choices maintained over time. We reduce the attack surface, apply hardening according to the CIS Benchmarks and keep systems patched, without hype or scaremongering. Documented configurations, no lock-in and a single point of contact: you always know what's protected, how and why.
Overview
We work on internet-facing servers, internal machines and cloud environments with the same method: first we understand what's running and how it's configured, then we close down what isn't needed and secure the rest. An initial audit takes a snapshot of active services, versions, permissions and access; from there we build a plan with concrete priorities, not an endless list of generic recommendations.
We don't promise invulnerability, because it doesn't exist: we raise the cost of an attack, make attempts visible and prepare recovery for when something goes wrong. Encrypted, tested backups, centralised logs and written procedures are worth more than any slogan.
We're a technical consultancy, not a SOC with round-the-clock cover, and we say so plainly. We cover Monday to Friday, 09:00-18:00, with urgency triage and, for those who need it, on-call retainers for emergencies: pickup times are described on the response times page.
Typical problems we solve
- SSH exposed and targeted by brute-force attempts → key-only access, a filtered port and fail2ban banning the attempts.
- A server that's never been updated for fear of breaking something → patches scheduled in agreed windows, verified before production.
- A machine compromised by a cryptominer or webshell → isolation, log analysis, clean-up and restore from a clean backup.
- Backups nobody has ever tried to restore → encrypted off-site copies with periodic restore tests.
- Users and permissions piled up over the years → access audit, removal of orphaned accounts and the principle of least privilege.
- No firewall, or rules that are far too permissive → a minimal, documented and verifiable set of nftables rules.
- GDPR obligations on the infrastructure side discovered too late → encryption at rest and in transit, audit logs and backup retention.
What's included
- System hardening: removing unused services, correct permissions and ownership, hardened kernel and sysctl, service accounts with no shell.
- Secure SSH: key-only access, disabled root login, restricted ports and networks, MFA where it makes sense.
- Firewalling and fail2ban: minimal nftables/iptables rules and automatic banning of brute-force attempts.
- Patch management: scheduled security updates, with agreed windows and verification before production.
- Encrypted backups: encrypted copies with retention and off-site storage, genuinely tested on restore.
- Logging and alerting: centralised logs, access auditing and notifications only for the events that matter.
- Incident response: isolation, entry-point analysis, malware and backdoor removal, restore and a final report.
Stack and technologies
We work mainly on Debian and Ubuntu; on request we also manage AlmaLinux, Rocky Linux, Arch Linux and other distributions. For the perimeter we use nftables or iptables with fail2ban; for access, hardened OpenSSH with key-based authentication and, where needed, MFA. We apply the CIS Benchmark controls and confine processes with AppArmor or SELinux, depending on the distribution. On the data side: TLS in transit, LUKS at rest and secret managers for credentials. Backups run on restic or BorgBackup, encrypted and verified. We secure mail servers on Exim and Dovecot, with SPF, DKIM and DMARC in order. In the cloud we work mainly on Google Cloud, with AWS and DigitalOcean as alternatives, using the provider's network firewall and IAM. Logging and alerting build on the stack you already use: journald, rsyslog, Prometheus and Grafana.
A real-world example
An SME contacts us because the Ubuntu VPS hosting their site and back-office system has slowed down and the provider is flagging anomalous traffic. We find a cryptominer launched from a webshell, uploaded months earlier through an outdated CMS plugin. We isolate the machine, reconstruct the attack sequence from the logs and verify that the backups predating the compromise are clean. We restore onto a new instance, update the CMS and plugins, move SSH to key-only access with fail2ban, lock the firewall down to public services only, and turn on encrypted backups with restic and access alerting. The client receives a readable report with the root cause, the actions taken and a quarterly patch plan. Since then, intrusion attempts still show up in the logs - but they stay attempts.
Who it's for
- SMEs and professional firms with exposed servers and no one looking after them methodically.
- Agencies and software houses that want to hand clients infrastructure that's genuinely secured.
- E-commerce and SaaS handling personal data that must meet GDPR obligations on the infrastructure side.
- Anyone who's had an incident and wants to understand what happened, clean up and not fall into it again.
How we work
We start with a security audit of what you have: an inventory of services, a review of configurations and patches, an analysis of access and permissions. From there we define a plan with clear priorities, agree on every maintenance window and apply the hardening, testing before we touch production. Quotes are always free, with a reply within one working day; for work needed from time to time there are hour packages that never expire, and for ongoing management the server management plans, at a fixed price. We leave you standard, documented configurations, a readable report on what we changed and why, and guidance to keep the level up over time. No lock-in, no black boxes: security stays yours and verifiable, even if tomorrow you decide to manage it on your own.
Frequently asked questions
Do you offer active 24/7 security monitoring?
No, and we'd rather be upfront: we're a consultancy, not a SOC running around-the-clock shifts. We harden your servers, set up alerting and centralised logging, and respond on call within agreed timeframes. If you need continuous monitoring, we'll help you pick a partner that fits.
What do you do if a server is compromised or under attack?
We isolate the machine, collect logs to find the entry point, remove malware and backdoors, close the hole and restore from a clean backup. You get a readable report with the root cause, the actions taken and the measures to keep it from happening again.
Do you follow recognised hardening standards?
We work from the CIS Benchmarks and established best practices for Linux, SSH, firewalling and permission management. We don't issue ISO certifications and our audits are technical, not compliance audits: we check real configurations and code, deliver a report with severity and a remediation plan, and document what we changed and why.
Can you help with GDPR compliance on the server side?
Yes, on the infrastructure side: encryption of data at rest and in transit, access control, audit logs, encrypted backups and retention. We don't provide legal advice, but we put your servers in the technical shape to support your obligations.
How much does it cost to secure a server?
It depends on how deep you want to go. The baseline security check of a server closes what was left open; the in-depth audit of Laravel/PHP code and that of a server or infrastructure end with a severity report and a remediation plan. All of them are on quote, once we have seen the scope. Follow-up fixes are billed by the hour, with hour packages from €58/hour that never expire; for ongoing management there are monitoring and server management plans, starting from €49/month. Quotes are always free, with a reply within one working day.
How quickly do you respond in an emergency?
We triage requests from P1 to P4: for a P1 emergency, such as a compromised server, during office hours we pick it up within one hour; out of hours within one hour with an on-call plan, otherwise within 24 hours if we already work together. Standard coverage is Monday to Friday, 09:00-18:00; out of hours the on-call rules apply.
Do you also work at night or on weekends?
Yes, for emergencies. The on-call plan extends your office hours on the days you choose: we pick up a P1 within one hour at any hour and a P2 within 4 hours during the day, and the work costs the same as in office hours. Without a plan our hours are Mon-Fri 09:00-18:00: out of hours we still pick up a P1 within 24 hours, weekends and public holidays included, at the out-of-hours rate, if we already work together; everything else is best effort. Night or holiday work planned at least 20 days ahead remains available to everyone. Plans, rates and examples are on the On-call page.
Need a hand with your infrastructure?
Tell us the problem: we reply within one working day with a clear plan and a quote.