nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Run the chkrootkit program to check signs of a rootkit

This is a discussion on Run the chkrootkit program to check signs of a rootkit within the Getting started tutorials forums, part of the Linux Getting Started category; Run the chkrootkit program to check signs of a rootkit chkrootkit is a utility or tool to locally check for ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Getting started tutorials

Linux answers from nixCraft.


Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17-04-2006, 04:19 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
OS: Suse, RHEL, Vista
Posts: 199
Thanks: 12
Thanked 9 Times in 9 Posts
Rep Power: 7
sweta has a spectacular aura about sweta has a spectacular aura about
Default Run the chkrootkit program to check signs of a rootkit

Run the chkrootkit program to check signs of a rootkit chkrootkit is a utility or tool to locally check for signs of a rootkit on a Linux server.

Step # 1: Download latest version from www.chkrootkit.org
Use wget command to download chkrootkit program
Code:
wget http://freshmeat.net/redir/chkrootkit/20715/url_tgz/chkrootkit.tar.gz
Step # 2: Untar and build chkrootkit
Code:
tar xvzf chkrootkit.tar.gz
cd chkrootkit*
make
Step # 3: Run chkrootkit command to check signs of a rootkit
Code:
./chkrootkit
Hope this helps newbie like me out there.
__________________
Reply With Quote
  #2 (permalink)  
Old 12-12-2006, 02:40 PM
B!n@ry's Avatar
Senior Member
User
 
Join Date: Dec 2006
Location: B!n@ry-z0ne
OS: Ojuba 3
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Unfortunetly it shall only search for pre-known signitures, any new RootKit will not be detectid ... But its good to try anyway.
Reply With Quote
  #3 (permalink)  
Old 18-12-2006, 11:26 PM
sweta's Avatar
Contributors
User
 
Join Date: Feb 2005
Location: New Delhi
OS: Suse, RHEL, Vista
Posts: 199
Thanks: 12
Thanked 9 Times in 9 Posts
Rep Power: 7
sweta has a spectacular aura about sweta has a spectacular aura about
Default

U can download and use updated database. Also don't forget

http://www.rootkit.nl/
Logcheck and tripwire
__________________
Reply With Quote
  #4 (permalink)  
Old 19-12-2006, 01:40 AM
B!n@ry's Avatar
Senior Member
User
 
Join Date: Dec 2006
Location: B!n@ry-z0ne
OS: Ojuba 3
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Quote:
Originally Posted by sweta
U can download and use updated database. Also don't forget

http://www.rootkit.nl/
Logcheck and tripwire
OK, but private rootkits shall never be discovered with this, thats what I ment
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
  #5 (permalink)  
Old 19-12-2006, 02:46 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Chk out good info @ http://linuxhelp.blogspot.com/2006/1...otkits-in.html

I prefer not to give shell access to production mail/web server. I also prefer to lock down kernel using SELinux and running all services inside a jail.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #6 (permalink)  
Old 19-12-2006, 03:00 AM
B!n@ry's Avatar
Senior Member
User
 
Join Date: Dec 2006
Location: B!n@ry-z0ne
OS: Ojuba 3
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Also nixCraft use a grSecurity Kernel + if a web server the mod_sec for appache
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
  #7 (permalink)  
Old 19-12-2006, 03:07 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Oh yes grsecurity is very good patch. SELinux has its own problem and complicities.

Also don't forget good patch from Linux Intrusion Detection System (lids) kernel level patch.

In case someone else is reading this post,

Grsecurity is here http://www.grsecurity.net/ lids is here http://www.lids.org/ and SELinux is now included in RHEL/CentOS and other disros or download @ http://www.nsa.gov/selinux/

mod_sec does wonders for Apache
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #8 (permalink)  
Old 19-12-2006, 03:15 AM
B!n@ry's Avatar
Senior Member
User
 
Join Date: Dec 2006
Location: B!n@ry-z0ne
OS: Ojuba 3
Posts: 129
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
B!n@ry
Send a message via MSN to B!n@ry
Default

Quote:
Oh yes grsecurity is very good patch. SELinux has its own problem and complicities.
Yep I use it on my system I have a script some where which downloads and compiles the whole stuff for you, I shall search my HD and see where it is to share it with you.

Code:
Also don't forget good patch from Linux Intrusion Detection System (lids) kernel level patch.
Really nixCraft this is new to me can you tell us abt it a little more ?

Quote:
mod_sec does wonders for Apache
Yep I keep all the russian shells such as shell99 and c99 out of my Servers by mod_sec and of course regex.
__________________
LivE Free 0r DiE
L!nux rul3z aLL
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
How to compile a c program in freeBSD jkmb All about FreeBSD/OpenBSD/NetBSD 4 24-03-2008 08:01 PM
How to compile a c program in freeBSD jkmb All about FreeBSD/OpenBSD/NetBSD 0 21-01-2008 01:33 PM
is any one good in c program ? oronno Shell scripting 0 19-09-2007 01:04 PM
start program schaapmansz Getting started tutorials 1 26-06-2007 09:49 PM
How to pass shell variable to awk program Shell scripting 4 23-06-2006 05:11 AM


All times are GMT +5.5. The time now is 11:17 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38