Skip to content
Lynis - Security auditing tool for Linux, macOS, and UNIX-based systems. Assists with compliance testing (HIPAA/ISO27001/PCI DSS) and system hardening. Agentless, and installation optional.
Shell Other
  1. Shell 99.6%
  2. Other 0.4%
Branch: master
Clone or download

Latest commit

Latest commit 96659e6 May 21, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Set more conservative values Dec 26, 2019
db Update nl May 20, 2020
extras Indented spacing Sep 19, 2019
include Addedd OS detection for Oracle Linux May 15, 2020
plugins Removed restriction for using the plugin and code style improvements Mar 23, 2020
.gitignore Ignore swap files Jul 30, 2016
.travis.yml Added notifications May 12, 2016
CHANGELOG.md Merge pull request #883 from topimiettinen/check-encrypted-swap-devices Apr 12, 2020
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md Aug 17, 2017
CONTRIBUTING.md Update CONTRIBUTING.md May 16, 2020
CONTRIBUTORS.md Add myself as contributor Mar 20, 2020
FAQ Updated date/year Mar 20, 2020
HAPPY_USERS.md Update HAPPY_USERS.md May 16, 2020
INSTALL Updated date/year Mar 20, 2020
LICENSE Update of LICENSE file, which has version control texts in it Oct 6, 2014
README Fix links CONTRIBUTIONS -> CONTRIBUTING (#472) Oct 19, 2017
README.md Update README.md May 16, 2020
SECURITY.md Create SECURITY.md file Jul 11, 2019
default.prf [CRYP-7902] Optionally check also certificates provided by packages Apr 2, 2020
developer.prf Run non-interactive by default, use --wait to enforce waiting after f… Jul 12, 2019
lynis Added support to require a detected and known package manager Apr 6, 2020
lynis.8 Fix quote syntax error in manpage Mar 17, 2020

README.md

Linux Security Expert badge Build Status CII Best Practices Documentation

Do you like this software? Star the project and become a stargazer.


lynis

Lynis - Security auditing and hardening tool, for UNIX-based systems.

Lynis is a security auditing tool for systems based on UNIX like Linux, macOS, BSD, and others. It performs an in-depth security scan and runs on the system itself. The primary goal is to test security defenses and provide tips for further system hardening. It will also scan for general system information, vulnerable software packages, and possible configuration issues. Lynis was commonly used by system administrators and auditors to assess the security defenses of their systems. Besides the "blue team," nowadays penetration testers also have Lynis in their toolkit.

We believe software should be simple, updated on a regular basis, and open. You should be able to trust, understand, and have the option to change the software. Many agree with us, as the software is being used by thousands every day to protect their systems.

Goals

The main goals are:

  • Automated security auditing
  • Compliance testing (e.g. ISO27001, PCI-DSS, HIPAA)
  • Vulnerability detection

The software (also) assists with:

  • Configuration and asset management
  • Software patch management
  • System hardening
  • Penetration testing (privilege escalation)
  • Intrusion detection

Audience

Typical users of the software:

  • System administrators
  • Auditors
  • Security officers
  • Penetration testers
  • Security professionals

Installation

Git

  1. Clone or download the project files (no compilation nor installation is required) ;

     git clone https://github.com/CISOfy/lynis
    
  2. Execute:

     cd lynis; ./lynis audit system
    

If you want to run the software as root, we suggest changing the ownership of the files. Use chown -R 0:0 to recursively alter the owner and group and set it to user ID 0 (root).

Software Package

For Linux, BSD, and macOS, there is typically a package available. The Lynis project also provides packages in RPM or DEB format. The CISOfy software repository can be used to install Lynis on systems running: CentOS, Debian, Fedora, OEL, openSUSE, RHEL, Ubuntu, and others.

Some distributions may also have Lynis in their software repository: Repology If they don't provide an up-to-date version, consider the CISOfy repository, tarball (website), or GitHub release.

Enterprise Version

This software component is also part of an enterprise solution. Same quality, yet with more functionality.

Focus areas include compliance (PCI DSS, HIPAA, ISO27001, and others). The Enterprise version comes with:

  • a web interface and features a dashboard;
  • hardening snippets;
  • and an improvement plan.

Documentation

Full documentation: https://cisofy.com/documentation/lynis/.

Customization

If you want to create your own tests, have a look at the Lynis software development kit.

Security

We participate in the CII best practices badge program of the Linux Foundation.

Media and Awards

Lynis is collecting some awards and we are proud of that.

Contribute

We love contributors.

Do you have something to share? Want to help out with translating Lynis into your own language? Create an issue or pull request on GitHub, or send us an e-mail: lynis-dev@cisofy.com.

More details can be found in the Contributors Guide.

You can also simply contribute to the project by starring the project and show your appreciation that way.

Thanks!

License

GPLv3

You can’t perform that action at this time.