EN / DEContact

KNOWLEDGE / IT SECURITY AND EMERGENCY PREPAREDNESS

Server hardening: basics for Windows and Linux

Hardening reduces the attack surface of a server: fewer services, fewer privileges, secure settings. These basics apply to Windows Server and Linux alike.

By INZOSO Resilience · Updated · 2 min read

What hardening means

A freshly installed server often contains more than it needs: services, accounts, sample data, open ports. Hardening removes or secures everything that is not needed. Recognised templates are the CIS Benchmarks, Microsoft's security recommendations and the BSI IT-Grundschutz modules for servers.

The key measures

  • Install minimally: only the required roles and packages.
  • Keep current: patch the operating system and applications regularly.
  • Review services and ports: disable what is unnecessary, open only what is required in the firewall.
  • Accounts and rights: secure default accounts, limit administrator rights, individual accounts instead of shared ones.
  • Strong sign-in: on Linux SSH with keys and no direct root login; on Windows MFA for administrators and unique local administrator passwords, for example with Windows LAPS.
  • Disable legacy protocols: for example SMBv1 and weak encryption methods.
  • Logging: record security-relevant events and collect them centrally.
  • Encryption and backup: encrypt disks and test backups.

Windows and Linux compared

On Windows, group policies and security baselines control many settings centrally, especially in Active Directory environments. On Linux the same is done with configuration management and templates. The principle is identical: define it cleanly once, roll it out reproducibly and check regularly.

Hardening as a process

Hardening is not a one-off step. Define a reference configuration, document deviations and review at intervals. Virtualisation platforms such as Proxmox make this easier because hardened templates can be cloned and changes tested before deployment.

server hardeningsystem hardeningsecure Windows ServerLinux server securityCIS benchmark

Frequently asked questions

What does server hardening mean?

Reducing the attack surface of a server: removing unnecessary services and accounts, limiting rights, applying secure settings and keeping the system current.

Which templates exist for hardening?

The CIS Benchmarks, vendor security recommendations and the BSI IT-Grundschutz modules offer recognised guidance.

What is Windows LAPS?

Windows LAPS (Local Administrator Password Solution) assigns each device its own, regularly changing password for the local administrator account and stores it securely.

KEEP READING

Next step

Have a specific question?

Send us a short description of your situation. We will assess it and tell you openly whether and how we can help.

Request a conversation