mirror of
https://github.com/trimstray/the-practical-linux-hardening-guide.git
synced 2025-12-06 17:22:51 +01:00
1bb83fc602fc976864e6a9802f30ef7f4d628b55
The Practical Linux Hardening Guide
"Did you know all your doors were locked?" - Riddick (The Chronicles of Riddick)
Created by
trimstray and
contributors
I'm back, work in progress...
Table of Contents
- Introduction
- Hardening standards
- DevSec Hardening Framework
- Contributing
- Other hardening guides
- Pre install tasks
- Post install tasks
- Bootloader configuration (grub)
- Disk partitions
- Keep system updated
- Package management
- Netfilter ruleset
- TCP wrapper
- Users and groups
- System path permissions
- PAM module
- Limits
- Shadow passwords
- Linux kernel hardening
- Remove unused modules
- Secure shared memory
- IRQ balance
- Disable compilers
- Email notifications
- Backups
- External devices
- Tools
- Services
- Deployment
- Testing configuration
- External resources
Introduction
Hardening standards
DevSec Hardening Framework
Security + DevOps: Automatic Server Hardening.
This project covered a lot of the things in this guide, which can be automated (e.g. setting of grub password or enforcing the permissions of the common directories).
Project: DevSec Hardening Framework + GH repository: dev-sec.
Thanks for @artem-sidorenko!
Contributing
If you find something which doesn't make sense, or one of these doesn't seem right, or something seems really stupid; please make a pull request or please add valid and well-reasoned opinions about your changes or comments.
Before add pull request please see this.
Other hardening guides
| Type of list | Comment |
|---|---|
| STIGs Master List | |
| Arch Linux | |
| CentOS Linux | |
| Debian GNU/Linux | old guide - to update |
| Fedora Linux | old guide - to update |
| Red Hat Enterprise | |
| Slackware Linux | some data may not be available |
| Ubuntu Linux | some data may not be available |
Description
This guide details creating a secure Linux production system. OpenSCAP (C2S/CIS, STIG).
auditcentoschecklistcisguidehardeninglinuxlinux-hardeninglinux-securitymanualopenscappci-dssredhat-enterprise-linuxsecurity
Readme
658 KiB
