Lynis is a powerful open source auditing tool for Unix/Linux like operating systems. It scans the system for security information, general system information, installed software information, configuration mistakes, security issues, user accounts without password, wrong file permissions, firewall auditing, etc.
Lynis is also one of the most trusted automated auditing tools for software patch management, malware scanning and vulnerability detecting in Unix/Linux based systems. This tool is useful for auditors, network and system administrators, security specialists and penetration testers.
Installing Lynis in Ubuntu
This application doesn’t require any installation, it can be used directly from any directory. So, it’s a good idea to create a custom directory for Lynis:
sudo mkdir /usr/local/lynis
Download the stable version of Lynis from the website and unpack it:
cd /usr/local/lynis
sudo wget https://cisofy.com/files/lynis-2.4.0.tar.gz