Thursday, January 16, 2014

Audit Your Linux Security With Lynis

Lynis is an auditing tool for Unix/Linux. It performs a security scan and determines the hardening state of the machine. Any detected security issues will be provided in the form of a suggestion or warning. Beside security related information it will also scan for general system information, installed packages and possible configuration errors.

Examples of audit tests:
- Available authentication methods
- Expired SSL certificates
- Outdated software
- User accounts without password
- Incorrect file permissions
- Configuration errors
- Firewall auditing


Installation :

CentOs/Fedora
yum install lynis

Ubuntu :
apt-get install lynis

Install from source :
Create Directory
mkdir /usr/local/lynis

cd /usr/local/lynis
wget http://cisofy.com/files/lynis-1.3.9.tar.gz
tar -xvf lynis-1.3.9.tar.gz

cd lynis-1.3.9.
./lynis

Usage :
lynis -c

This will produce similar to the following output.
Once, you execute above command it will start scanning your system and ask you to Press Enter to continue, or CTRL+C to stop every process it scans and completes.



















































 











































Thanks,
Vishal Vyas

For More : http://www.rootkit.nl/

1 comment:

Install Darkstat - a network traffic analyzer

Darkstat is a opensource network monitoring tool, It is a packet sniffer which runs as a background process and serves its statistics to a ...