Skip to content

Turtlecute33/Hardening-linux-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Linux hardening script 🔒

hardening Logo

Description

This script is designed to simplify the process of hardening your Linux system. Running this bash you'll not became magically invincible but this script will guide you to improve your system security.

Prerequisites

  • You should run this script as a superuser (root) to ensure proper permissions.

Usage

  1. Clone the repository or download the script to your Linux system.
  2. Make the script executable:
    chmod +x hardening-script.sh
  3. Execute
    ./hardening-script.sh
    

What the script does

The script will perform the following steps:

  1. Check if the script is run as root to ensure proper permissions.
  2. Check if your distro is using systemd.
  3. improve kernel, network and user space security tweaking some values inside your systemd config.
  4. Setup a basic firewall with UFW (optional).
  5. Disable CUPS & Bluetooth services (optional).

Happy hardening! 🦾

About

Script for automatically hardening your linux system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages