Security Auditing On Linux
Security Auditing On Linux
In this video I will show you 5 Linux auditing tools.
- Lynis- Lynis scans for malware and vulnerability scanning tool. Install on debian/Ubuntu: cd /opt/ wget https://downloads.cisofy.com/lynis/lynis-3.0.0.tar.gz tar xvzf lynis-2.6.6.tar.gz mv lynis /usr/local/ ln -s /usr/local/lyni
sudo lynis audit system or lynis audit system
- chkrootkit-n Checks for signs of a rootkit installation on Debian/Ubuntu: sudo apt install chkrootkit
On Fedora/Centos: yum update yum install wget gcc-c++ glibc-static wget -c ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz tar –xzf chkrootkit.tar.gz mkdir /usr/local/chkrootkit mv chkrootkit-0.52/* /usr/local/chkrootkit cd /usr/local/chkrootkit make sense Usage: sudo chkrootkit
- rkhunter- Scans for rootkits,backdoors and local exploits Installation: Debian/Ubuntu: sudo apt install rkhunter
CentOS/Fedora Install: yum install epel-release yum install rkhunter
Usage: sudo rkhunter -c
- clamav- Scans for viruses,malware,Trojans and other malicious software Installation On Debian/Ubuntu: sudo apt-get install clamav CentOS/Fedora: yum -y update yum -y install clamav
Usgae: Update database signatures by typing freshclam usage: freshclam -r(recursively) -i(infected files only)
- LMD-Can be intergrated with clam av for better performance. Installation : wget http://www.rfxn.com/downloads/maldetect-current.tar.gz tar -xvf maldetect-current.tar.gz ls -l | grep maldetect cd maldetect-1.6.4/ ls ./install.sh The configuration of LMD is handled through /usr/local/maldetect/conf.maldet and all options are well commented to make configuration a rather easy task. In case you get stuck, you can also refer to /maldetect-1.6.4/README for further instructions.
Installing clamav on CentOS/Fedora: yum install epel-release yum update && yum install clamd apt update && apt-get install clamav clamav-daemon [Ubuntu/Debian] maldet --scan-all DIRECTORY
Follow me on Mastodon: https://mastodon.social/invite/fBCJLuEk Follow me on discord: https://discord.gg/SRxeyNw Email me: cyberguylinux@tutanota.com ... https://www.youtube.com/watch?v=iI1uKdGMyjc
22055520 Bytes