awesome-security-hardening: a curated list of hardening guides, benchmarks and tools
A maintained awesome list of security hardening guides, checklists, benchmarks and tools for operating systems, services, containers and cloud platforms, kept current as a successor to older sysadmin link collections.
Drafted with AI from official documentation. Scripts were run in a test environment and repository links verified. Awaiting a human check. Did it work for you? Last edited Outdated?
decalage2/awesome-security-hardening
- Stars
- 6.6k
- Forks
- 690
- Last push
- 22 Sep 2026
On GitHub: A collection of awesome security hardening guides, tools and other resources
Open on GitHubawesome-security-hardening (about 6,600 stars on GitHub) is a curated list of resources for hardening systems, started in 2019 by Philippe Lagadec (decalage2), who also maintains the oletools suite for analysing Office documents. It is a single README of links grouped by what you are trying to protect, each with a short description, and it continues to receive updates. Commitpedia lists it here in place of trimstray/the-book-of-secret-knowledge, the famous collection of sysadmin and security tools and one-liners with about 250,000 stars, which has not been updated since late 2024; that list is still worth reading, but this one is maintained.
How it is organised
- Security hardening guides and best practices: general guides, then sections for Linux distributions, Windows, macOS, network devices, virtualisation, containers and Kubernetes, and cloud providers.
- Benchmarks and standards: the CIS Benchmarks, DISA STIGs, the ANSSI and BSI guides, NIST publications and vendor hardening documents.
- Application and service hardening: web servers, databases, mail, SSH, DNS, Active Directory and authentication.
- Tools: auditing scripts such as Lynis, configuration scanners, compliance checkers and automated remediation playbooks.
- Books, training and related awesome lists for going deeper.
How to use it
Open the section for the system you are about to deploy, read the one or two primary guides it points to (usually a CIS Benchmark or a vendor document), and then use a tool from the tools section to check how far your configuration already matches. The list does not rank entries and does not rate their quality, so check the date and maintenance status of each linked resource. Because it is one Markdown file, searching it in the browser or in a local clone is the fastest way to find a topic:
git clone --depth 1 https://github.com/decalage2/awesome-security-hardening.git
grep -i "ssh" awesome-security-hardening/README.md
Credit
awesome-security-hardening is maintained by Philippe Lagadec and the contributors listed on GitHub, who propose additions through issues and pull requests. The repository does not carry a separate licence file; treat it as a directory of links to the original sources, each under its own terms.
Did this work for you?
No votes yet. Be the first.
If it did not work, the report form below tells the editors what went wrong.
See also
- 0322 Fix: user is not in the sudoers file sudo refuses because your account is not allowed to use it. Add the user to the sudo group (Debian, Ubuntu) or wheel… Beginner · Fixes an error · Linux, macOS Article Server hardening · Users, sudo & hardening 15 Oct 2026
- 0352 Harden a fresh Linux server in 30 minutes The baseline for any new Debian, Ubuntu or RHEL-family server: updates on, a non-root user with sudo, SSH keys only, a firewall… Beginner · Step by step · Linux Article Server hardening · Users, sudo & hardening 15 Oct 2026
- 0353 fail2ban: block repeated failed logins Install fail2ban, enable the sshd jail with sane ban times, whitelist your own address, read the ban list, unban someone, and add… Intermediate · Step by step · Linux Article Server hardening · SSH 15 Oct 2026
- 0358 SSH server audit script: print risky sshd settings A read-only bash script that asks sshd for its effective configuration, compares the important settings with safe values, flags config.d files that… Intermediate · Cheat sheet · Linux Script Server hardening · SSH 15 Oct 2026
- 0431 What is a detection rule? Sigma explained for beginners A detection rule describes one kind of suspicious activity in logs. Sigma is the shared, tool-independent way to write such rules, so… Beginner · Explains an idea · Any system Article Alerting & dashboards · Security resources & detection 15 Oct 2026
- 0432 Try Sigma rules against your own logs Install the sigma-cli converter, take a rule from the public SigmaHQ library, convert it into a query for a log tool you… Intermediate · Step by step · Linux, macOS Article Logs · Security resources & detection 15 Oct 2026
History
Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.
- Dominik +2,273 chars