Baseline and harden these machines

Linux servers

We turn off root login over SSH, limit sudo to named people and the commands they need, move SSH to keys behind multi-factor sign-in, set the firewall to deny by default, copy logs off each server and test a restore. Score your servers below to see which of those you already have.

Get my score

About two minutes. No email to see the result.

Step 2 of 5 Size

Fresh start, or adding protection to employee machines?

It sets the price. A machine nobody uses yet has nothing to work around, so it costs less to lock down. Got both kinds? Pick already in use.

New machines, set up from scratch Nothing is in daily use yet, so we build the baseline in before anyone logs in.
Machines already in use People are working on them today, so we find what is there first and harden around the work.
← Back

No email until step 5.

What we change

  • SSH, root and sudo access
  • Firewall rules, inbound and outbound
  • Automatic security updates
  • Running services and who owns them
  • Log shipping and file integrity
  • Backups and restore tests

Tools we use

The kit behind the fixes, written up for whoever has to run it.

Tool

AIDE File Integrity Checker

AIDE (Advanced Intrusion Detection Environment) takes a fingerprint of the files and directories you care about, then tells you exactly what changed s...

Read the write-up →
Tool

Lynis Security Auditor

Lynis is a free, open-source security auditor from CISOfy for Linux, macOS and other Unix systems. Nothing to install: extract the archive, run lynis...

Read the write-up →
Guide

SSH MFA Guide: A Second Factor on Every Server Login

An SSH key copied off a laptop works from anywhere, for anyone, until you notice. This guide adds a second factor to every server login, either a hard...

Read the write-up →
For the admin who asks: CIS and STIG references

The questions map to these benchmark topics. Section numbers move between releases, so we check them against the current benchmark at each audit instead of quoting them here.

  • CIS Distribution Independent Linux Benchmark: SSH Server Configuration
  • CIS Distribution Independent Linux Benchmark: Privilege Escalation
  • CIS Critical Security Controls: Network Monitoring and Defense
  • CIS Critical Security Controls: Data Protection
  • CIS Distribution Independent Linux Benchmark: Services
  • CIS Critical Security Controls: Continuous Vulnerability Management
  • CIS Distribution Independent Linux Benchmark: Host Based Firewall
  • CIS Distribution Independent Linux Benchmark: Logging and Auditing
  • CIS Critical Security Controls: Data Recovery
Home › Baseline Features ›