~/
ScriptGenii
Ubuntu v1.6.0 Live
Designed for Ubuntu 24.04 & 26.04 LTS (AMD64 & ARM64)

Secure Your Ubuntu Servers in 60 Seconds

Stop leaving your Ubuntu cloud instances exposed to automated botnets, credential stuffing, and kernel exploits.

Whether you are spinning up a fresh Ubuntu LTS droplet on DigitalOcean/AWS or deploying to ARM-based cloud nodes, configuring enterprise-grade security manually takes hoursβ€”and one wrong line in sshd_config can lock you out permanently. The Ubuntu Hardening Suite is a bulletproof, production-tested automation utility engineered for system administrators, DevOps engineers, and self-hosters who demand elite security without the configuration headache.

Includes compiled AMD64 + ARM64 binaries and documentation

root@ubuntu-server:~# sudo ./harden-ubuntu.sh apply --ssh-port 2222

Enter your Gumroad License Key: [********]

[OK] Gumroad license verified successfully. Proceeding with hardening.

ScriptGenii | Ubuntu Hardening Suite v1.6.0

Execution roadmap: 12 phases | Mode: Automatic / Non-interactive

[>] Phase 1/12: Configuration snapshot secured

[+] Snapshot saved to /var/backups/ubuntu-hardening/

[>] Phase 4/12: Smart admin account candidate selection

[+] Verified existing sudo account and SSH keys

[>] Phase 8/12: Automatic rollback safety timer armed (15 mins)

[OK] OpenSSH hardened on port 2222

[OK] UFW firewall active (SSH rate limit on 2222)

[OK] Fail2ban jails enabled (sshd, recidive)

[OK] Server successfully hardened! Rollback timer disarmed.

πŸ›‘οΈ What Gets Secured Automatically

Enterprise security profiles compiled into a single automated script.

Smart Admin Discovery

Automatically inspects existing sudo accounts and SSH keys so you never get locked out during setup, with automated key replication and validation.

OpenSSH Lockdown & Port 2222

Migrates OpenSSH away from default port 22, completely disables root password logins, strips X11 forwarding vulnerabilities, and configures strict key-only authentication.

UFW Firewall Engineering

Default-deny incoming policy with selective port allowances and SSH rate limiting (ufw limit) to block brute-force attempts.

Systemd-Backed Fail2ban

Actively monitors your custom SSH port via the systemd journal with automated IP whitelisting to instantly ban malicious actors.

Kernel Sysctls & AppArmor

Optimizes kernel parameters (/etc/sysctl.d/99-security.conf) against IP spoofing and SYN floods while enforcing strict AppArmor profiles.

15-Min Automatic Rollback Safety

Armed with an automatic systemd fallback timer that reverts network configurations and SSH rules if connectivity drops.

πŸ”’ Integrated License Key Security

This release includes built-in automated license verification. When executed on your server, the script prompts for your valid Gumroad License Key and securely pings Gumroad's API (https://api.gumroad.com/v2/licenses/verify) to ensure authorized usage before any system modifications occur.

πŸ“¦ What’s Included in Your Download

  • β€’
    harden-ubuntu-amd64 β€” Standalone compiled binary for Intel/AMD x86_64 Ubuntu servers.
  • β€’
    harden-ubuntu-arm64 β€” Standalone compiled binary for ARM64 cloud servers and nodes.
  • β€’
    README.md & LICENSE.txt β€” Comprehensive documentation and license terms.
  • β€’
    SHA256SUMS β€” Cryptographic checksums for verification.

πŸ’° Choose Your License Tier

Includes automated Gumroad API license verification and compiled binaries for both architectures.

Standard License

For personal servers, home labs, and indie developers.

$19+
  • βœ“ Single-user license
  • βœ“ Compiled AMD64 + ARM64 binaries
  • βœ“ Built-in license verification
Popular

Pro / Team License

Everything in Standard, plus multi-server environments and client deployment rights.

$49+
  • βœ“ Everything in Standard, plus
  • βœ“ Multi-server environments
  • βœ“ Client deployment rights

Want updates on new hardening scripts?

Join our developer waitlist for early access to upcoming security modules.