Lynis
Lynis is an open-source security auditing tool for Unix-based systems. It has a free edition under the GPL-3.0-only license, and its maintainer also sells a paid edition or commercial license. It runs on Linux, macOS, and BSD.
Updated
- Pricing
- Free / Commercial
- License
- GPL-3.0-only
- Platforms
- Linux, macOS, BSD
- Category
- GRC and Compliance Software
What Is Lynis?
Lynis is an open-source security auditing tool for Unix-based systems. It performs local security scans to evaluate system hardening, identify configuration weaknesses, and verify compliance with security baselines.
Use Cases
Auditing Linux and Unix system hardening and verifying compliance with security baselines.
Strengths and Limitations
Strengths
- +No agent, compilation, or installation required; runs directly from the downloaded project files on the target system.
- +Checks covering kernel, users, authentication, file permissions, and services.
- +Produces detailed hardening index scores and compliance reports.
Limitations
- -Local-only scanning; does not perform remote network vulnerability checks.
- -Enterprise features (centralized management, reporting dashboard) require a paid Lynis Enterprise license.
Defensive Use
Verifying system hardening baselines and identifying configuration weaknesses before production deployment.
Lynis Alternatives
3 tools| Tool | License | Platforms | Pricing |
|---|---|---|---|
| Compliance-trestle Python CLI and SDK for creating, validating, and governing NIST OSCAL compliance artifacts inside Git repositories as versioned code. | Apache-2.0 | Linux, macOS, Windows | Open Source |
| OpenSCAP NIST-validated SCAP scanner for checking system configurations, vulnerability policies, and compliance baselines on Linux. | LGPL-2.1-or-later | Linux | Open Source |
| OPENVAS Vulnerability scanner that tests network hosts against a daily-updated feed of vulnerability tests. | GPL-2.0-only (C scanner); GPL-2.0-or-later WITH x11vnc-openssl-exception (Rust) | Linux | Free / Commercial |
Frequently Asked Questions
What is Lynis?→
Lynis is an open-source security auditing tool for Unix-based systems. It performs local security scans to evaluate system hardening, identify configuration weaknesses, and verify compliance with security baselines.
What is Lynis used for?→
Auditing Linux and Unix system hardening and verifying compliance with security baselines.
What are the strengths of Lynis?→
- +No agent, compilation, or installation required; runs directly from the downloaded project files on the target system.
- +Checks covering kernel, users, authentication, file permissions, and services.
- +Produces detailed hardening index scores and compliance reports.
What are the limitations of Lynis?→
- +Local-only scanning; does not perform remote network vulnerability checks.
- +Enterprise features (centralized management, reporting dashboard) require a paid Lynis Enterprise license.
How is Lynis used defensively?→
Verifying system hardening baselines and identifying configuration weaknesses before production deployment.