Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/3tternp/harden-ubuntu


https://github.com/3tternp/harden-ubuntu

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# harden-ubuntu
Currently this script contain following hardening actions:

### 1. Updates and upgrades the system packages.

### 2. Installs and configures the Uncomplicated Firewall (ufw) with default rules to deny incoming traffic and allow outgoing traffic.

### 3. Configures secure SSH by disabling root login and password authentication.

### 4. Configures password policies to set maximum password age, minimum days between password changes, and warning days before password expiration.

### 5. Installs and configures fail2ban to protect against brute-force attacks.

### 6. Disables unused services to reduce attack surface.

### 7. Enables kernel security features to improve system security.

### 8. Installs and configures auditd for auditing system events.

### 9. File System Hardening

## Reboots the system to apply changes.