How do I scan my Linux system for rootkits, worms, trojans, etc.?
|
Either with chkrootkit or with rkhunter. chkrootkitEither install the package that comes with your distribution (on Debian you would run apt-get install chkrootkit ), or download the sources from www.chkrootkit.org and install manually: wget --passive-ftp ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz Afterwards, you can move the chkrootkit directory somewhere else, e.g. /usr/local/chkrootkit: cd .. Now you can run chkrootkit manually: cd /usr/local/chkrootkit (if you installed a chkrootkit package coming with your distribution, your chkrootkit might be somewhere else). You can even run chkrootkit by a cron job and get the results emailed to you: Run crontab -e to create a cron job like this: 0 3 * * * (cd /usr/local/chkrootkit-<version>; ./chkrootkit 2>&1 | mail -s "chkrootkit output my server" you@yourdomain.com) That would run chkrootkit every night a 3.00h. rkhunterDownload the latest rkhunter sources from www.rootkit.nl: wget http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz This will install rkhunter to the directory /usr/local/rkhunter. Now run rkhunter --update to download the latest chkrootkit/trojan/worm signatures (you should do this regularly). Now you can scan your system for malware by running rkhunter -c
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com
Red Hat Virtual Experience - a free virtual event. Dec. 9th







Recent comments
1 day 1 hour ago
1 day 5 hours ago
1 day 7 hours ago
1 day 16 hours ago
1 day 17 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 20 hours ago
2 days 1 min ago
2 days 5 hours ago