Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Rootkit?
Date: Thu, 06 Oct 2011 15:11:21
Message-Id: CA+czFiBBiCkgMZRTZrUpDZAYru8U9RHGUPZ7jCSjJ-RUMYeoPg@mail.gmail.com
In Reply to: [gentoo-user] Rootkit? by Nilesh Govindarajan
1 On Thu, Oct 6, 2011 at 11:01 AM, Nilesh Govindarajan
2 <contact@××××××××.com> wrote:
3 > One of the servers I manage has a strange problem.
4 >
5 > Every 24h, someone starts a process shows up as perl in the list, but
6 > launching command is /usr/sbin/httpd.
7 > It shows just one process, but when I run something like this:
8 >
9 > ps -C perl -o cmd,pid
10 >
11 > I get some 5-6 processes alternatively with cmd as /usr/sbin/httpd or
12 > /usr/bin/perl.
13 >
14 > The even more interesting thing is, /usr/sbin/httpd does not exist.
15 > I suspect a rootkit, but chkrootkit & rkhunter reported nothing.
16 >
17 > Also, I found a mysterious file: /tmp/ips.txt with following content:
18 > xxx.xxx.xxx.xxx
19 > 127.0.0.1
20 > addr:xxx.xxx.xxx.xxx
21 > addr:
22 > addr:127.0.0.1
23 > addr:
24 >
25 > Somebody is aware of a malware/rootkit which creates such files?
26
27 No direct experience with Linux rootkits, but you might have better
28 luck if you run a statically-linked copy of busybox that can talk to
29 the kernel, rather than going through a potentially malicious libc.
30
31 Is this a server running Gentoo or some other distro?
32
33
34 --
35 :wq

Replies

Subject Author
Re: [gentoo-user] Rootkit? Michael Mol <mikemol@×××××.com>