From: brian@worldcontrol.com
To: linux-kernel@vger.kernel.org
Subject: Is this a compromise and how?
Date: Thu, 14 Dec 2000 00:53:46 -0800 [thread overview]
Message-ID: <20001214005345.A3732@top.worldcontrol.com> (raw)
Sorry is this is too far off topic, but it seems to me the
kernel may be helping in this break in or maybe some magic
aspect of the filesystem.
I noted in an ls that
-rwxr-xr-x 1 root root 36784 Jul 17 05:06 rpc.mountd*
-rwxr-xr-x 1 root root 3368 Jul 17 05:06 rpc.nfsd*
-rwxr-xr-x 1 root ftp 22 Sep 8 22:15 rpc.rcmd*
-rwxr-xr-x 1 root root 9872 Jul 17 05:06 rpc.rquotad*
-rwxr-xr-x 1 root root 13936 Feb 9 2000 rpc.rstatd*
-rwxr-xr-x 1 root root 7952 Feb 9 2000 rpc.rusersd*
-rwxr-xr-x 1 root root 6512 Feb 11 2000 rpc.rwalld*
-rwxr-xr-x 1 root root 17624 Mar 7 2000 rpc.yppasswdd*
-rwxr-xr-x 1 root root 23984 Mar 7 2000 rpc.ypxfrd*
-rwxr-xr-x 1 root root 10692 Sep 5 16:03 rpcinfo*
rpc.rcmd look a little suspicious?
And guess what it contains?
%cat /usr/sbin/rpc.rcmd
/usr/include/strlib.h
Hmmmm.
%ls -l /usr/include/strlib.h
-rwxr-xr-x 1 root root 16768 Sep 16 09:55 /usr/include/strlib.h*
%file /usr/include/strlib.h
/usr/include/strlib.h: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
%/usr/include/strlib.h
bind: Address already in use
Now watch this magic trick:
%mkdir foo
%cd foo
%touch strlib.h
%ls
%find . -print
.
./strlib.h
%
Get it? strlib.h never appears in the file system via ls whereever
it may be created.
More fun:
%echo hello >strlib.h
%ls
%cat strlib.h
hello
%
Pretty cool huh?
Let me know if you would like a copy of the code.
A quick strace shows that it binds to port 24000.
It also contains a list of 5 IP addrs. I suspect it doesn't
broadcast, but allows people in from those IPs.
Anyone know what has happened? I religiously install the redhat
updates, and am subscribed to the CERT advistors and install
the fixes the moment I get them.
The system was RedHat 6.2, linux 2.2.17pre14 at the time the
breakin occured.
I've been running firewalled with only services I provide turned
on for access, and in /etc/inetd.conf.
What is keeping strlib.h from appearing ls's? A hacked ls command?
--
Brian Litzinger <brian@worldcontrol.com>
Copyright (c) 2000 By Brian Litzinger, All Rights Reserved
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2000-12-14 9:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-14 8:53 brian [this message]
2000-12-14 8:58 ` Is this a compromise and how? Matthew Dharm
2000-12-14 20:22 ` Frank van Maarseveen
2000-12-14 22:40 ` Alan Cox
2000-12-15 23:44 ` brian
2000-12-14 14:49 ` Igmar Palsenberg
2000-12-14 20:06 ` Dr. Kelsey Hudson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20001214005345.A3732@top.worldcontrol.com \
--to=brian@worldcontrol.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.