The lynis tool for Kali Linux allows you to scan your computer system for security vulnerabilities. Execute this command as root and this will allow you to find out if you have any problems with your installation.
root@kali:/home/homer# lynis --check-all [ Lynis 1.4.1 ] ################################################################################ Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under the terms of the GNU General Public License. See the LICENSE file for details about using this software. Copyright 2007-2014 - Michael Boelen, http://cisofy.com Enterprise support and plugins available via CISOfy - http://cisofy.com ################################################################################ [+] Initializing program ------------------------------------ - Detecting OS... [ DONE ] - Clearing log file (/var/log/lynis.log)... [ DONE ] --------------------------------------------------- Program version: 1.4.1 Operating system: Linux Operating system name: Debian Operating system version: Kali Linux 1.0.7 Kernel version: 3.12-kali1-amd64 Hardware platform: x86_64 Hostname: kali Auditor: [Unknown] Profile: /etc/lynis/default.prf Log file: /var/log/lynis.log Report file: /var/log/lynis-report.dat Report version: 1.0 Plugin directory: /etc/lynis/plugins --------------------------------------------------- [ Press [ENTER] to continue, or [CTRL]+C to stop ] |
Execute the lynis --check-all
command to scan for problems. Just keep pressing ENTER until the scan is over; the results are saved in the /var/log/lynis.log file. Read through this to get a picture of the security of your Linux system.
Type sudo apt-get install lynis
to install this on Linux Mint 17 or Ubuntu 14.10. This will help if you are setting up a secure Ubuntu server machine and you need an auditing tool to check your configuration.