A script-based tool to automate and enforce security hardening on Ubuntu systems using systemd.
Hardening Ubuntu. Systemd edition.
This tool is designed for system administrators and security professionals who want to automate the process of hardening Ubuntu servers or desktops to enhance endpoint security. It simplifies applying best-practice configurations and mitigations to reduce the attack surface and improve system resilience.
Ensure to run the script with root privileges to allow changes to system configurations. Review the script and backup system configurations before applying, as hardening changes may affect system behavior or services.
Clone the repository: git clone https://github.com/konstruktoid/hardening.git
Navigate into the directory: cd hardening
Run the hardening script with appropriate privileges (e.g., sudo ./hardening.sh)
./hardening.sh
Executes the main hardening script to apply security configurations on the Ubuntu system.
./hardening.sh --help
Displays help and usage information for the hardening script.