Skip to content

A collection of scripts designed to secure/harden Linux based distributions

License

Notifications You must be signed in to change notification settings

StrangeRanger/linux-security-scripts

Repository files navigation

Linux Security Scripts

Project Tracker Style Guide Codacy Badge

This repository is a collection of scripts designed to secure/harden Linux based Distributions.

Getting Started

Downloading

All you need to do is download this repository to your local machine:

git clone https://github.com/StrangeRanger/linux-security-scripts

Usage

Note

Some of the scripts in this repository require root privileges to run. You can run the scripts with the sudo command to give them the necessary permissions.

You can run the scripts in this repository by using the following command:

./[script name] OR bash [script name]

Tested On

All of the scripts should work on most, if not all Linux Distributions. With that said, below is a list of Linux Distributions that the scripts have been officially tested and are confirmed to work on.

Distributions Distro Versions
Ubuntu 24.04, 22.04, 20.04
Debian 11, 10, 9

Other Resources

While this repository has scripts that can help secure Linux, it's not nearly enough to secure the system as much as it needs to be. Below is a list of other resources that you can/should use to help make your system as secure as possible.

  • SSH Audit - SSH server & client auditing (banner, key exchange, encryption, mac, compression, compatibility, security, etc).

About

A collection of scripts designed to secure/harden Linux based distributions

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages