Build a checklist-style Ubuntu hardening script aligned with a curated set of STIG controls. Pick a profile,
adjust individual items, then generate a shell script you can review, adapt, and run on test systems first.
This assistant focuses on a practical subset of Ubuntu 24.04 LTS STIG items for small environments. It does not
implement the full STIG and it does not guarantee compliance. The output is a structured script template with
human-readable hints, designed to help you review, prioritize, and document Ubuntu hardening work.
Step 1 ยท Choose your Ubuntu controls
Select the protections you want in your baseline script.
Profiles blend severity and compatibility. Relaxed focuses on foundational controls that rarely conflict
with common workloads. Strict adds opinionated hardening such as FIPS, tighter SSH crypto, and kernel
protections. Custom lets you hand-pick every item.
Profiles
The generated script is a checklist-style shell script. Each selected
control becomes a clearly commented block with a short hint, for example
apt-get remove --purge telnet. You can extend or replace these hints with your own commands
before running anything in production.