How can you have a automated script to run a chkrootkit process ?
#!/bin/sh cd /root/ wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz tar -zxvf chkrootkit.tar.gz CHKDIR=`ls -1 |grep chkrootkit-` cd $CHKDIR/ make ./chkrootkit
#!/bin/sh cd /root/ wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz tar -zxvf chkrootkit.tar.gz CHKDIR=`ls -1 |grep chkrootkit-` cd $CHKDIR/ make ./chkrootkit
Login to your server as root and at the root prompt fire the below command: root@xxx[~]vi /etc/cron.daily/chkrootkit.sh Insert the following to the new file: #!/bin/bash …
Linux chkrootkit is a tool that can help you detect if your system has been compromised by a rootkit. A rootkit is a malicious software …