MinakiLabs

Inaabi

Hardening an Ubuntu 22.04 server

Hardening a server means two separate things, and it helps to keep them apart. One is configuration — turning settings to their safer values, usually measured by a STIG scan. The other is removal — taking away software the server never uses, so there is less to attack and less to patch.

This page is an overview of hardening Ubuntu 22.04 LTS (x86_64). It reflects how MinakiLabs approaches the problem with Inaabi Tune, whose focus is removal. Every number here is a lab result, not a paid deployment.

Step 1: know what you actually run

Before changing anything, record what the server uses. A fresh Ubuntu install ships with far more than most workloads touch. On a test web server, the stock install carried hundreds of installed packages (lab measurement on Ubuntu 22.04 servers). Hardening configuration does not, by itself, shrink that number — only removal does.

Start with a free Inaabi Scan to get a picture of a specific server before you touch it.

Step 2: reduce attack surface

Removing unused packages shrinks three things at once: packages to maintain, known CVEs carried on those packages, and SUID (privileged) binaries. That is Inaabi Tune’s main job. Before-and-after figures are coming: we publish them once we have a logged run of the current release on a supported Ubuntu 22.04 server. See removing unused packages and CVE reduction.

Step 3: hardening and the STIG scan

Configuration posture is scored by OpenSCAP against an open ComplianceAsCode profile. Tune does not run a full STIG hardening script — a dedicated STIG script scores higher on the scan than Tune does. Tune’s win is the removal, not the STIG number. That distinction is the whole point of the STIG-and-cut approach.

The STIG scan uses an open ComplianceAsCode profile, not a formal certification.

Step 4: prove it before you keep it

The step most hardening skips: evidence. Inaabi Tune runs your acceptance tests against a frozen candidate and refuses to deliver if any setting came out weaker or a test fails. See proving changes before keeping them.

An honest note on boot safety

We do not claim boot safety.

Where the work happens

Tune runs from our side, against your copy. Give us a staging copy: we work only on the address you give us and can’t check that it is a copy.

Next

Run the free Inaabi Scan, read the FAQ, then subscribe to Inaabi Tune at $20 per server per month — see pricing.