Skip to main content

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
ToolPricing
Compliance-trestle

Python CLI and SDK for creating, validating, and governing NIST OSCAL compliance artifacts inside Git repositories as versioned code.

Open Source
OpenSCAP

NIST-validated SCAP scanner for checking system configurations, vulnerability policies, and compliance baselines on Linux.

Open Source
OPENVAS

Vulnerability scanner that tests network hosts against a daily-updated feed of vulnerability tests.

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.