awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Linux Server Hardening and Auditing

Ranking updated Jun 30, 2026

For a security auditing tool for Linux servers, the strongest matches are dev-sec/ansible-collection-hardening (This Ansible collection automates security hardening for Linux systems), dev-sec/ansible-os-hardening (This collection of Ansible roles automates Linux system hardening) and cisofy/lynis (Lynis is a modular security auditing and hardening framework). evilsocket/opensnitch and docker/docker-bench-security round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Automated security configuration tools and vulnerability scanners for auditing and securing Linux server environments.

Linux Server Hardening and Auditing

Find the best repos with AI.We'll search the best matching repositories with AI.
  • dev-sec/ansible-collection-hardeningdev-sec avatar

    dev-sec/ansible-collection-hardening

    5,225View on GitHub↗

    This is an Ansible collection that automates security hardening for Linux operating systems, databases, web servers, and SSH services. It provides a declarative, modular architecture that enforces idempotent security configurations, ensuring that each task only applies changes when the current system state deviates from the desired security baseline. The collection organizes security configurations into reusable Ansible roles, each targeting a specific system component. It includes roles for hardening OpenSSH with key-only authentication and disabled root login, securing MySQL and MariaDB ins

    This Ansible collection automates security hardening for Linux systems with modular roles for SSH, OS, databases, and web servers, and enforces idempotent baseline checks—fitting the search for automated hardening and configuration auditing, though it lacks built-in compliance scanning or reporting.

    JinjaSSH Hardening PlaybooksSSH Service HardeningLinux Security Hardening
    View on GitHub↗5,225
  • dev-sec/ansible-os-hardeningdev-sec avatar

    dev-sec/ansible-os-hardening

    5,391View on GitHub↗

    This project is a collection of automated hardening frameworks and Ansible roles designed to secure Linux systems, databases, SSH services, and web servers. It functions as a configuration framework that reduces the attack surface of Linux distributions through the automated enforcement of security policies. The collection provides specific security baselines for a variety of services, including MySQL databases, OpenSSH daemons, and web servers such as Nginx and Apache. These roles are designed to remove insecure defaults, enforce secure authentication methods, and align system configurations

    This collection of Ansible roles automates Linux system hardening by enforcing security baselines for SSH, databases, and web servers, fitting the need for automated hardening scripts—though it does not include built-in compliance scanning or auditing features like those in OpenSCAP.

    JinjaSSH Service HardeningLinux Security Hardening
    View on GitHub↗5,391
  • cisofy/lynisCISOfy avatar

    CISOfy/lynis

    15,284View on GitHub↗

    Lynis is an automated security auditing and system hardening framework designed for UNIX-based operating systems. It functions as a command-line utility that inspects local system configurations to identify security vulnerabilities, configuration weaknesses, and compliance gaps. By executing a series of modular tests, the tool generates actionable reports and remediation suggestions to assist in strengthening system defenses. The project distinguishes itself through a highly modular architecture that relies on shell-script-based execution and native system inspection. Users can define custom

    Lynis is a modular security auditing and hardening framework that performs deep system inspections for vulnerabilities and compliance gaps, generating detailed reports and remediation steps—ideal for your automation goal, though it focuses on auditing and advisory hardening rather than automatically applying fixes.

    ShellAutomated Security ScannersSecurity Auditing ToolsSecurity Testing and Auditing
    View on GitHub↗15,284
  • evilsocket/opensnitchevilsocket avatar

    evilsocket/opensnitch

    12,899View on GitHub↗

    Opensnitch is a host-based application firewall for Linux that monitors and intercepts outbound network connections in real time. By hooking into kernel-level interfaces, it tracks system-wide network activity and maps connection attempts to specific local processes, allowing users to explicitly permit or deny traffic on a per-application basis. The project distinguishes itself through its ability to manage security policies across multiple distributed nodes from a single, unified dashboard. This centralized management is secured via encrypted socket communication, enabling consistent rule en

    Opensnitch is a host-based application firewall that monitors and controls outbound network connections, but it does not provide automated hardening scripts, CIS benchmark compliance checks, or configuration baseline auditing that the visitor is looking for in a Linux security hardening tool.

    PythonFirewall ConfigurationsSecurity Audit LogsFirewall Policies
    View on GitHub↗12,899
  • docker/docker-bench-securitydocker avatar

    docker/docker-bench-security

    9,655View on GitHub↗

    This project is a security compliance tool and configuration auditor designed to evaluate Docker deployments against industry security benchmarks. It functions as a script-based scanner that identifies misconfigurations and vulnerabilities within both the host operating system and container settings. The tool specifically implements the Center for Internet Security standards for Docker to verify host and container configurations. It enables a hardening workflow by comparing system states against these standards to identify security gaps and document compliance status. The audit engine suppor

    This tool audits and checks Docker deployments against CIS Docker benchmarks, not general Linux server security — for hardening SSH, firewalls, systemd services, and the full OS configuration the visitor needs, you want a broader tool like Lynis or OpenSCAP instead.

    ShellCIS Benchmark Implementations
    View on GitHub↗9,655
  • christitustech/linutilChrisTitusTech avatar

    ChrisTitusTech/linutil

    5,133View on GitHub↗

    Linutil is a Rust-based system configuration toolbox designed to automate software installation, hardware setup, and security baseline enforcement across various Linux distributions. It functions as a high-performance utility for executing batch configuration jobs and managing system baselines through a terminal interface. The project provides a distribution-agnostic setup manager that allows users to configure hardware peripherals and install desktop environments across different Linux versions. It includes a specialized firewall configuration tool for applying standardized network traffic r

    Linutil is a multi-purpose system configuration toolbox that includes some security baseline enforcement and firewall configuration, but it is not a dedicated Linux server hardening and auditing tool and lacks the CIS compliance scanning, reporting, and modular audit rule sets you are looking for.

    ShellLinux Firewall ConfigurationsLinux Security Hardening
    View on GitHub↗5,133
  • mhsanaei/3x-uiMHSanaei avatar

    MHSanaei/3x-ui

    40,785View on GitHub↗

    This project is a comprehensive network traffic orchestrator and server infrastructure manager designed to provide centralized control over secure tunneling, routing, and security policies. It functions as a web-based dashboard that enables administrators to deploy and maintain network services, enforce access restrictions, and manage traffic flow through a private server environment. The platform distinguishes itself by integrating advanced traffic anonymization and routing capabilities, including support for relay networks and secure tunnels to bypass regional restrictions. It provides gran

    This repository is a web-based dashboard for managing secure network tunnels and proxies, not a tool for automatically hardening or auditing a Linux server’s security configuration.

    GoFirewall Configurations
    View on GitHub↗40,785
  • mzet-/linux-exploit-suggestermzet- avatar

    mzet-/linux-exploit-suggester

    6,528View on GitHub↗

    linux-exploit-suggester is a diagnostic utility and vulnerability scanner designed to identify potential kernel exploits on Linux systems. It functions as a privilege escalation auditor by matching system information and kernel versions against a database of known security flaws. The tool differentiates itself by filtering and ranking exploits based on specific system properties and runtime security configurations. It evaluates kernel hardening settings, such as memory protection mechanisms, to discard inapplicable exploits and prioritize candidates by their probability of success. The softw

    This tool identifies potential kernel exploits by scanning system properties and kernel versions, but it does not automate hardening, apply CIS benchmarks, or audit configuration baselines — it is a vulnerability scanner, not a server hardening and auditing tool as requested.

    ShellLinux Security Hardening
    View on GitHub↗6,528
  • geerlingguy/ansible-for-devopsgeerlingguy avatar

    geerlingguy/ansible-for-devops

    9,792View on GitHub↗

    This project is an infrastructure as code framework and library of reusable playbooks designed for server configuration and DevOps workflow automation. It provides a Linux server configuration suite and specialized tools for provisioning multi-node Kubernetes clusters to support containerized applications. The library enables the automation of infrastructure tasks and the orchestration of multi-server workflows. It includes specific logic for deploying containerized workloads and managing application environments across different hosting platforms. The codebase covers broad capability areas

    This is a general-purpose infrastructure-as-code framework (Ansible) that can be used for server hardening, but it is not a dedicated security-hardening and auditing tool with built-in CIS benchmarks, compliance scanning, or reporting features.

    PythonLinux Security Hardening
    View on GitHub↗9,792
  • fail2ban/fail2banfail2ban avatar

    fail2ban/fail2ban

    17,993View on GitHub↗

    Fail2ban is an intrusion prevention system that monitors system log files to detect malicious activity and automatically enforce security policies. By parsing log data in real time, the tool identifies patterns of unauthorized access or repeated authentication failures and responds by dynamically updating network access control lists to restrict offending sources. The software functions as a firewall automation tool that maintains stateful tracking of suspicious behavior across various network services. It utilizes a regex-driven pattern matching engine to identify specific attack signatures,

    Fail2ban is an intrusion prevention system that detects and blocks malicious activity in real-time, but it does not automate server hardening, CIS benchmark compliance, or configuration auditing as this search requires.

    PythonLinux Security Hardening
    View on GitHub↗17,993
  • mightymoud/sidekickMightyMoud avatar

    MightyMoud/sidekick

    7,465View on GitHub↗

    Sidekick is a command-line tool that provisions bare VPS servers, transfers Docker images, manages secrets, and orchestrates zero-downtime deployments across single or multiple server instances. It handles the full deployment pipeline from a local machine, building container images locally and transferring them directly to the server without requiring a remote container registry. The tool distinguishes itself through an integrated approach to security and automation. It encrypts environment variables locally using SOPS and Age keys, then decrypts them on the server at deploy time for runtime

    Sidekick is a deployment and orchestration tool that includes some security hardening steps (firewall config, root login disable, SSH key auth), but its main purpose is provisioning and deploying containers, not dedicated automated hardening or compliance auditing as requested.

    GoFirewall Configurations
    View on GitHub↗7,465
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
dev-sec/ansible-collection-hardening5.2KJinjaapache-2.0Feb 17, 2026
dev-sec/ansible-os-hardening5.4KJinjaApache-2.0Jun 8, 2026
cisofy/lynis15.3KShellgpl-3.0Jan 28, 2026
evilsocket/opensnitch12.9KPythongpl-3.0Feb 18, 2026
docker/docker-bench-security9.7KShellApache-2.0Jun 4, 2026
christitustech/linutil5.1KShellMITJun 24, 2026
mhsanaei/3x-ui40.8KGoGPL-3.0Jun 16, 2026
mzet-/linux-exploit-suggester6.5KShellGPL-3.0Mar 20, 2026
geerlingguy/ansible-for-devops9.8KPythonMITMay 25, 2025
fail2ban/fail2ban18KPythonNOASSERTIONJun 8, 2026

Related searches

  • a server hardening toolkit
  • a container hardening tool
  • a privilege escalation enumeration tool
  • an automated security auditing tool for AWS
  • a CIS benchmark scanner
  • a comprehensive guide for learning Linux administration
  • a forensic triage tool
  • a cloud security posture tool