Checking Linux For Root Kits
Page 1 of 1 • Share •
Checking Linux For Root Kits
- Code:
sudo apt-get install chkrootkit
sudo chkrootkit
howtoforge.com/tutorial/how-to-scan-linux-for-malware-and-rootkits
Re: Checking Linux For Root Kits
To create a cron job like this:
0 3 * * * /usr/sbin/chkrootkit 2>&1 | mail -s "chkrootkit output of my server" you@yourdomain.com)
That would run chkrootkit every night a 3.00h. Replace the path to chkrootkit with the one that you got from which command above and exchange the email address with your real address.
0 3 * * * /usr/sbin/chkrootkit 2>&1 | mail -s "chkrootkit output of my server" you@yourdomain.com)
That would run chkrootkit every night a 3.00h. Replace the path to chkrootkit with the one that you got from which command above and exchange the email address with your real address.
- Code:
crontab -e
Re: Checking Linux For Root Kits
- Code:
sudo apt-get install chkrootkit
Note: You will not need sudo commands in Kali Linux!
- Code:
sudo chkrootkit
- Code:
cd /tmp
wget https://cisofy.com/files/lynis-2.1.1.tar.gz
tar xvfz lynis-2.1.1.tar.gz
sudo mv lynis /usr/local/
sudo ln -s /usr/local/lynis/lynis /usr/local/bin/lynis
This will install lynis to the directory /usr/local/lynis and creates a symlink for easy access. Now run
- Code:
lynis update info
to check if you use the latest version.
Now you can scan your system for rootkits by running:
lynis audit system
Privaliged Scan:
- Code:
sudo lynis audit system
- Code:
sudo chown -R root
http://jnet.forumotion.com/t1446-checking-linux-for-root-kits#2088
Re: Checking Linux For Root Kits
Locate:
- Code:
sudo updatedb
locate chkrootkit
stackexchange.com/questions/124757/how-to-update-linux-locate-cache

» Cannot Get suits to run keeps stopping at INFO - Checking reource Allocated
» Touchscreen testing
» Quilt Kit Give Away
» [SOLVED] Windows 10 TP 10041 installation Error *loop*
» Selenium RC stuck in "Checking Resource aliases"
» Touchscreen testing
» Quilt Kit Give Away
» [SOLVED] Windows 10 TP 10041 installation Error *loop*
» Selenium RC stuck in "Checking Resource aliases"
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|