Lynis is an open source security auditing tool. Used by system administrators, security professionals, and auditors, to evaluate the security defenses of their Linux and UNIX-based systems. It runs on the host itself, so it performs more extensive security scans than vulnerability scanners. It is also the client in our Lynis Enterprise offering.
Supported operating systems
Lynis runs on almost all UNIX-based systems and versions, including:
- and others
It even runs on systems like the Raspberry Pi or QNAP storage devices.
Lynis is light-weight and easy to use. Installation is optional: just copy it to a system, and use “./lynis audit system” to start the security scan. It is written in shell script and released as open source software (GPL). Software packages are available from our software repository.
How it works
performs hundreds of individual tests. Each helps to determine the security state of the system. This is what happens during a scan with Lynis:
- Determine the operating system
- Search for available tools and utilities
- Check for Lynis update
- Run tests with enabled plugins
- Run security tests per category
- Report the status of security scan
Besides the data displayed on the screen, all technical details about the scan are stored in a log file. Any findings (warnings, suggestions, data collection) are stored in a report file.
Lynis 2.7.1 (2019-01-30)
- Support for macOS Mojave
- Translation: Slovak
- AUTH-9282 – Improve support for Red Hat and clones
- FIRE-4534 – Additional support for Hands Off!, LuLu, and Radio Silence
- LOGG-2190 – Added MariaDB filter for deleted files (tested on CentOS)
- SHLL-6230 – Add /etc/bash.bashrc.local to umask check
- Removed shift statement that did not work on all operating systems
- Minor cleanups and enhancements
- Small improvements to logging