Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/3tternp/harden-ubuntu
https://github.com/3tternp/harden-ubuntu
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/3tternp/harden-ubuntu
- Owner: 3tternp
- Created: 2024-08-27T15:31:14.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-05T09:01:09.000Z (2 months ago)
- Last Synced: 2024-09-06T11:54:45.439Z (2 months ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.