Re: status: hints on how to check your machine forintrusion

From: Greg KH
Date: Sat Oct 01 2011 - 00:55:05 EST

On Fri, Sep 30, 2011 at 09:15:20PM -0400, David Miller wrote:
> From: Greg KH <greg@xxxxxxxxx>
> Date: Fri, 30 Sep 2011 16:59:24 -0700
> > 1. Install the chkrootkit package from your distro repository and see if it
> > reports anything. If your distro doesn't have the chkroot package,
> > download it from:
> >
> >
> > Another tool is the ossec-rootcheck tool which can be found at:
> >
> >
> > And another one is the rkhunter program:
> >
> > [Note, this tool has the tendancy to give false-positives on some
> > Debian boxes, please read /usr/share/doc/rkhunter/README.Debian.gz if
> > you run this on a Debian machine]
> I quickly found that it gives false positives on Fedora15 too.
> It thinks one is infected with Suckit.
> It's check is essentially "strings /sbin/init | egrep HOME" which
> triggers with:
> HOME=%s
> I'm sure chkrootkit might be useful as a guide, but the seeming
> pervasiveness of it's false positives make it much less useful than it
> could be.

That's sad, but the combination of the three tools should give some
sense of what is going on if things are really valid or not, hopefully.

It was tough to write this in a way that would be applicable to the
large variety of systems we all use, so little differences like this
will happen. Hopefully people take this as a guideline of things to do
to try to ensure the safety of a system.


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at